View a markdown version of this page

Customer managed permissions in RAM - AWS Private Certificate Authority

Customer managed permissions in RAM

In addition to the AWS managed permissions available in RAM, AWS Private CA supports RAM customer managed permissions (CMP). Customer managed permissions allow CA owners to define a custom set of actions that cross-account principals can perform on a shared CA, providing finer-grained access control than the default AWS managed permissions.

The following actions are available for customer managed permissions on the acm-pca:certificate-authority resource type:

Read actions

  • acm-pca:DescribeCertificateAuthority – View CA configuration and status.

  • acm-pca:GetCertificate – Retrieve an issued certificate.

  • acm-pca:GetCertificateAuthorityCertificate – Retrieve the CA certificate and certificate chain.

  • acm-pca:ListPermissions – List permissions assigned to the CA.

  • acm-pca:ListTags – List tags associated with the CA.

Write actions

  • acm-pca:IssueCertificate – Issue a certificate from the shared CA.

  • acm-pca:RevokeCertificate – Revoke a previously issued certificate.

You can create customer managed permissions that include any combination of these actions. For example, you can create a read-only permission that excludes IssueCertificate and RevokeCertificate, or a full-access permission that includes all seven actions.

You can also add conditions to a customer managed permission. For example, add X.509 certificate condition keys to the IssueCertificate statement to restrict the certificates that principals in other accounts can request. Customer managed permissions support only Allow statements. For more information, see Control certificate issuance with X.509 certificate condition keys.

Note

Customer managed permissions for a private CA don't yet support X.509 certificate condition keys (acm-pca:x509*). Support is coming soon. Until then, AWS RAM rejects a permission that uses these keys with an error that says the condition key does not exist in the service acm-pca. To restrict the certificates that principals in other accounts can request from a shared CA, use a resource control policy (RCP) in the organization that owns the CA. RCPs don't apply to a CA in the organization's management account. The accounts that request certificates can also limit their own requests with identity-based policies or service control policies (SCPs). For more information, see Supported policy types.

For more information about creating customer managed permissions, see Creating customer managed permissions in the AWS RAM User Guide.