| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Changes the status of the specified signing certificate from active to inactive, or vice versa. This action lets you rotate a user's certificates, or immediately disable (or re enable) a user's ability to make API calls to AWS. For information about rotating certificates, go to Managing Keys and Certificates in Using IAM.
iam-usermodcert [-u
USERNAME] -c
CERTIFICATEID -s Active|Inactive
| Name | Description | Required |
|---|---|---|
|
|
Name of the user whose certificate you want to update. Type: String Default: None |
Optional |
|
|
The ID of the signing certificate you want to update. Type: String Default: None |
Yes |
|
|
The status you want to assign to the certificate.
Type: String |
Yes |
If the certificate is successfully updated, the output is empty.
The following example changes the status to Inactive for the
certificate ID TA7SMP42TDN5Z26OBPJE7EXAMPLE, which belongs to the user named
Bob.
PROMPT> iam-usermodcert -u Bob -c TA7SMP42TDN5Z26OBPJE7EXAMPLE -s Inactive