/AWS1/IF_IAM=>DELETESIGNINGCERTIFICATE()¶
About DeleteSigningCertificate¶
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.
Method Signature¶
METHODS /AWS1/IF_IAM~DELETESIGNINGCERTIFICATE
IMPORTING
!IV_USERNAME TYPE /AWS1/IAMEXISTINGUSERNAMETYPE OPTIONAL
!IV_CERTIFICATEID TYPE /AWS1/IAMCERTIFICATEIDTYPE OPTIONAL
RAISING
/AWS1/CX_IAMCONCURRENTMODEX
/AWS1/CX_IAMLIMITEXCEEDEDEX
/AWS1/CX_IAMNOSUCHENTITYEX
/AWS1/CX_IAMSERVICEFAILUREEX
/AWS1/CX_IAMCLIENTEXC
/AWS1/CX_IAMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_certificateid TYPE /AWS1/IAMCERTIFICATEIDTYPE /AWS1/IAMCERTIFICATEIDTYPE¶
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.
Optional arguments:¶
iv_username TYPE /AWS1/IAMEXISTINGUSERNAMETYPE /AWS1/IAMEXISTINGUSERNAMETYPE¶
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: _+=,.@-
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
lo_client->deletesigningcertificate(
iv_certificateid = |string|
iv_username = |string|
).
To delete a signing certificate for an IAM user¶
The following command deletes the specified signing certificate for the IAM user named Anika.
lo_client->deletesigningcertificate(
iv_certificateid = |TA7SMP42TDN5Z26OBPJE7EXAMPLE|
iv_username = |Anika|
).