

# DisableWorkloadIdentityProviderOutboundSigner

Immediately stops a workload identity provider from issuing X.509 credentials.

For an organization-scoped provider, only the organization's management account or a delegated administrator can call this operation.
+  **It stops every X.509 signer that is signing or waiting to sign** – That includes both halves of a rotation in progress, across all slots. A signing entry gets an `EndSigningTime` of now, and an entry still in `IN_TRANSITION` stops before it ever signs.
+  **It keeps trust material published for 12 hours** – Every stopped entry gets a `DiscoveryExpirationTime` of now plus 12 hours, so credentials it already issued keep verifying. Stopped entries become `VALIDATING`, then `INACTIVE` after 12 hours.
+  **It removes nothing** – IAM keeps the certificate authority associations and the signer configuration, so [EnableWorkloadIdentityProviderOutboundSigner](https://docs.aws.amazon.com/IAM/latest/APIReference/API_EnableWorkloadIdentityProviderOutboundSigner.html) can resume signing.
+  **It is idempotent** – Calling it again while a signer is still `VALIDATING` succeeds and changes nothing.

## Request Parameters
<a name="API_DisableWorkloadIdentityProviderOutboundSigner_RequestParameters"></a>

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

 ** SignerType **   
The credential format to disable. The value must be `X509`. IAM rejects `JWT`, because IAM manages the outbound signers for JWT credentials, and you cannot disable, enable or delete them.  
Type: String  
Valid Values: `X509 | JWT`   
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

## Errors
<a name="API_DisableWorkloadIdentityProviderOutboundSigner_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_DisableWorkloadIdentityProviderOutboundSigner_Examples"></a>

### Example – Stop a provider from issuing X.509 credentials
<a name="API_DisableWorkloadIdentityProviderOutboundSigner_Example_1"></a>

This example illustrates one usage of DisableWorkloadIdentityProviderOutboundSigner.

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

```
https://iam.amazonaws.com/?Action=DisableWorkloadIdentityProviderOutboundSigner
&WorkloadIdentityProviderArn=arn%3Aaws%3Aiam%3A%3A111122223333%3Aworkload-identity-provider%2FPaymentsProd
&SignerType=X509
&Version=2010-05-08
&AUTHPARAMS
```

#### Sample Response
<a name="API_DisableWorkloadIdentityProviderOutboundSigner_Example_1_Response"></a>

```xml
<DisableWorkloadIdentityProviderOutboundSignerResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
  <ResponseMetadata>
    <RequestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</RequestId>
  </ResponseMetadata>
</DisableWorkloadIdentityProviderOutboundSignerResponse>
```

## See Also
<a name="API_DisableWorkloadIdentityProviderOutboundSigner_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/DisableWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/iam-2010-05-08/DisableWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/iam-2010-05-08/DisableWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/iam-2010-05-08/DisableWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iam-2010-05-08/DisableWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/iam-2010-05-08/DisableWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/iam-2010-05-08/DisableWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/iam-2010-05-08/DisableWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for Python (Boto3)](https://docs.aws.amazon.com/goto/boto3/iam-2010-05-08/DisableWorkloadIdentityProviderOutboundSigner) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iam-2010-05-08/DisableWorkloadIdentityProviderOutboundSigner) 