HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/awscli/examples/greengrass/update-group-certificate-configuration.rst
**To update the expiry of a group's certificate authority (CA)**

The following ``update-group-certificate-configuration`` example sets a 10-day expiry for the CA of the specified group. ::

    aws greengrass update-group-certificate-configuration \
        --group-id "8eaadd72-ce4b-4f15-892a-0cc4f3a343f1" \
        --certificate-expiry-in-milliseconds 864000000

Output::

    {
        "CertificateExpiryInMilliseconds": 864000000,
        "CertificateAuthorityExpiryInMilliseconds": 2524607999000,
        "GroupId": "8eaadd72-ce4b-4f15-892a-0cc4f3a343f1"
    }

For more information, see `AWS IoT Greengrass Security <https://docs.aws.amazon.com/greengrass/latest/developerguide/gg-sec.html>`__ in the *AWS IoT Greengrass Developer Guide*.