Skip to content

aperigault/terraform-provider-tss

Repository files navigation

NOTE: This provider is a fork of missing thycotic/terraform-provider-tss

Thycotic Secret Server - Terraform Provider

The Thycotic Secret Server Terraform Provider allows you to access and reference Secrets in your vault for use in Terraform configurations.

Install via Registry

Preferred way to install

The latest release can be downloaded from the terraform registry. The documentation can be found here.

If wish to install straight from source, follow the steps below.

Install form Source

Terraform 0.12 and earlier

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 and later

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
        └───tss
            └───1.0.2
                └───windows_amd64

Linux

~/.terraform.d/plugins
└───terraform.thycotic.com
    └───thycotic
        └───tss
            └───1.0.2
                ├───linux_amd64

Usage

For Terraform 0.13+, include the terraform block in your configuration, or plan, that specifies the provider:

terraform {
  required_providers {
    tss = {
      source = "thycotic/tss"
      version = "1.0.2"
    }
  }
}

To run the example, create a terraform.tfvars:

tss_username   = "my_app_user"
tss_password   = "Passw0rd."
tss_server_url = "https://example/SecretServer"
tss_secret_id  = "1"

Environment variables

You can provide your credentials via the TSS_SERVER_URL, TSS_USERNAME and TSS_PASSWORD environment variables. In this case, tss provider could be represented like this

provider "tss" {}

Usage

$ export TSS_USERNAME="my_app_user"
$ export TSS_PASSWORD="Passw0rd."
$ export TSS_SERVER_URL="https://localhost/SecretServer"
$ terraform plan

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published