vladislav doster
1d09c6bb0a
style: remove trailing whitespace ( #12303 )
2 years ago
0rxa
05bf69c604
feat(aws): implement permanent state ( #12018 )
...
Co-authored-by: Rei Arifi <reiarifi@Reis-MacBook-Pro.local>
Co-authored-by: Hysen Ndregjoni <hndregjoni@hotmail.com>
2 years ago
Gauthier Delacroix
e195c7cb43
fix(aws): pass default region to fetch regions ( #12175 )
...
Co-authored-by: Gauthier Delacroix <no@email.com>
2 years ago
B. Hamonangan
3e92d251ba
feat(aws): add support for sso sessions login ( #12090 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2 years ago
Basti
94a0481f18
feat(aws): add sso logout capabilities ( #12113 )
2 years ago
ZYX
f01eea76da
fix(aws): use the correct variable to assert region is defined ( #11691 )
3 years ago
Mark Keisler
017e288560
fix(aws): correct access key disable command ( #11671 )
3 years ago
Idan Fishman
343c78ae91
fix(aws): set properly set divider to space
...
Closes #11649
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
3 years ago
Roeniss Moon
9139d30ca3
feat(aws): allow more customisation in prompt function ( #11619 )
3 years ago
Mark Keisler
673b9fc331
feat(aws)!: improve `aws_change_access_key` ( #11378 )
...
BREAKING CHANGE: This commit removes compatibility for `aws` cli v1. Now only v2 is supported.
3 years ago
Carlo Sala
fcbdc330ff
fix(aws): restore accidentally deleted variable
...
Closes #11589
3 years ago
Carlo Sala
f9f01e48a8
fix(aws): do not print region if it's not defined
...
Closes #11568
Closes #11570
3 years ago
Yu Xiang Zhang
4a39779067
feat(aws): set region when AWS_REGION is not set
3 years ago
potato
46fd7972a2
feat(aws): add AWS_REGION to aws_prompt_info ( #10062 )
3 years ago
Noam Cohen
eb2147c715
feat(aws): load profiles from credentials file ( #11196 )
...
Fixes #8472
3 years ago
Hans Donner
0726c1099f
fix(aws): allow non-space characters in profile names ( #11040 )
4 years ago
Marc Cornellà
511ed65408
fix(aws): allow empty prefix and suffix in prompt function ( #10744 )
...
Fixes #10744
4 years ago
Mike Mattice
fe9d87d6dc
feat(aws): accept aws mfa tokencode on `acp` cli call ( #10130 )
...
Co-authored-by: Mike Mattice <mmattice@reliant.io>
4 years ago
Marc Cornellà
1c53ef0583
fix(aws): quote % in `aws_prompt_info`
4 years ago
Nicholas Hawkes
bf303965e6
feat(aws): Adds the login option for AWS SSO ( #9921 )
4 years ago
Sergei Shvetsov
23f9348e2c
fix(aws): allow for profile switch w/o MFA configured ( #9924 )
5 years ago
Roman Danyk
ce836647e5
feat(aws): respect optional parameters from the AWS CLI config file ( #9453 )
5 years ago
Marc Cornellà
dc4692b53e
fix(aws): fix acp function for MFA without role and other fixes ( #9426 )
...
* 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
5 years ago
Maksym
3e6ee85a16
fix(aws): support MFA for profiles without role to assume ( #9411 )
...
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.
5 years ago
Maksym
852a44094a
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
5 years ago
Setu Shah
77f7457051
aws: get and set session token if available ( #9397 )
5 years ago
Maksym
fcb6fa78a1
aws: add role delegation and MFA support as per IAM Best Practices ( #8419 )
...
* 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 "@"
5 years ago
Marc Cornellà
6ebf27b8d3
Revert "Remove redundant bashcompinit calls"
...
This reverts commit f776af2a1f .
Fixes #9314
6 years ago
Marc Cornellà
f776af2a1f
Remove redundant bashcompinit calls
...
Fixes #9246
6 years ago
Amir Tahvildaran
db3d05fe71
aws: improve check for aws_completer - unhardcode path ( #9123 )
...
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.
6 years ago
Lutz Horn
d79941b789
aws: allow @ in AWS profiles ( #9099 )
...
Fixes #9060 by matching a `@` in the AWS profile name.
6 years ago
tom139
c686aa3dbb
aws: fix aws_change_access_key function with awscli v2 ( #8816 )
6 years ago
B YI
4c73584025
aws: fix awscli completion path on NixOS ( #8707 )
6 years ago
Marc Cornellà
1ef3d57739
aws: add support for AWS CLI v2 autocompletion ( #8670 )
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Marc Cornellà
dcffc89580
aws: fix array assignment in asp function
...
Older zsh versions require this syntax change.
Fixes #8525
6 years ago
Marc Cornellà
9930dd6e49
aws: use function keyword in function definitions
...
Fixes #7886
7 years ago
programmer04
1343ab67ed
aws: check availability of aws profiles ( #7839 )
7 years ago
Marc Cornellà
9598a855fa
aws: check for existence of config file in aws_profiles
...
Fixes #7872
7 years ago
Mohamed El Mouctar Haidara
4585c6662b
aws: really unset AWS*PROFILE variables in asp function ( #7838 )
7 years ago
dorons
d16adb6a9f
aws: fix path resolution of aws completion for Ubuntu ( #7812 )
7 years ago
programmer04
5f9cc016d7
Fix redundant export of RPROMPT in aws plugin
7 years ago
Marc Cornellà
5f893dcd20
aws: clean up aws_change_access_key function
7 years ago
Cristian Măgherușan-Stanciu
4f4985fddc
aws: added an alias for changing the AWS access key set on a profile
7 years ago
Logan Lindquist
8cbdd79517
aws: set AWS_EB_PROFILE for the EB CLI ( #7388 )
...
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
7 years ago
David Kane
532a784b80
aws: refactor AWS plugin ( #7615 )
...
* 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>
7 years ago
Marc Cornellà
1a2d930bca
aws: refactor completion sourcing logic ( #7364 )
...
* Clean up Homebrew detection and add comments. Also changed some if flags.
* Detect aws cli completion file from RPM
7 years ago
Anton Stamenov
0cc1266c17
aws_porfiles regex is catching more lines than profiles, thus breaking completion ( #7469 )
7 years ago
Jorge Vargas
543044efe3
aws: use AWS_CONFIG_FILE to complete profiles
...
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
7 years ago
Vargas, Jorge L
e4946ef9f9
aws: change AWS_DEFAULT_PROFILE to AWS_PROFILE
...
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
7 years ago
Frank Wittig
e8aaab56b9
allow . in profile names
8 years ago