mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
feat(aws): add a fallback for expiration key (#4455)
* feat(aws): add a fallback for `expiration` * fix(aws): intermittent test failures - extend the time range from `-2s,0s` to `-5s,+2s` * fix: `docs/config/README.md` readability Co-authored-by: David Knaack <davidkna@users.noreply.github.com> Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
This commit is contained in:
@@ -328,6 +328,9 @@ When using [AWSume](https://awsu.me) the profile
|
||||
is read from the `AWSUME_PROFILE` env var and the credentials expiration
|
||||
date is read from the `AWSUME_EXPIRATION` env var.
|
||||
|
||||
When using [saml2aws](https://github.com/Versent/saml2aws) the expiration information obtained from `~/.aws/credentials`
|
||||
falls back to the `x_security_token_expires` key.
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Default | Description |
|
||||
|
||||
Reference in New Issue
Block a user