summaryrefslogtreecommitdiff
path: root/plugins/aws/aws.plugin.zsh
AgeCommit message (Collapse)Author
2022-02-28fix(aws): allow empty prefix and suffix in prompt function (#10744)Marc Cornellà
Fixes #10744
2022-01-19feat(aws): accept aws mfa tokencode on `acp` cli call (#10130)Mike Mattice
Co-authored-by: Mike Mattice <mmattice@reliant.io>
2022-01-03fix(aws): quote % in `aws_prompt_info`Marc Cornellà
2021-11-27feat(aws): Adds the login option for AWS SSO (#9921)Nicholas Hawkes
2021-07-13fix(aws): allow for profile switch w/o MFA configured (#9924)Sergei Shvetsov
2020-11-19feat(aws): respect optional parameters from the AWS CLI config file (#9453)Roman Danyk
2020-11-10fix(aws): fix acp function for MFA without role and other fixes (#9426)Marc Cornellà
* fix(aws): don't duplicate aws_prompt_info function in RPROMPT * refactor(aws): clean up logic in acp function and fix session duration input Fixes #9409
2020-11-04fix(aws): support MFA for profiles without role to assume (#9411)Maksym
Previously, the plugin only supported MFA for profiles that had a role to assume, specified in role_arn. Now, the plugin supports MFA for profiles without a role to assume. Closes #9408 * refactor(aws plugin): remove dependency on jq Previously, acp command relied on jq. Now that dependency has been removed, as well as some linter suggestions implemented.
2020-10-29aws: split setting profile from changing profile (#9402)Maksym
the change to assume a role when it is specified in configuration broke some workflows. This fix addresses that Fixes #9394
2020-10-29aws: get and set session token if available (#9397)Setu Shah
2020-10-24aws: add role delegation and MFA support as per IAM Best Practices (#8419)Maksym
* Added role delegation support and MFA support as per IAM Best Practices * fix: grep with color enabled breaks profile parsing * fix: compatible with MacOS basic sed * docs: Added jq as a dependency * feat: added variable session duration, if the role to be assumed permits it. * bug: incorrect assigment for session length * fix: profile extraction failed with some versions of sed Fixed the issue that resulted from merging upstream changes to allow "." in the profile name * fix: broken profile parsing when profile name contains "@"
2020-10-05Revert "Remove redundant bashcompinit calls"Marc Cornellà
This reverts commit f776af2a1f5d5ced17bdeb00f7adb64ccfaa99a6. Fixes #9314
2020-09-30Remove redundant bashcompinit callsMarc Cornellà
Fixes #9246
2020-07-18aws: improve check for aws_completer - unhardcode path (#9123)Amir Tahvildaran
Closes #9122 The current check is assuming that the aws_completer is installed globally, it then runs the command without that path I have aws_completer in ~/.local/bin/aws_completer This changes the check to see if the command exists instead of concerning itself with where it in installed. This test matches the behavior of just running the command.
2020-07-09aws: allow @ in AWS profiles (#9099)Lutz Horn
Fixes #9060 by matching a `@` in the AWS profile name.
2020-04-26aws: fix aws_change_access_key function with awscli v2 (#8816)tom139
2020-03-09aws: fix awscli completion path on NixOS (#8707)B YI
2020-03-05aws: add support for AWS CLI v2 autocompletion (#8670)Marc Cornellà
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-01-30aws: fix array assignment in asp functionMarc Cornellà
Older zsh versions require this syntax change. Fixes #8525
2019-05-28aws: use function keyword in function definitionsMarc Cornellà
Fixes #7886
2019-05-26aws: check availability of aws profiles (#7839)programmer04
2019-05-25aws: check for existence of config file in aws_profilesMarc Cornellà
Fixes #7872
2019-05-10aws: really unset AWS*PROFILE variables in asp function (#7838)Mohamed El Mouctar Haidara
2019-04-29aws: fix path resolution of aws completion for Ubuntu (#7812)dorons
2019-04-09Fix redundant export of RPROMPT in aws pluginprogrammer04
2019-03-24aws: clean up aws_change_access_key functionMarc Cornellà
2019-03-24aws: added an alias for changing the AWS access key set on a profileCristian Măgherușan-Stanciu
2019-03-24aws: set AWS_EB_PROFILE for the EB CLI (#7388)Logan Lindquist
Added AWS_EB_PROFILE environment variable to the AWS Plugin. The EB CLI uses this variable instead of the primary AWS_PROFILE variable to keep track of what profile it is using. https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-configuration.html
2019-03-24aws: refactor AWS plugin (#7615)David Kane
* Update the AWS plugin to support disabling RPROMT display: Use a $SHOW_AWS_PROMPT option. * Refactoring aws plugin: Exposing customizable aws_prompt_info function to be used in themes. * Set aws prompt prefix and suffix to original values and fix README Co-authored-by: "Vassilis S. Moustakas" <vsmoustakas@gmail.com>
2019-03-23aws: refactor completion sourcing logic (#7364)Marc Cornellà
* Clean up Homebrew detection and add comments. Also changed some if flags. * Detect aws cli completion file from RPM
2018-12-31aws_porfiles regex is catching more lines than profiles, thus breaking ↵Anton Stamenov
completion (#7469)
2018-10-28aws: use AWS_CONFIG_FILE to complete profilesJorge Vargas
Stop exporting AWS_HOME and use the standard AWS_CONFIG_FILE environment variable, with a fallback to ~/.aws/config (default location) if not defined. Close #7356
2018-10-28aws: change AWS_DEFAULT_PROFILE to AWS_PROFILEVargas, Jorge L
The environment variable name used to be AWS_DEFAULT_PROFILE but the CLI documentation now only mentions AWS_PROFILE. https://docs.aws.amazon.com/cli/latest/userguide/cli-environment.html It seems like the CLI was the only tool using AWS_DEFAULT_PROFILE, and all the AWS SDKs used AWS_PROFILE, so they standardized on it. https://onetechnical.wordpress.com/2016/10/07/the-curious-case-of-aws_default_profile/ Note: still left AWS_DEFAULT_PROFILE on the method to set the profile to maintain backwards compatibility. Close #7354
2018-05-16allow . in profile namesFrank Wittig
2018-05-10Update AWS completion (#6745)Hosh
2017-11-07speed up chruby plugin by eliminating(as much as possible) calls to brew (#6080)T0mK0
* speed up chruby plugin by eliminating(as much as possible) calls to brew * speed up aws plugin by eliminating(as much as possible) calls to brew
2015-09-04Fix aws plugin RPROMPT pollutionAlexey V Zapparov
2015-06-14Merge pull request #3975 from wernerb/patch-1Robby Russell
Set AWS_PROFILE and use existing RPROMPT
2015-06-10Fix homebrew directory in aws plugin.Andrew Purcell
Sometimes the output of ``homebrew --prefix`` and ``homebrew --prefix awscli`` don't match, and the second is the correct call.
2015-06-09Set AWS_PROFILE and use existing RPROMPTWerner Buck
2014-12-16Fix aws.plugins.zsh check ruleSuperbil
Check _aws_zsh_completer_path had exist or not
2014-09-03Changed brew cmd to properly report if awscli is installed via homebrewMatt Walker
2014-08-30Amended to source the original aws_zsh_completer.sh rather thanDouglas S.D. Hall
the mangled version installed into $(brew-prefix)/bin if using homebrew installed awscli on OSX. This was discussed here - https://github.com/Homebrew/homebrew/issues/30268
2013-10-09Added a completion plugin for the new aws-cli toolCristian Măgherușan-Stanciu
It also supports quickly switching AWS profiles defined in ~/.aws/config using the asp alias