Skip to content

Delete Signing Certificate

iam_delete_signing_certificate R Documentation

Deletes a signing certificate associated with the specified IAM user

Description

Deletes a signing certificate associated with the specified IAM user.

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

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.

Value

An empty list.

Request syntax

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

Examples

## Not run: 
# The following command deletes the specified signing certificate for the
# IAM user named Anika.
svc$delete_signing_certificate(
  CertificateId = "TA7SMP42TDN5Z26OBPJE7EXAMPLE",
  UserName = "Anika"
)

## End(Not run)