DeleteWorkloadIdentityProviderOutboundSigner
Permanently removes one X.509 outbound signer entry from a workload identity provider. The provider stops signing with that entry's certificate authority, and IAM stops publishing the entry's trust material. The certificate authority itself is not deleted.
For an organization-scoped provider, only the organization's management account or a delegated administrator can call this operation.
Credentials issued by a deleted signer can no longer be verified. To stop signing
while keeping existing credentials verifiable, use DisableWorkloadIdentityProviderOutboundSigner and wait until the signer
is INACTIVE before you delete it.
You can delete a VALIDATING or an INACTIVE entry. IAM
rejects an ACTIVE or an IN_TRANSITION entry with
InvalidInputException, so disable the signer first.
You identify the entry by its certificate authority, through the identifier and the account. IAM removes only that entry, even if the slot holds others. After you delete the last entry in a slot, CreateWorkloadIdentityProviderOutboundSigner can fill the slot again.
IAM releases the association in AWS Private CA using your credentials. If AWS Private CA refuses to release the association, IAM removes nothing. If AWS Private CA reports that the association is already gone, the deletion goes ahead. In neither case is the certificate authority or its certificate deleted. The certificate authority remains in AWS Private CA in your account, and deleting it there is a separate action that you take yourself.
Delete every X.509 outbound signer on a provider before you delete the provider itself.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- OutboundSigner
-
The certificate authority of the signer to delete. Specify the
X509member.AccountIdmust match the account recorded for the signer.Type: WorkloadIdentityOutboundSignerConfiguration object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
- WorkloadIdentityProviderArn
-
The Amazon Resource Name (ARN) of the workload identity provider.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 2048.
Required: Yes
Response Elements
The following elements are returned by the service.
- OutboundSigner
-
The certificate authority whose signer was removed, exactly as specified in the request.
Type: WorkloadIdentityOutboundSignerConfiguration object
Note: This object is a Union. Only one member of this object can be specified or returned.
- Status
-
The status of the deletion. The value is
SUCCEEDED.Type: String
Valid Values:
SUCCEEDED - WorkloadIdentityProviderArn
-
The provider's Amazon Resource Name (ARN), exactly as specified in the request.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 2048.
Errors
For information about the errors that are common to all actions, see Common Error Types.
- ConcurrentModification
-
The request was rejected because multiple requests to change this object were submitted simultaneously. Wait a few minutes and submit your request again.
HTTP Status Code: 409
- InvalidInput
-
The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
HTTP Status Code: 400
- NoSuchEntity
-
The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.
HTTP Status Code: 404
- ServiceFailure
-
The request processing has failed because of an unknown error, exception or failure.
HTTP Status Code: 500
Examples
Example – Delete a retired X.509 signer
This example illustrates one usage of DeleteWorkloadIdentityProviderOutboundSigner.
Sample Request
https://iam.amazonaws.com/?Action=DeleteWorkloadIdentityProviderOutboundSigner
&WorkloadIdentityProviderArn=arn%3Aaws%3Aiam%3A%3A111122223333%3Aworkload-identity-provider%2FPaymentsProd
&OutboundSigner.X509.CertificateAuthorityId=a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
&OutboundSigner.X509.AccountId=111122223333
&Version=2010-05-08
&AUTHPARAMS
Sample Response
<DeleteWorkloadIdentityProviderOutboundSignerResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
<DeleteWorkloadIdentityProviderOutboundSignerResult>
<WorkloadIdentityProviderArn>arn:aws:iam::111122223333:workload-identity-provider/PaymentsProd</WorkloadIdentityProviderArn>
<OutboundSigner>
<X509>
<CertificateAuthorityId>a1b2c3d4-5678-90ab-cdef-EXAMPLE11111</CertificateAuthorityId>
<AccountId>111122223333</AccountId>
</X509>
</OutboundSigner>
<Status>SUCCEEDED</Status>
</DeleteWorkloadIdentityProviderOutboundSignerResult>
<ResponseMetadata>
<RequestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</RequestId>
</ResponseMetadata>
</DeleteWorkloadIdentityProviderOutboundSignerResponse>
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: