Module config
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the
pulumi/pulumi-vaultrepo; however, if that doesn’t turn up anything, please consult the sourceterraform-providers/terraform-provider-vaultrepo.
APIs
- addAddressToEnv
- address
- authLogins
- caCertDir
- caCertFile
- clientAuths
- headers
- maxLeaseTtlSeconds
- maxRetries
- namespace
- skipTlsVerify
- token
- tokenName
APIs
let addAddressToEnv
let addAddressToEnv: string | undefined = __config.get("addAddressToEnv");If true, adds the value of the address argument to the Terraform process environment.
let address
let address: string | undefined = __config.get("address") || utilities.getEnv("VAULT_ADDR");URL of the root of the target Vault server.
let authLogins
let authLogins: {
namespace?: undefined | string;
parameters?: undefined | {[key: string]: string};
path: string;
}[] | undefined = __config.getObject<{ namespace?: string, parameters?: {[key: string]: string}, path: string }[]>("authLogins");Login to vault with an existing auth method using auth/
let caCertDir
let caCertDir: string | undefined = __config.get("caCertDir") || utilities.getEnv("VAULT_CAPATH");Path to directory containing CA certificate files to validate the server’s certificate.
let caCertFile
let caCertFile: string | undefined = __config.get("caCertFile") || utilities.getEnv("VAULT_CACERT");Path to a CA certificate file to validate the server’s certificate.
let clientAuths
let clientAuths: {
certFile: string;
keyFile: string;
}[] | undefined = __config.getObject<{ certFile: string, keyFile: string }[]>("clientAuths");Client authentication credentials.
let headers
let headers: {
name: string;
value: string;
}[] | undefined = __config.getObject<{ name: string, value: string }[]>("headers");The headers to send with each Vault request.
let maxLeaseTtlSeconds
let maxLeaseTtlSeconds: number | undefined = __config.getObject<number>("maxLeaseTtlSeconds") || (utilities.getEnvNumber("TERRAFORM_VAULT_MAX_TTL") || 1200);Maximum TTL for secret leases requested by this provider
let maxRetries
let maxRetries: number | undefined = __config.getObject<number>("maxRetries") || (utilities.getEnvNumber("VAULT_MAX_RETRIES") || 2);Maximum number of retries when a 5xx error code is encountered.
let namespace
let namespace: string | undefined = __config.get("namespace") || utilities.getEnv("VAULT_NAMESPACE");The namespace to use. Available only for Vault Enterprise
let skipTlsVerify
let skipTlsVerify: boolean | undefined = __config.getObject<boolean>("skipTlsVerify") || utilities.getEnvBoolean("VAULT_SKIP_VERIFY");Set this to true only if the target Vault server is an insecure development instance.
let token
let token: string | undefined = __config.get("token") || utilities.getEnv("VAULT_TOKEN");Token to use to authenticate to Vault.
let tokenName
let tokenName: string | undefined = __config.get("tokenName") || utilities.getEnv("VAULT_TOKEN_NAME");Token name to use for creating the Vault child token.