The Thycotic DevOps Secrets Vault (DSV) Terraform Provider makes Secrets data available and provisions client secrets for existing roles.
Installation
The latest release can be downloaded from here.
Extract the specific file for your OS and Architecture to the plugins directory of the user's profile. You may have to create the directory.
OS |
Default Path |
Linux |
~/.terraform.d/plugins |
Windows |
%APPDATA%\terraform.d\plugins |
Terraform 0.13 uses a different file system layout for 3rd party providers. More information on this can be found here. The following folder path will need to be created in the plugins directory of the user's profile.
Windows
%APPDATA%\TERRAFORM.D\PLUGINS
└───terraform.thycotic.com
└───thycotic
└───dsv
└───1.0.0
└───windows_amd64
Linux
~/.terraform.d/plugins
└───terraform.thycotic.com
└───thycotic
└───dsv
└───1.0.0
├───linux_amd64
Usage
For Terraform 0.13+, include the terraform
block in your configuration or plan to that specifies the provider:
terraform {
required_providers {
dsv = {
source = "terraform.thycotic.com/thycotic/dsv"
version = "~> 1.0"
}
}
}
To run the example, create a terraform.tfvars
:
dsv_client_id = "a54bc1b6-7dd7-4fb1-a8ba-bbfa81820e40"
dsv_client_secret = "xxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxx-xxxxx"
dsv_tenant = "mytenant"
dsv_role_name = "example-role"
dsv_secret_path = "/path/to/a/test/secret"