Example Procedure: Deleting an Access Key

To delete an access key, complete the following steps:

  1. Run the following command:

    ./akm-delete-access-key --base-url https://<localhost>/ --user User1 --password-file ~/pwd.file AK_32

    The command deletes the specified access key. The command does not return any value; only the command prompt is displayed.

  2. Verify the deletion by running the iaas-describe-access-keys command, as in the following example:

    ./akm-describe-access-keys --base-url https://<localhost>/ --user User1 --password-file ~/pwd.file

    This command returns the list of all access keys in your Account. In the output, you should not see the access key that you deleted.