CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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

2 in the AWS CLI reference
--certificate-expiry-in-millisecondsThe amount of time remaining before the certificate expires, in milliseconds.
--group-idThe ID of the Greengrass group.