amazonka-iam-0.0.0: Amazon Identity and Access Management SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.UpdateSigningCertificate

Contents

Description

Changes the status of the specified signing certificate from active to disabled, or vice versa. This action can be used to disable a user's signing certificate as part of a certificate rotation work flow. If the UserName field is not specified, the UserName is determined implicitly based on the AWS access key ID used to sign the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users. For information about rotating certificates, see Managing Keys and Certificates in the Using IAM guide.

http://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateSigningCertificate.html

Synopsis

Request

Request constructor

Request lenses

uscCertificateId :: Lens' UpdateSigningCertificate Text Source

The ID of the signing certificate you want to update.

uscStatus :: Lens' UpdateSigningCertificate Text Source

The status you want to assign to the certificate. Active means the certificate can be used for API calls to AWS, while Inactive means the certificate cannot be used.

uscUserName :: Lens' UpdateSigningCertificate (Maybe Text) Source

The name of the user the signing certificate belongs to.

Response

Response constructor