Created
January 31, 2020 15:13
-
-
Save stvdilln/0fe4ab8be7613f974b2635b3f9c5929b to your computer and use it in GitHub Desktop.
Installing a Self Signed Certificate into Vault using Terraform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Take the Root CA certificate that we have created and store it in | |
# the mount point pki-root-ca. The ca_pem_bundle in this case is | |
# the Certificate we generated and the key for it. | |
resource "vault_pki_secret_backend_config_ca" "ca_config" { | |
depends_on = [ vault_mount.root, tls_private_key.ca_key] | |
backend = vault_mount.root.path | |
pem_bundle = local_file.ca_pem_bundle.sensitive_content | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment