Is there anyway I can modify expiration time of get-login-password token?

Viewed 1015

I am able to get token to access aws ecr using get-login-password. Default authorization token is valid for 12 hours. Is there anyway I can modify default value?

1 Answers

According to the latest AWS CLI Documentation

The authorization token is valid for 12 hours.

And does not mention any way to change this. It would be safe to assume that there is no way to change the expiration time as of now.

Related