Install SecretHub Terraform Provider

Select your operating system and architecture below to find out how to install the SecretHub Terraform Provider.

Execute the following in your terminal to install the latest version of the Terraform Provider on Linux:

amd64

mkdir -p ~/.terraform.d/plugins && curl -SfL https://github.com/secrethub/terraform-provider-secrethub/releases/latest/download/terraform-provider-secrethub-linux-amd64.tar.gz | tar zxf - -C ~/.terraform.d/plugins

x86/i386

mkdir -p ~/.terraform.d/plugins && curl -SfL https://github.com/secrethub/terraform-provider-secrethub/releases/latest/download/terraform-provider-secrethub-linux-386.tar.gz | tar zxf - -C ~/.terraform.d/plugins

Execute the following in your terminal to install the latest version of the Terraform Provider on MacOS:

mkdir -p ~/.terraform.d/plugins && curl -SfL https://github.com/secrethub/terraform-provider-secrethub/releases/latest/download/terraform-provider-secrethub-darwin-amd64.tar.gz | tar zxf - -C ~/.terraform.d/plugins

Execute the following in PowerShell to install the latest version of the Terraform Provider on Windows:

amd64

$tmp = "$(New-TemporaryFile).zip"; Invoke-WebRequest -OutFile $tmp https://github.com/secrethub/terraform-provider-secrethub/releases/latest/download/terraform-provider-secrethub-windows-amd64.zip; $tmp | Expand-Archive -Force -DestinationPath "${env:APPDATA}\terraform.d\plugins" ; $tmp | Remove-Item

x86/i386

$tmp = "$(New-TemporaryFile).zip"; Invoke-WebRequest -OutFile $tmp https://github.com/secrethub/terraform-provider-secrethub/releases/latest/download/terraform-provider-secrethub-windows-386.zip; $tmp | Expand-Archive -Force -DestinationPath "${env:APPDATA}\terraform.d\plugins" ; $tmp | Remove-Item

Go to the releases page on GitHub to fetch the latest releases of the Terraform Provider. You can manually install it by placing the content of the archive in %APPDATA%\terraform.d\plugins for Windows and ~/.terraform.d/plugins for all other operating systems.

For help on manually installing Terraform Providers, please refer to the official Terraform documentation.