-
Notifications
You must be signed in to change notification settings - Fork 363
Closed
Labels
P1Some scenario broken but workaround existsSome scenario broken but workaround existsbugSomething isn't workingSomething isn't workingexternaloidcproduct enhancementNew feature or requestNew feature or request
Description
👋 Hi! I’m using the azure/login action for CD and I’m often getting an error when the job execution takes more than a couple of minutes from the initial login.
ERROR: AADSTS700024: Client assertion is not within its valid time range. Current time: 2021-11-26T09:44:41.0193003Z, expiry time of assertion 2021-11-26T09:31:56.0000000Z.
Is there a way to extend the validity of the token via a parameter? The aws-actions/configure-aws-credentials action does it via a role-duration-seconds flag:
The default session duration is 6 hours when using an IAM User to assume an IAM Role [..] . If you would like to adjust this you can pass a duration to role-duration-seconds, but the duration cannot exceed the maximum that was defined when the IAM Role was created.
ref: https://github.com/aws-actions/configure-aws-credentials/blob/master/README.md#assuming-a-role
Thank you! 🙇
zarenner, matt-FFFFFF, cwe1ss, tg90nor, dbaileyut and 4 more
Metadata
Metadata
Assignees
Labels
P1Some scenario broken but workaround existsSome scenario broken but workaround existsbugSomething isn't workingSomething isn't workingexternaloidcproduct enhancementNew feature or requestNew feature or request