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.
| Argument | Required | Description |
|---|---|---|
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.
| Attribute | Description |
|---|---|
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.
|
cert_idps | List of objects The identity providers that use the certificate as their login server certificate.
|
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.
|
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.
|
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.
|
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.
|
saml_custom_sign_cert_idps | List of objects The identity providers that use the certificate as their SAML custom signing certificate.
|
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. |
Updated about 4 hours ago
Did this page help you?
