CA certificate
akamai_eaa_ca_certificate
Create and manage the certificates you use for TLS communications between your users and your servers.
resource "akamai_eaa_ca_certificate" "my_ca_certificate" {
cert = "12345"
contract_id = "C-0N7RAC7"
name = "My CA Certificate"
}Arguments
Pass a signed certificate PEM, a valid contract ID, and a name for an authentication certificate.
| Argument | Required | Description |
|---|---|---|
cert | ✔️ | String The PEM-encoded CA certificate content. Use file() to read it from disk. |
contract_id | ✔️ | String The unique identifier for the contract. The CA certificate is managed within this contract. |
name | ✔️ | String The name of the certificate. |
password | String The certificate password. Defaults to an empty string. It has no effect: CA certificates have no private key, so the value is kept in state only and an empty string is always sent to the API. |
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 6 for a CA 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. |
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?
