lifetime property Null safety

String? lifetime
read / write

The desired lifetime duration of the access token in seconds.

By default, the maximum allowed value is 1 hour. To set a lifetime of up to 12 hours, you can add the service account as an allowed value in an Organization Policy that enforces the constraints/iam.allowServiceAccountCredentialLifetimeExtension constraint. See detailed instructions at If a value is not specified, the token's lifetime will be set to a default value of 1 hour.


core.String? lifetime;