| Server IP : 52.25.153.185 / Your IP : 216.73.217.32 Web Server : Apache System : Linux ip-172-26-6-158 5.10.0-45-cloud-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64 User : daemon ( 1) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/awscli/examples/iam/ |
Upload File : |
**Example 1: To update the status of the requesting user's service-specific credential**
The following ``update-service-specific-credential`` example changes the status for the specified credential for the user making the request to ``Inactive``. This command produces no output. ::
aws iam update-service-specific-credential \
--service-specific-credential-id ACCAEXAMPLE123EXAMPLE \
--status Inactive
**Example 2: To update the status of a specified user's service-specific credential**
The following ``update-service-specific-credential`` example changes the status for the credential of the specified user to Inactive. This command produces no output. ::
aws iam update-service-specific-credential \
--user-name sofia \
--service-specific-credential-id ACCAEXAMPLE123EXAMPLE \
--status Inactive
For more information, see `Create Git Credentials for HTTPS Connections to CodeCommit <https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-gc.html#setting-up-gc-iam>`_ in the *AWS CodeCommit User Guide*