SecretHub Provider

The SecretHub provider is used to interact with the resources supported by SecretHub. The provider needs to be configured with a SecretHub credential before it can be used.

You can set environment variable SECRETHUB_CREDENTIAL or read it from disk using the file() function.



Example Usage

provider "secrethub" {
  credential = file("~/.secrethub/credential")

Argument Reference

The following arguments are supported:

  • credential - (Required) Credential to use for SecretHub authentication. Can also be sourced from SECRETHUB_CREDENTIAL.
  • credential_passphrase - (Optional) Passphrase to unlock the authentication passed in credential.