

# 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.

**Important**  
Credentials issued by a deleted signer can no longer be verified. To stop signing while keeping existing credentials verifiable, use [DisableWorkloadIdentityProviderOutboundSigner](https://docs.aws.amazon.com/IAM/latest/APIReference/API_DisableWorkloadIdentityProviderOutboundSigner.html) 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](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateWorkloadIdentityProviderOutboundSigner.html) 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
<a name="API_DeleteWorkloadIdentityProviderOutboundSigner_RequestParameters"></a>

 For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

 ** OutboundSigner **   
The certificate authority of the signer to delete. Specify the `X509` member. `AccountId` must match the account recorded for the signer.  
Type: [WorkloadIdentityOutboundSignerConfiguration](API_WorkloadIdentityOutboundSignerConfiguration.md) 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
<a name="API_DeleteWorkloadIdentityProviderOutboundSigner_ResponseElements"></a>

The following elements are returned by the service.

 ** OutboundSigner **   
The certificate authority whose signer was removed, exactly as specified in the request.  
Type: [WorkloadIdentityOutboundSignerConfiguration](API_WorkloadIdentityOutboundSignerConfiguration.md) 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
<a name="API_DeleteWorkloadIdentityProviderOutboundSigner_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** 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
<a name="API_DeleteWorkloadIdentityProviderOutboundSigner_Examples"></a>

### Example – Delete a retired X.509 signer
<a name="API_DeleteWorkloadIdentityProviderOutboundSigner_Example_1"></a>

This example illustrates one usage of DeleteWorkloadIdentityProviderOutboundSigner.

#### Sample Request
<a name="API_DeleteWorkloadIdentityProviderOutboundSigner_Example_1_Request"></a>

```
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
<a name="API_DeleteWorkloadIdentityProviderOutboundSigner_Example_1_Response"></a>

```xml
<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
<a name="API_DeleteWorkloadIdentityProviderOutboundSigner_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/iam-2010-05-08/DeleteWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/iam-2010-05-08/DeleteWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/iam-2010-05-08/DeleteWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/iam-2010-05-08/DeleteWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iam-2010-05-08/DeleteWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/iam-2010-05-08/DeleteWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/iam-2010-05-08/DeleteWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/iam-2010-05-08/DeleteWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for Python (Boto3)](https://docs.aws.amazon.com/goto/boto3/iam-2010-05-08/DeleteWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iam-2010-05-08/DeleteWorkloadIdentityProviderOutboundSigner) 