Skip to content

IAM  >  Operations  >  delete_signing_certificate

delete_signing_certificate

Operation

delete_signing_certificate async

delete_signing_certificate(request: DeleteSigningCertificateInput | DeleteSigningCertificateInputDict, /, *, plugins: list[Plugin] | None = None) -> DeleteSigningCertificateOutput
delete_signing_certificate(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteSigningCertificateInputDict]) -> DeleteSigningCertificateOutput

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.

Parameters:

Name Type Description Default
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DeleteSigningCertificateOutput

An instance of DeleteSigningCertificateOutput.

Input

Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.

Model

DeleteSigningCertificateInput dataclass

Bases: _SerdeShape

Dataclass for DeleteSigningCertificateInput structure.

Attributes
certificate_id class-attribute instance-attribute
certificate_id: str | None = ...

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.

user_name class-attribute instance-attribute
user_name: str | None = ...

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: _+=,.@-

Dictionaries

DeleteSigningCertificateInputDict

Bases: TypedDict

Dictionary form of DeleteSigningCertificateInput.

Attributes
certificate_id instance-attribute
certificate_id: Required[str]

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.

user_name instance-attribute
user_name: str | None

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: _+=,.@-

Output

DeleteSigningCertificateOutput dataclass

Bases: _SerdeShape

Dataclass for DeleteSigningCertificateOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.