How to rerun credential process before the temporary credentials expire.

0

If we add credential process (aws_signing_helper command) in the aws config file, how to regenerate temporary credentials before they expire?

1개 답변
0

Hi, AFAIK, if you place aws_signing_helper command in aws config file as described on https://docs.aws.amazon.com/rolesanywhere/latest/userguide/credential-helper.html in section "Example Use temporary security credentials with AWS SDKs and the AWS CLI", the aws CLI will take care for you of credentials renewal when needed (timestamp "Expiration" close to be reached.

It is described in https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sourcing-external.html

The Expiration key is an ISO8601 formatted timestamp. If the Expiration key is not present 
in the tool's output, the CLI assumes that the credentials are long-term credentials that do 
not refresh. Otherwise the credentials are considered temporary credentials and are 
refreshed automatically by rerunning the credential_process command before they expire.
profile pictureAWS
전문가
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠