Allows creation of a list of secrets in an existing Azure Key Vault
It supports creating:
- Automatically creates Softcat SSH Key
- Secrets
Review the examples folder: examples
Perform the following commands on the root folder:
terraform init
to get the pluginsterraform plan
to see the infrastructure planterraform apply
to apply the infrastructure buildterraform destroy
to destroy the built infrastructure
< use terraform-docs to create Inputs and Outpus documentation terraform-docs
terraform-docs markdown .
The following dependencies must be installed on the development system:
Azure
- Terraform Provider for Azure
- CLI Tool az
Name | Version |
---|---|
azurerm | n/a |
random | n/a |
tls | n/a |
No modules.
Name | Type |
---|---|
azurerm_key_vault_secret.add_password | resource |
azurerm_key_vault_secret.add_softcat_private_key | resource |
azurerm_key_vault_secret.add_softcat_public_key | resource |
random_password.gen_password | resource |
tls_private_key.softcat_key | resource |
azurerm_key_vault.softcat | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
bastion_softcat_ssh_key_name | Softcat SSH key for Bastion Name | string |
"Softcat-Bastion" |
no |
create_bastion_softcat_ssh_key | Create Softcat SSH key pair for Bastion | bool |
false |
no |
key_vault_name | Key Vault Name. | string |
n/a | yes |
passwords | List resources that require a random password. | list(object({ |
[] |
no |
resource_group_name | Resource Group Name for Key Vault | string |
n/a | yes |
tags | A map of tags to add to all resources | map(string) |
{} |
no |
Name | Description |
---|---|
passwords | A mapping of password names and URIs. |
softcat_public_ssh_key | Public key used to connect to VMs via Bastion. |
Refer to the contribution guidelines for information on contributing to this module.