Hi Im looking for a way to refresh token for an As...
# github-actions
w
Hi Im looking for a way to refresh token for an Assumed role in GHA. We are running batch jobs using github actions and assumed roles and some of the batch jobs are long running up to 36 hours. Assumed roles have a default duration of 1 hour Undwer the assumed role workflow has two jobs with multiple steps. - Submit Job with aws cli batch job command - Check Job status - config aws creds - check job status loops until job succeeds or fails After an hour times out with
An error occurred (ExpiredTokenException) when calling the DescribeJobs operation: The security token included in the request is expired"
Any help would be appreciated
o
have you tried OIDC?
p
OIDC tokens have expiry too
g
@Max Lobur (Cloud Posse)