diff options
author | Maksym <maksyms@users.noreply.github.com> | 2020-10-29 21:13:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 22:13:36 +0100 |
commit | 852a44094a3bb4df39f8f778bc7ada2ddda09727 (patch) | |
tree | 89c37c3832477f0c72debb79283c160e91b728cc /plugins/aws/README.md | |
parent | 39c79493feb71da4ba3b69eb82229804b27209cc (diff) | |
download | zsh-852a44094a3bb4df39f8f778bc7ada2ddda09727.tar.gz zsh-852a44094a3bb4df39f8f778bc7ada2ddda09727.tar.bz2 zsh-852a44094a3bb4df39f8f778bc7ada2ddda09727.zip |
aws: split setting profile from changing profile (#9402)
the change to assume a role when it is specified in configuration broke some workflows. This fix addresses that
Fixes #9394
Diffstat (limited to 'plugins/aws/README.md')
-rw-r--r-- | plugins/aws/README.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/aws/README.md b/plugins/aws/README.md index 4ceb71425..851f586dd 100644 --- a/plugins/aws/README.md +++ b/plugins/aws/README.md @@ -15,6 +15,13 @@ plugins=(... aws) It also sets `$AWS_EB_PROFILE` to `<profile>` for the Elastic Beanstalk CLI. Run `asp` without arguments to clear the profile. +* `acp [<profile>]`: in addition to `asp` functionality, it actually changes the profile by + assuming the role specified in the `<profile>` configuration. It supports MFA and sets + `$AWS_ACCESS_KEY_ID`, `$AWS_SECRET_ACCESS_KEY` and `$AWS_SESSION_TOKEN`, if obtained. It + requires the roles to be configured as per the + [official guide](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-role.html). + Run `acp` without arguments to clear the profile. + * `agp`: gets the current value of `$AWS_PROFILE`. * `aws_change_access_key`: changes the AWS access key of a profile. |