disable_workload_identity_provider_outbound_signer
async
¶
disable_workload_identity_provider_outbound_signer(
workload_identity_provider_arn: arnType,
signer_type: workloadIdentityOutboundSignerTypeType,
*,
config_overrides: Optional[AsyncIAMClientConfig] = None,
) -> DisableWorkloadIdentityProviderOutboundSignerResponse
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
EndSigningTimeof now, and an entry still inIN_TRANSITIONstops before it ever signs. -
It keeps trust material published for 12 hours – Every stopped entry gets a
DiscoveryExpirationTimeof now plus 12 hours, so credentials it already issued keep verifying. Stopped entries becomeVALIDATING, thenINACTIVEafter 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
VALIDATINGsucceeds and changes nothing.
Parameters:
-
workload_identity_provider_arn(arnType) –The Amazon Resource Name (ARN) of the workload identity provider.
-
signer_type(workloadIdentityOutboundSignerTypeType) –The credential format to disable. The value must be
X509. IAM rejectsJWT, because IAM manages the outbound signers for JWT credentials, and you cannot disable, enable or delete them.
Raises:
-
ConcurrentModificationException–The request was rejected because multiple requests to change this object were submitted simultaneously. Wait a few minutes and submit your request again.
-
InvalidInputException–The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
-
NoSuchEntityException–The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.
-
ServiceFailureException–The request processing has failed because of an unknown error, exception or failure.
-
UnknownServiceError–The service returned an error code this client does not model.