Data Source: pingaccess_keypair
Use this data source to get the ID of a keypair in Ping Access, you can reference it by alias without having to hard code the IDs as input.
Example Usage
data "pingaccess_keypair" "demo_keypair" {
alias = "amazon_root_ca1"
}
Argument Attributes
The following arguments are supported:
alias
- (required) The alias for the keypair.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
-
id
- The keypairs's ID. -
chain_certificates
The complete list of certificates in the key pair certificate chain.-
chain_certificates.#.expires
- The date at which the certificate expires as the number of milliseconds since January 1, 1970, 00:00:00 GMT. -
chain_certificates.#.issuer_dn
- The issuer DN for the certificate. -
chain_certificates.#.md5sum
- The MD5 sum for the certificate. -
chain_certificates.#.serial_number
- The serial number for the certificate. -
chain_certificates.#.sha1sum
- The SHA1 sum for the certificate. -
chain_certificates.#.signature_algorithm
- The algorithm used to sign the certificate. -
chain_certificates.#.subject_cn
- The subject CN for the certificate. -
chain_certificates.#.subject_dn
- The subject DN for the certificate. -
chain_certificates.#.valid_from
- The date at which the certificate is valid from as the number of milliseconds since January 1, 1970, 00:00:00 GMT.
-
-
expires
- The date at which the keypair expires as the number of milliseconds since January 1, 1970, 00:00:00 GMT. -
issuer_dn
- The issuer DN for the keypair. -
md5sum
- The MD5 sum for the keypair. -
serial_number
- The serial number for the keypair. -
sha1sum
- The SHA1 sum for the keypair. -
signature_algorithm
- The algorithm used to sign the keypair. -
subject_cn
- The subject CN for the keypair. -
subject_dn
- The subject DN for the keypair. -
valid_from
- The date at which the keypair is valid from as the number of milliseconds since January 1, 1970, 00:00:00 GMT.