---
updatedAt: 2026-03-01T18:38:39.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/terraform/v9.3/llms.txt
---

# Enrollments

akamai_cps_enrollments

Get information about SSL/TLS certificates for a given contract.

```json Query
data "akamai_cps_enrollments" "my_enrollments" {
  contract_id = "C-0N7RAC7"
}

output "my_enrollments" {
  value = data.akamai_cps_enrollments.my_enrollments
}
```
```json Standard output
my_enrollments = {
    contract_id  = "C-0N7RAC7"
    enrollments  = [
      {
          admin_contact                     = [
            {
                address_line_one = "1234 Main St."
                address_line_two = "Suite 123"
                city             = "Cambridge"
                country_code     = "US"
                email            = "jsmith@example.com"
                first_name       = "Jane"
                last_name        = "Smith"
                organization     = "Main Street Corporation"
                phone            = "1-617-555-6789"
                postal_code      = "02142"
                region           = "MA"
                title            = "Director of Operations"
              },
            ]
          assigned_slots                    = [
                  1234,
                ]
          certificate_chain_type            = "default"
          certificate_type                  = "third-party"
          common_name                       = "my-site.com"
          csr                               = [
            {
                city                  = "Cambridge"
                country_code          = "US"
                organization          = "Main Street Corporation"
                organizational_unit   = "IT"
                preferred_trust_chain = ""
                state                 = "MA"
              },
            ]
          enable_multi_stacked_certificates = true
          enrollment_id                     = 12345
          network_configuration             = [
            {
                client_mutual_authentication = []
                clone_dns_names              = true
                disallowed_tls_versions      = [
                    "TLSv1",
                    "TLSv1_1",
                    "TLSv1_2",
                  ]
                geography                    = "core"
                must_have_ciphers            = "ak-akamai-default"
                ocsp_stapling                = "on"
                preferred_ciphers            = "ak-akamai-default"
                quic_enabled                 = false
              },
            ]
          org_id                            = 0
          organization                      = [
            {
                address_line_one = "1234 Main St."
                address_line_two = "Suite 123"
                city             = "Cambridge"
                country_code     = "US"
                name             = "Main Street Corporation"
                phone            = "1-617-555-6789"
                postal_code      = "02142"
                region           = "MA"
              },
            ]
          pending_changes                   = true
          production_slots                  = []
          registration_authority            = "lets-encrypt"
          sans                              = [
              "*my-site.com",
            ]
          secure_network                    = "enhanced-tls"
          signature_algorithm               = "SHA-256"
          staging_slots                     = [
                  12345,
                ]
          sni_only                          = true
          tech_contact                      = [
            {
                address_line_one = "1234 Main St."
                address_line_two = "Suite 123"
                city             = "Cambridge"
                country_code     = "US"
                email            = "jsmith@example.com"
                first_name       = "Janet"
                last_name        = "Smithson"
                organization     = "Main Street Corporation"
                phone            = "1-617-555-6789"
                postal_code      = "02142"
                region           = "MA"
                title            = "Director of Platform Services"
              },
            ]
          validation_type        = "dv"
        },
      ]
    id         = "akamai_cps_enrollments"
  }
```
```json Input variable
variable "enrollment_id" {
  type        = number
  description = "The ID for my Akamai DV enrollment"
  default     = 12345
}
```
```json Variable use
// local
enrollment_id = data.akamai_cps_enrollments.my_enrollments.enrollment_id

// tvars
enrollment_id = var.enrollment_id
```

## Argument

Pass a `contract_id` in the body of the data block.

## Attributes

Returned to you is an `enrollments` set containing a computed list of details about your certificates.

[block:parameters]
{
  "data": {
    "h-0": "Attribute",
    "h-1": "Description",
    "0-0": "`enrollment_id`",
    "0-1": "An enrollment's identifier.",
    "1-0": "`common_name`",
    "1-1": "The fully qualified domain name used for the certification.",
    "2-0": "`secure_network`",
    "2-1": "The type of security on a deployment network.<ul><li><code>standard-tls</code>. Not PCI compliant.</li><li><code>enhanced-tls</code>. PCI compliant.</li></ul>",
    "3-0": "`sans`",
    "3-1": "A list of names the subject alternative names secured by a certificate.",
    "4-0": "`staging_slots`",
    "4-1": "A list of slot IDs for certificates deployed to staging.",
    "5-0": "`sni_only`",
    "5-1": "Denotes whether the server name indication was used for enrollment.",
    "6-0": "`admin_contact`",
    "6-1": "A list including name, address, phone number, and email address of your certificate administrator.",
    "7-0": "`enable_multi_stacked_certificates`",
    "7-1": "Denotes the enablement state of dual-stacked certificate deployment.",
    "8-0": "`assigned_slots`",
    "8-1": "A list of slot IDs for deployed or soon to be deployed certificates.",
    "9-0": "`certificate_chain_type`",
    "9-1": "The certificate trust chain type.",
    "10-0": "`csr`",
    "10-1": "The data used during generation of the certificate signing request.  <ul><li><code>country_code</code>. The country code for your organization.</li><li><code>city</code>. The city in which your organization is. </li><li><code>organization</code>. The name of your business, organization, or company.</li><li><code>name</code>. The name of the organization used in all legal documents.</li><li><code>preferred_chain_trust</code>. The Let's Encrypt trust chain option chosen at the time the certificate was created. If one was not chosen, the value represents the default Akamai option.</li><li><code>state</code>. The state or province in which your organization is.</li></ul>",
    "11-0": "`signature_algorithm`",
    "11-1": "The SHA algorithm type.",
    "12-0": "`network_configuration`",
    "12-1": "The network settings, information, and TLS metadata used by the Certificate Provisioning System. <ul><li><code>client_mutual_authentication</code>. Set. The configuration for client mutual authentication, specifying the trust chain used to verify client certificates among other options.</li><li><code>clone_dns_names</code>. Boolean. Denotes whether the certificate provisioning system directs traffic using all the SANs listed at the time of enrollment creation.</li><li><code>disallowed_tls_versions</code>. Set of strings. List of TLS versions not trusted.<li><code>geography</code>. String. The enrollment's deployment location. </li><li><code>must_have_ciphers</code>. String. Ciphers included in the enrollment when deployed on the network. The default is <code>ak-akamai-2020q1</code> when it is not set.</li><li><code>ocsp_stapling</code>. String. The status of an enrollment's use of OCSP stapling. </li><li><code>preferred_ciphers</code>. String. Ciphers you prefer included in the enrollment when deployed on the network. The default is <code>ak-akamai-2020q1</code> when it is not set.</li><li><code>quic_enabled</code>. Boolean. Denotes the use of the QUIC transport layer network protocol.</li></ul>",
    "13-0": "`tech_contact`",
    "13-1": "A list including name, address, phone number, and email address of your Akamai technical contact.",
    "14-0": "`org_id`",
    "14-1": "The Digicert ID for your organization.",
    "15-0": "`organization`",
    "15-1": "A list detailing the address information of your organization.",
    "16-0": "`certificate_type`",
    "16-1": "The certification type.",
    "17-0": "`validation_type`",
    "17-1": "The validation type.",
    "18-0": "`registration_authority`",
    "18-1": "The certificate authority used for the certification.",
    "19-0": "`pending_changes`",
    "19-1": "Denotes whether there are pending changes.",
    "20-0": "`production_slots`",
    "20-1": "A list of slot IDs for certificates deployed to production."
  },
  "cols": 2,
  "rows": 21,
  "align": [
    null,
    null
  ]
}
[/block]

# Sibling pages

* [Certificate Signing Request](https://techdocs.akamai.com/terraform/v9.3/docs/cps-ds-certificate-signing-request.md)
* [Deployments](https://techdocs.akamai.com/terraform/v9.3/docs/cps-ds-deployments.md)
* [Enrollment](https://techdocs.akamai.com/terraform/v9.3/docs/cps-ds-enrollment.md)
* [Warnings](https://techdocs.akamai.com/terraform/v9.3/docs/cps-ds-warnings.md)