mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-12 20:21:02 +01:00
fix(aws): correct access key disable command (#11671)
This commit is contained in:
parent
c5208867f1
commit
017e288560
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ function aws_change_access_key() {
|
||||||
case $yn in
|
case $yn in
|
||||||
[Yy]*)
|
[Yy]*)
|
||||||
echo -n "\nDisabling access key ${original_aws_access_key_id}..."
|
echo -n "\nDisabling access key ${original_aws_access_key_id}..."
|
||||||
if aws --no-cli-pager update-access-key --access-key-id ${original_aws_access_key_id} --status Inactive; then
|
if aws --no-cli-pager iam update-access-key --access-key-id ${original_aws_access_key_id} --status Inactive; then
|
||||||
echo "done."
|
echo "done."
|
||||||
else
|
else
|
||||||
echo "\nFailed to disable ${original_aws_access_key_id} key."
|
echo "\nFailed to disable ${original_aws_access_key_id} key."
|
||||||
|
|
Loading…
Reference in a new issue