HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
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*.