Custom app certificate

akamai_eaa_custom_app_certificate

Create and manage custom certificates you use for TLS communications.

resource "akamai_eaa_custom_app_certificate" "my_custom_app_certificate" {
  cert        = "-----BEGIN CERTIFICATE REQUEST----- -----END CERTIFICATE REQUEST-----"
  contract_id = "C-0N7RAC7"
  name        = "My Custom App Certificate"
}

Arguments

Pass a signed certificate PEM, a valid contract ID, and a name to add a custom certificate.

ArgumentRequiredDescription
cert✔️
String
The PEM-encoded certificate content. Use file() to read it from disk.
contract_id✔️
String
The unique identifier for the contract. The certificate is managed within this contract.
name✔️
String
The name of the certificate.
password
String
The password that decrypts private_key when the key is encrypted. Defaults to an empty string. The API doesn't return the value, so after an import leave it unset until you rotate the certificate together with cert and private_key.
private_key
String
The PEM-encoded private key of the certificate. Required to create the certificate and to apply any change to it. The API doesn't return it, so after an import leave it unset until you rotate the certificate together with cert.

Attributes

Returned are details about your certificate.

AttributeDescription
app_count
String
The number of applications and identity providers that use the certificate.
apps
List of objects
The applications that use the certificate as their server certificate. Applications that use it only to verify the origin server's TLS certificate aren't listed, but are counted in app_count.
  • name. String. The name of the application or identity provider.
  • status. Number. The status of the application or identity provider.
  • uuid_url. String. The UUID URL of the application or identity provider.
cert_idps
List of objects
The identity providers that use the certificate as their login server certificate.
  • name. String. The name of the application or identity provider.
  • status. Number. The status of the application or identity provider.
  • uuid_url. String. The UUID URL of the application or identity provider.
cert_type
String
The certificate type. Always 1 for a custom app certificate.
client_cert_idps
List of objects
The identity providers that use the certificate as their client certificate.
  • name. String. The name of the application or identity provider.
  • status. Number. The status of the application or identity provider.
  • uuid_url. String. The UUID URL of the application or identity provider.
cn
String
The common name of the certificate subject.
created_at
String
The date and time the certificate was created, in RFC 3339 format.
days_left
String
The number of days until the certificate expires.
deploy_status
List of objects
The deployment status of the certificate on each POP that serves it, from its most recent deployment. Deployment runs in the background and can take a moment to start, so right after an apply this can still show the result of the previous deployment; refresh the state to follow the new one. Empty when the certificate has never been deployed. Null when the API doesn't report the status or reading it failed.
  • logical_pop_id. String. The UUID URL of the logical POP. Null when the logical POP was removed.
  • pop_name. String. The region of the POP. Null when the logical POP was removed.
  • status. Number. The deployment status on the POP: 1 (in progress), 2 (completed), or 3 (failed).
dir_count
String
The number of directories that use the certificate to verify their server's TLS certificate.
expired_at
String
The date and time the certificate expires, in RFC 3339 format.
idps
List of objects
The identity providers that use the certificate in any role. This is the combination of cert_idps, client_cert_idps, saml_cert_idps, and saml_custom_sign_cert_idps.
  • name. String. The name of the application or identity provider.
  • status. Number. The status of the application or identity provider.
  • uuid_url. String. The UUID URL of the application or identity provider.
issued_at
String
The date and time the certificate was issued, in RFC 3339 format.
issuer
String
The distinguished name of the certificate issuer.
modified_at
String
The date and time the certificate was last modified, in RFC 3339 format.
saml_cert_idps
List of objects
The identity providers that use the certificate as their SAML certificate.
  • name. String. The name of the application or identity provider.
  • status. Number. The status of the application or identity provider.
  • uuid_url. String. The UUID URL of the application or identity provider.
saml_custom_sign_cert_idps
List of objects
The identity providers that use the certificate as their SAML custom signing certificate.
  • name. String. The name of the application or identity provider.
  • status. Number. The status of the application or identity provider.
  • uuid_url. String. The UUID URL of the application or identity provider.
status
String
The administrative status of the certificate, as a numeric code.
subject
String
The distinguished name of the certificate subject.
uuid_url
String
The UUID URL of the certificate.

Did this page help you?