View a markdown version of this page

DisableWorkloadIdentityProviderOutboundSigner - AWS Identity and Access Management

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 can resume signing.

  • It is idempotent – Calling it again while a signer is still VALIDATING succeeds and changes nothing.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

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

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 – Stop a provider from issuing X.509 credentials

This example illustrates one usage of DisableWorkloadIdentityProviderOutboundSigner.

Sample Request

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

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

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: