CmdID / aws / aws greengrass
aws greengrass update-group-certificate-configuration
Updates the Certificate expiry time for a group. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To update the expiry of a group's certificates
The following update-group-certificate-configuration example sets a 10-day expiry for the certificates generated for the specified group.
aws greengrass update-group-certificate-configuration --group-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" --certificate-expiry-in-milliseconds 864000000Identify--group-idThe ID of the Greengrass group.--certificate-expiry-in-millisecondsThe amount of time remaining before the certificate expires, in milliseconds.Its output
{
"CertificateExpiryInMilliseconds": "864000000",
"CertificateAuthorityExpiryInMilliseconds": "2524607999000",
"GroupId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
}For more information, see Overview of AWS IoT Greengrass security in the AWS IoT Greengrass Developer Guide.
Options
--certificate-expiry-in-millisecondsThe amount of time remaining before the certificate expires, in milliseconds.--group-idThe ID of the Greengrass group.