Skip to content

particuleio/terraform-tls-pki

Repository files navigation

terraform-tls-pki

This module allows to create a certificate authority and as many certificates as needed for client auth or server auth or any other usage.

Requirements

Name Version
terraform ~> 1.0
pkcs12 ~> 0.1
random ~> 3.0
tls ~> 4.0

Providers

Name Version
pkcs12 ~> 0.1
random ~> 3.0
tls ~> 4.0

Modules

No modules.

Resources

Name Type
pkcs12_from_pem.certificate resource
random_password.certificate resource
tls_cert_request.certificate resource
tls_locally_signed_cert.certificate resource
tls_private_key.ca resource
tls_private_key.certificate resource
tls_self_signed_cert.ca resource

Inputs

Name Description Type Default Required
ca n/a any
{
"algorithm": "ECDSA",
"allowed_uses": [
"cert_signing",
"crl_signing",
"code_signing",
"server_auth",
"client_auth",
"digital_signature",
"key_encipherment"
],
"early_renewal_hours": 78840,
"ecdsa_curve": "P384",
"rsa_bits": 4096,
"subject": {
"common_name": "certificate-authority"
},
"validity_period_hours": 87600
}
no
certificates n/a any {} no

Outputs

Name Description
ca n/a
certificates n/a