Unverified Commit 017e2885 authored by Mark Keisler's avatar Mark Keisler Committed by GitHub

fix(aws): correct access key disable command (#11671)

parent c5208867
......@@ -180,7 +180,7 @@ function aws_change_access_key() {
case $yn in
[Yy]*)
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."
else
echo "\nFailed to disable ${original_aws_access_key_id} key."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment