SSL Certificate
Autosec Certificate
Terraform reference for Autosec Certificate.
Schema Properties
| Property | Type | Description |
|---|---|---|
bucket Required | string | The certificate store bucket the certificate is published in. Examples: puppet-sandbox-bucket-dc1 |
ca Required | string | The certificate authority that issued the certificate. Examples: letsencrypt |
certname Required | string | The name of the certificate within its module. Examples: wildcard |
environment Required | string | The environment the certificate belongs to, expressed as <tenant>_<platform>. Examples: core_sandbox |
fqdn Required | string | The fully-qualified domain name the certificate is issued for. Examples: api.example.com |
modname Required | string | The module the certificate was provisioned for. Examples: frontend |
paths Required | object | The object locations of the certificate's public and private PEM files. |
platform Required | string | The platform the certificate belongs to (sandbox, preprod or prod). Examples: sandbox |
tenant Required | string | The tenant that owns the certificate. Examples: core |
data "gi_ssl_certificate_autosec_certificates" "filtered" { limit = 10 skip = 0 filter { field = "bucket" operator = "eq" value = "example-value" } sort { field = "bucket" descending = false }}# Access resultsoutput "autosec_certificate_list" { value = data.gi_ssl_certificate_autosec_certificates.filtered.autosec_certificates[*].attributes.bucket}