Learn R Programming

paws.security.identity (version 0.1.0)

iam_delete_signing_certificate: Deletes a signing certificate associated with the specified IAM user

Description

Deletes a signing certificate associated with the specified IAM user.

Usage

iam_delete_signing_certificate(UserName, CertificateId)

Arguments

UserName

The name of the user the signing certificate belongs to.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: \_+=,.@-

CertificateId

[required] The ID of the signing certificate to delete.

The format of this parameter, as described by its regex pattern, is a string of characters that can be upper- or lower-cased letters or digits.

Request syntax

svc$delete_signing_certificate(
  UserName = "string",
  CertificateId = "string"
)

Details

If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request. This operation works for access keys under the AWS account. Consequently, you can use this operation to manage AWS account root user credentials even if the AWS account has no associated IAM users.

Examples

Run this code
# NOT RUN {
# The following command deletes the specified signing certificate for the
# IAM user named Anika.
# }
# NOT RUN {
svc$delete_signing_certificate(
  CertificateId = "TA7SMP42TDN5Z26OBPJE7EXAMPLE",
  UserName = "Anika"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab