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

2.8k Views Asked by At

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

There are 1 best solutions below

1
Chris On BEST ANSWER

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.