createWorkloadIdentityProviderOutboundSigner

Attaches an Amazon Web Services Private CA certificate authority to a workload identity provider as an X.509 outbound signer, in a slot that is empty. An outbound signer is the signing authority a provider uses to issue credentials of one format. It belongs to its provider and has no ARN of its own. IAM groups X.509 signers into slots by key algorithm.

For an organization-scoped provider, only the organization's management account or a delegated administrator can call this operation.

The new signer starts in IN_TRANSITION and begins signing after SigningDelayInHours. Until then, the provider issues no X.509 credentials from it. To see the new signer and its StartSigningTime, call GetWorkloadIdentityProvider or ListWorkloadIdentityProviderOutboundSigners.

If the slot for the certificate authority's key algorithm already holds any signer, the request fails with EntityAlreadyExistsException. That includes a signer that is disabled, VALIDATING or INACTIVE. To replace the authority in a slot, use UpdateWorkloadIdentityProviderOutboundSigner. To free the slot, use DeleteWorkloadIdentityProviderOutboundSigner.

The certificate authority must meet all of the following requirements, and a certificate authority that fails any of them returns InvalidInputException:

  • It is in the US East (N. Virginia) Amazon Web Services Region, us-east-1.

  • Its status is ACTIVE.

  • Its type is ROOT or SUBORDINATE. A subordinate certificate authority must chain up to a root certificate authority, which is the certificate IAM publishes as the trust anchor.

  • Its key algorithm is one of EC_prime256v1, EC_secp384r1, EC_secp521r1, RSA_2048, RSA_3072 or RSA_4096. ML-DSA and SM2 keys are not supported.

  • It is a service-affiliated certificate authority created for use with IAM Workload Identity, with a UsageMode of SERVICE_AFFILIATED and a service affiliation code of IAM_WORKLOAD_IDENTITY.

IAM chooses the signature algorithm from the certificate authority's key algorithm rather than from the certificate authority's configured signing algorithm:

  • EC_prime256v1 signs with ECDSA_SHA_256.

  • EC_secp384r1 signs with ECDSA_SHA_384.

  • EC_secp521r1 signs with ECDSA_SHA_512.

  • RSA_2048 signs with RSASSA_PKCS1_V1_5_SHA_256.

  • RSA_3072 and RSA_4096 sign with RSASSA_PKCS1_V1_5_SHA_384.

IAM calls Amazon Web Services Private CA with your credentials, so you need the acm-pca permissions on the certificate authority. If the certificate authority is in another account, that certificate authority's resource policy must grant them too.