HEX
Server: LiteSpeed
System: Linux s1080.usc1.mysecurecloudhost.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User: justofft (2594)
PHP: 7.3.33
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/iam/update-service-specific-credential.rst
**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*