summaryrefslogtreecommitdiff
path: root/plugins/aws
AgeCommit message (Collapse)Author
2023-05-12fix(aws): use the correct variable to assert region is defined (#11691)ZYX
2023-05-06fix(aws): correct access key disable command (#11671)Mark Keisler
2023-04-27fix(aws): set properly set divider to spaceIdan Fishman
Closes #11649 Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-04-19feat(aws): allow more customisation in prompt function (#11619)Roeniss Moon
2023-04-18feat(aws)!: improve `aws_change_access_key` (#11378)Mark Keisler
BREAKING CHANGE: This commit removes compatibility for `aws` cli v1. Now only v2 is supported.
2023-03-28fix(aws): restore accidentally deleted variableCarlo Sala
Closes #11589
2023-03-21fix(aws): do not print region if it's not definedCarlo Sala
Closes #11568 Closes #11570
2023-03-21feat(aws): set region when AWS_REGION is not setYu Xiang Zhang
2023-03-07feat(aws): add AWS_REGION to aws_prompt_info (#10062)potato
2023-01-13feat(aws): load profiles from credentials file (#11196)Noam Cohen
Fixes #8472
2022-07-12fix(aws): allow non-space characters in profile names (#11040)Hans Donner
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-11docs(aws): add config examples (#9422)Rob Vadai
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-04-09Reword and fix formattingMarc Cornellà
2019-04-08Fix showing aws prompt for theme fishy (append RPROMPT instead of overwrite)programmer04
2019-03-24aws: document aws_change_access_key and fix READMEMarc Cornellà
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-10-28aws: add README (#7357)Jorge Luis Vargas Aguilar
2018-05-16allow . in profile namesFrank Wittig