UpdateWorkloadIdentityProviderOutboundSigner
Rotates the X.509 outbound signer in a slot to a different AWS Private CA certificate authority with the same key algorithm. You can also use it to cancel or re-time a rotation that is already in progress.
For an organization-scoped provider, only the organization's management account or a delegated administrator can call this operation.
The certificate authority you specify determines what happens:
-
A new authority – IAM adds a new entry that starts signing after
SigningDelayInHours. The current signer keeps signing until that moment and then stops, so there is no gap and no overlap in signing. The current signer staysVALIDATINGfor 12 hours after it stops, then becomesINACTIVE. -
The authority that is currently signing – If a rotation is pending, IAM cancels it and signing continues without interruption. If no rotation is pending, the request makes no change.
-
The authority that is being rotated in – This changes the rotation's timing. Its start time moves to now plus
SigningDelayInHours, and the current signer stops at that same moment. IAM adds no entry. You can shorten the delay, and IAM does not check that the delay leaves verifiers enough time to obtain the new trust material. -
An authority whose entry in the slot has stopped signing – An entry that is disabled,
VALIDATINGorINACTIVEattaches again as the incoming signer, following the rotation process above.
A slot holds at most five entries. When a rotation would exceed that, IAM first
deletes the oldest INACTIVE entries in the slot, calling DeleteWorkloadIdentityProviderOutboundSigner on your behalf. Those
deletions are permanent even if the rotation then fails. If there are not enough
INACTIVE entries, the request fails with
LimitExceededException.
This operation only rotates within a slot. The certificate authority must therefore
use the same key algorithm as the slot's signer, and it must meet the certificate
authority requirements listed under CreateWorkloadIdentityProviderOutboundSigner. To start using a different
key algorithm, use CreateWorkloadIdentityProviderOutboundSigner to fill
that slot.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- OutboundSigner
-
The certificate authority to rotate to. Specify the
X509member.Type: WorkloadIdentityOutboundSignerConfiguration object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
- SigningDelayInHours
-
The number of hours before the incoming authority starts signing.
Default: 24.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 48.
Required: No
- 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
- LimitExceeded
-
The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.
HTTP Status Code: 409
- 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 – Rotate the X.509 signer to a new authority
The new authority starts signing 24 hours after the call.
Sample Request
https://iam.amazonaws.com/?Action=UpdateWorkloadIdentityProviderOutboundSigner
&WorkloadIdentityProviderArn=arn%3Aaws%3Aiam%3A%3A111122223333%3Aworkload-identity-provider%2FPaymentsProd
&OutboundSigner.X509.CertificateAuthorityId=a1b2c3d4-5678-90ab-cdef-EXAMPLE22222
&OutboundSigner.X509.AccountId=111122223333
&SigningDelayInHours=24
&Version=2010-05-08
&AUTHPARAMS
Sample Response
<UpdateWorkloadIdentityProviderOutboundSignerResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
<ResponseMetadata>
<RequestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</RequestId>
</ResponseMetadata>
</UpdateWorkloadIdentityProviderOutboundSignerResponse>
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: