vault.gcp.SecretBackend
Explore with Pulumi AI
Example Usage
You can setup the GCP secret backend with Workload Identity Federation (WIF) for a secret-less configuration:
import * as pulumi from "@pulumi/pulumi";
import * as vault from "@pulumi/vault";
const gcp = new vault.gcp.SecretBackend("gcp", {
identityTokenKey: "example-key",
identityTokenTtl: 1800,
identityTokenAudience: "<TOKEN_AUDIENCE>",
serviceAccountEmail: "<SERVICE_ACCOUNT_EMAIL>",
});
import pulumi
import pulumi_vault as vault
gcp = vault.gcp.SecretBackend("gcp",
identity_token_key="example-key",
identity_token_ttl=1800,
identity_token_audience="<TOKEN_AUDIENCE>",
service_account_email="<SERVICE_ACCOUNT_EMAIL>")
package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault/gcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gcp.NewSecretBackend(ctx, "gcp", &gcp.SecretBackendArgs{
IdentityTokenKey: pulumi.String("example-key"),
IdentityTokenTtl: pulumi.Int(1800),
IdentityTokenAudience: pulumi.String("<TOKEN_AUDIENCE>"),
ServiceAccountEmail: pulumi.String("<SERVICE_ACCOUNT_EMAIL>"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vault = Pulumi.Vault;
return await Deployment.RunAsync(() =>
{
var gcp = new Vault.Gcp.SecretBackend("gcp", new()
{
IdentityTokenKey = "example-key",
IdentityTokenTtl = 1800,
IdentityTokenAudience = "<TOKEN_AUDIENCE>",
ServiceAccountEmail = "<SERVICE_ACCOUNT_EMAIL>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vault.gcp.SecretBackend;
import com.pulumi.vault.gcp.SecretBackendArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var gcp = new SecretBackend("gcp", SecretBackendArgs.builder()
.identityTokenKey("example-key")
.identityTokenTtl(1800)
.identityTokenAudience("<TOKEN_AUDIENCE>")
.serviceAccountEmail("<SERVICE_ACCOUNT_EMAIL>")
.build());
}
}
resources:
gcp:
type: vault:gcp:SecretBackend
properties:
identityTokenKey: example-key
identityTokenTtl: 1800
identityTokenAudience: <TOKEN_AUDIENCE>
serviceAccountEmail: <SERVICE_ACCOUNT_EMAIL>
import * as pulumi from "@pulumi/pulumi";
import * as std from "@pulumi/std";
import * as vault from "@pulumi/vault";
const gcp = new vault.gcp.SecretBackend("gcp", {credentials: std.file({
input: "credentials.json",
}).then(invoke => invoke.result)});
import pulumi
import pulumi_std as std
import pulumi_vault as vault
gcp = vault.gcp.SecretBackend("gcp", credentials=std.file(input="credentials.json").result)
package main
import (
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault/gcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
invokeFile, err := std.File(ctx, &std.FileArgs{
Input: "credentials.json",
}, nil)
if err != nil {
return err
}
_, err = gcp.NewSecretBackend(ctx, "gcp", &gcp.SecretBackendArgs{
Credentials: pulumi.String(invokeFile.Result),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Std = Pulumi.Std;
using Vault = Pulumi.Vault;
return await Deployment.RunAsync(() =>
{
var gcp = new Vault.Gcp.SecretBackend("gcp", new()
{
Credentials = Std.File.Invoke(new()
{
Input = "credentials.json",
}).Apply(invoke => invoke.Result),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vault.gcp.SecretBackend;
import com.pulumi.vault.gcp.SecretBackendArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var gcp = new SecretBackend("gcp", SecretBackendArgs.builder()
.credentials(StdFunctions.file(FileArgs.builder()
.input("credentials.json")
.build()).result())
.build());
}
}
resources:
gcp:
type: vault:gcp:SecretBackend
properties:
credentials:
fn::invoke:
Function: std:file
Arguments:
input: credentials.json
Return: result
Create SecretBackend Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecretBackend(name: string, args?: SecretBackendArgs, opts?: CustomResourceOptions);
@overload
def SecretBackend(resource_name: str,
args: Optional[SecretBackendArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def SecretBackend(resource_name: str,
opts: Optional[ResourceOptions] = None,
credentials: Optional[str] = None,
default_lease_ttl_seconds: Optional[int] = None,
description: Optional[str] = None,
disable_remount: Optional[bool] = None,
identity_token_audience: Optional[str] = None,
identity_token_key: Optional[str] = None,
identity_token_ttl: Optional[int] = None,
local: Optional[bool] = None,
max_lease_ttl_seconds: Optional[int] = None,
namespace: Optional[str] = None,
path: Optional[str] = None,
service_account_email: Optional[str] = None)
func NewSecretBackend(ctx *Context, name string, args *SecretBackendArgs, opts ...ResourceOption) (*SecretBackend, error)
public SecretBackend(string name, SecretBackendArgs? args = null, CustomResourceOptions? opts = null)
public SecretBackend(String name, SecretBackendArgs args)
public SecretBackend(String name, SecretBackendArgs args, CustomResourceOptions options)
type: vault:gcp:SecretBackend
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SecretBackendArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SecretBackendArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SecretBackendArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecretBackendArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecretBackendArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var examplesecretBackendResourceResourceFromGcpsecretBackend = new Vault.Gcp.SecretBackend("examplesecretBackendResourceResourceFromGcpsecretBackend", new()
{
Credentials = "string",
DefaultLeaseTtlSeconds = 0,
Description = "string",
DisableRemount = false,
IdentityTokenAudience = "string",
IdentityTokenKey = "string",
IdentityTokenTtl = 0,
Local = false,
MaxLeaseTtlSeconds = 0,
Namespace = "string",
Path = "string",
ServiceAccountEmail = "string",
});
example, err := gcp.NewSecretBackend(ctx, "examplesecretBackendResourceResourceFromGcpsecretBackend", &gcp.SecretBackendArgs{
Credentials: pulumi.String("string"),
DefaultLeaseTtlSeconds: pulumi.Int(0),
Description: pulumi.String("string"),
DisableRemount: pulumi.Bool(false),
IdentityTokenAudience: pulumi.String("string"),
IdentityTokenKey: pulumi.String("string"),
IdentityTokenTtl: pulumi.Int(0),
Local: pulumi.Bool(false),
MaxLeaseTtlSeconds: pulumi.Int(0),
Namespace: pulumi.String("string"),
Path: pulumi.String("string"),
ServiceAccountEmail: pulumi.String("string"),
})
var examplesecretBackendResourceResourceFromGcpsecretBackend = new SecretBackend("examplesecretBackendResourceResourceFromGcpsecretBackend", SecretBackendArgs.builder()
.credentials("string")
.defaultLeaseTtlSeconds(0)
.description("string")
.disableRemount(false)
.identityTokenAudience("string")
.identityTokenKey("string")
.identityTokenTtl(0)
.local(false)
.maxLeaseTtlSeconds(0)
.namespace("string")
.path("string")
.serviceAccountEmail("string")
.build());
examplesecret_backend_resource_resource_from_gcpsecret_backend = vault.gcp.SecretBackend("examplesecretBackendResourceResourceFromGcpsecretBackend",
credentials="string",
default_lease_ttl_seconds=0,
description="string",
disable_remount=False,
identity_token_audience="string",
identity_token_key="string",
identity_token_ttl=0,
local=False,
max_lease_ttl_seconds=0,
namespace="string",
path="string",
service_account_email="string")
const examplesecretBackendResourceResourceFromGcpsecretBackend = new vault.gcp.SecretBackend("examplesecretBackendResourceResourceFromGcpsecretBackend", {
credentials: "string",
defaultLeaseTtlSeconds: 0,
description: "string",
disableRemount: false,
identityTokenAudience: "string",
identityTokenKey: "string",
identityTokenTtl: 0,
local: false,
maxLeaseTtlSeconds: 0,
namespace: "string",
path: "string",
serviceAccountEmail: "string",
});
type: vault:gcp:SecretBackend
properties:
credentials: string
defaultLeaseTtlSeconds: 0
description: string
disableRemount: false
identityTokenAudience: string
identityTokenKey: string
identityTokenTtl: 0
local: false
maxLeaseTtlSeconds: 0
namespace: string
path: string
serviceAccountEmail: string
SecretBackend Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SecretBackend resource accepts the following input properties:
- Credentials string
- JSON-encoded credentials to use to connect to GCP
- Default
Lease intTtl Seconds - The default TTL for credentials issued by this backend. Defaults to '0'.
- Description string
- A human-friendly description for this backend.
- Disable
Remount bool - If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- Identity
Token stringAudience - The audience claim value for plugin identity
tokens. Must match an allowed audience configured for the target Workload Identity Pool.
Mutually exclusive with
credentials
. Requires Vault 1.17+. Available only for Vault Enterprise. - Identity
Token stringKey - The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- Identity
Token intTtl - The TTL of generated tokens.
- Local bool
- Boolean flag that can be explicitly set to true to enforce local mount in HA environment
- Max
Lease intTtl Seconds - The maximum TTL that can be requested for credentials issued by this backend. Defaults to '0'.
- Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - Path string
- The unique path this backend should be mounted at. Must
not begin or end with a
/
. Defaults togcp
. - Service
Account stringEmail - Service Account to impersonate for plugin workload identity federation.
Required with
identity_token_audience
. Requires Vault 1.17+. Available only for Vault Enterprise.
- Credentials string
- JSON-encoded credentials to use to connect to GCP
- Default
Lease intTtl Seconds - The default TTL for credentials issued by this backend. Defaults to '0'.
- Description string
- A human-friendly description for this backend.
- Disable
Remount bool - If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- Identity
Token stringAudience - The audience claim value for plugin identity
tokens. Must match an allowed audience configured for the target Workload Identity Pool.
Mutually exclusive with
credentials
. Requires Vault 1.17+. Available only for Vault Enterprise. - Identity
Token stringKey - The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- Identity
Token intTtl - The TTL of generated tokens.
- Local bool
- Boolean flag that can be explicitly set to true to enforce local mount in HA environment
- Max
Lease intTtl Seconds - The maximum TTL that can be requested for credentials issued by this backend. Defaults to '0'.
- Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - Path string
- The unique path this backend should be mounted at. Must
not begin or end with a
/
. Defaults togcp
. - Service
Account stringEmail - Service Account to impersonate for plugin workload identity federation.
Required with
identity_token_audience
. Requires Vault 1.17+. Available only for Vault Enterprise.
- credentials String
- JSON-encoded credentials to use to connect to GCP
- default
Lease IntegerTtl Seconds - The default TTL for credentials issued by this backend. Defaults to '0'.
- description String
- A human-friendly description for this backend.
- disable
Remount Boolean - If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- identity
Token StringAudience - The audience claim value for plugin identity
tokens. Must match an allowed audience configured for the target Workload Identity Pool.
Mutually exclusive with
credentials
. Requires Vault 1.17+. Available only for Vault Enterprise. - identity
Token StringKey - The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- identity
Token IntegerTtl - The TTL of generated tokens.
- local Boolean
- Boolean flag that can be explicitly set to true to enforce local mount in HA environment
- max
Lease IntegerTtl Seconds - The maximum TTL that can be requested for credentials issued by this backend. Defaults to '0'.
- namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - path String
- The unique path this backend should be mounted at. Must
not begin or end with a
/
. Defaults togcp
. - service
Account StringEmail - Service Account to impersonate for plugin workload identity federation.
Required with
identity_token_audience
. Requires Vault 1.17+. Available only for Vault Enterprise.
- credentials string
- JSON-encoded credentials to use to connect to GCP
- default
Lease numberTtl Seconds - The default TTL for credentials issued by this backend. Defaults to '0'.
- description string
- A human-friendly description for this backend.
- disable
Remount boolean - If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- identity
Token stringAudience - The audience claim value for plugin identity
tokens. Must match an allowed audience configured for the target Workload Identity Pool.
Mutually exclusive with
credentials
. Requires Vault 1.17+. Available only for Vault Enterprise. - identity
Token stringKey - The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- identity
Token numberTtl - The TTL of generated tokens.
- local boolean
- Boolean flag that can be explicitly set to true to enforce local mount in HA environment
- max
Lease numberTtl Seconds - The maximum TTL that can be requested for credentials issued by this backend. Defaults to '0'.
- namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - path string
- The unique path this backend should be mounted at. Must
not begin or end with a
/
. Defaults togcp
. - service
Account stringEmail - Service Account to impersonate for plugin workload identity federation.
Required with
identity_token_audience
. Requires Vault 1.17+. Available only for Vault Enterprise.
- credentials str
- JSON-encoded credentials to use to connect to GCP
- default_
lease_ intttl_ seconds - The default TTL for credentials issued by this backend. Defaults to '0'.
- description str
- A human-friendly description for this backend.
- disable_
remount bool - If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- identity_
token_ straudience - The audience claim value for plugin identity
tokens. Must match an allowed audience configured for the target Workload Identity Pool.
Mutually exclusive with
credentials
. Requires Vault 1.17+. Available only for Vault Enterprise. - identity_
token_ strkey - The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- identity_
token_ intttl - The TTL of generated tokens.
- local bool
- Boolean flag that can be explicitly set to true to enforce local mount in HA environment
- max_
lease_ intttl_ seconds - The maximum TTL that can be requested for credentials issued by this backend. Defaults to '0'.
- namespace str
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - path str
- The unique path this backend should be mounted at. Must
not begin or end with a
/
. Defaults togcp
. - service_
account_ stremail - Service Account to impersonate for plugin workload identity federation.
Required with
identity_token_audience
. Requires Vault 1.17+. Available only for Vault Enterprise.
- credentials String
- JSON-encoded credentials to use to connect to GCP
- default
Lease NumberTtl Seconds - The default TTL for credentials issued by this backend. Defaults to '0'.
- description String
- A human-friendly description for this backend.
- disable
Remount Boolean - If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- identity
Token StringAudience - The audience claim value for plugin identity
tokens. Must match an allowed audience configured for the target Workload Identity Pool.
Mutually exclusive with
credentials
. Requires Vault 1.17+. Available only for Vault Enterprise. - identity
Token StringKey - The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- identity
Token NumberTtl - The TTL of generated tokens.
- local Boolean
- Boolean flag that can be explicitly set to true to enforce local mount in HA environment
- max
Lease NumberTtl Seconds - The maximum TTL that can be requested for credentials issued by this backend. Defaults to '0'.
- namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - path String
- The unique path this backend should be mounted at. Must
not begin or end with a
/
. Defaults togcp
. - service
Account StringEmail - Service Account to impersonate for plugin workload identity federation.
Required with
identity_token_audience
. Requires Vault 1.17+. Available only for Vault Enterprise.
Outputs
All input properties are implicitly available as output properties. Additionally, the SecretBackend resource produces the following output properties:
Look up Existing SecretBackend Resource
Get an existing SecretBackend resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SecretBackendState, opts?: CustomResourceOptions): SecretBackend
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accessor: Optional[str] = None,
credentials: Optional[str] = None,
default_lease_ttl_seconds: Optional[int] = None,
description: Optional[str] = None,
disable_remount: Optional[bool] = None,
identity_token_audience: Optional[str] = None,
identity_token_key: Optional[str] = None,
identity_token_ttl: Optional[int] = None,
local: Optional[bool] = None,
max_lease_ttl_seconds: Optional[int] = None,
namespace: Optional[str] = None,
path: Optional[str] = None,
service_account_email: Optional[str] = None) -> SecretBackend
func GetSecretBackend(ctx *Context, name string, id IDInput, state *SecretBackendState, opts ...ResourceOption) (*SecretBackend, error)
public static SecretBackend Get(string name, Input<string> id, SecretBackendState? state, CustomResourceOptions? opts = null)
public static SecretBackend get(String name, Output<String> id, SecretBackendState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Accessor string
- The accessor of the created GCP mount.
- Credentials string
- JSON-encoded credentials to use to connect to GCP
- Default
Lease intTtl Seconds - The default TTL for credentials issued by this backend. Defaults to '0'.
- Description string
- A human-friendly description for this backend.
- Disable
Remount bool - If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- Identity
Token stringAudience - The audience claim value for plugin identity
tokens. Must match an allowed audience configured for the target Workload Identity Pool.
Mutually exclusive with
credentials
. Requires Vault 1.17+. Available only for Vault Enterprise. - Identity
Token stringKey - The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- Identity
Token intTtl - The TTL of generated tokens.
- Local bool
- Boolean flag that can be explicitly set to true to enforce local mount in HA environment
- Max
Lease intTtl Seconds - The maximum TTL that can be requested for credentials issued by this backend. Defaults to '0'.
- Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - Path string
- The unique path this backend should be mounted at. Must
not begin or end with a
/
. Defaults togcp
. - Service
Account stringEmail - Service Account to impersonate for plugin workload identity federation.
Required with
identity_token_audience
. Requires Vault 1.17+. Available only for Vault Enterprise.
- Accessor string
- The accessor of the created GCP mount.
- Credentials string
- JSON-encoded credentials to use to connect to GCP
- Default
Lease intTtl Seconds - The default TTL for credentials issued by this backend. Defaults to '0'.
- Description string
- A human-friendly description for this backend.
- Disable
Remount bool - If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- Identity
Token stringAudience - The audience claim value for plugin identity
tokens. Must match an allowed audience configured for the target Workload Identity Pool.
Mutually exclusive with
credentials
. Requires Vault 1.17+. Available only for Vault Enterprise. - Identity
Token stringKey - The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- Identity
Token intTtl - The TTL of generated tokens.
- Local bool
- Boolean flag that can be explicitly set to true to enforce local mount in HA environment
- Max
Lease intTtl Seconds - The maximum TTL that can be requested for credentials issued by this backend. Defaults to '0'.
- Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - Path string
- The unique path this backend should be mounted at. Must
not begin or end with a
/
. Defaults togcp
. - Service
Account stringEmail - Service Account to impersonate for plugin workload identity federation.
Required with
identity_token_audience
. Requires Vault 1.17+. Available only for Vault Enterprise.
- accessor String
- The accessor of the created GCP mount.
- credentials String
- JSON-encoded credentials to use to connect to GCP
- default
Lease IntegerTtl Seconds - The default TTL for credentials issued by this backend. Defaults to '0'.
- description String
- A human-friendly description for this backend.
- disable
Remount Boolean - If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- identity
Token StringAudience - The audience claim value for plugin identity
tokens. Must match an allowed audience configured for the target Workload Identity Pool.
Mutually exclusive with
credentials
. Requires Vault 1.17+. Available only for Vault Enterprise. - identity
Token StringKey - The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- identity
Token IntegerTtl - The TTL of generated tokens.
- local Boolean
- Boolean flag that can be explicitly set to true to enforce local mount in HA environment
- max
Lease IntegerTtl Seconds - The maximum TTL that can be requested for credentials issued by this backend. Defaults to '0'.
- namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - path String
- The unique path this backend should be mounted at. Must
not begin or end with a
/
. Defaults togcp
. - service
Account StringEmail - Service Account to impersonate for plugin workload identity federation.
Required with
identity_token_audience
. Requires Vault 1.17+. Available only for Vault Enterprise.
- accessor string
- The accessor of the created GCP mount.
- credentials string
- JSON-encoded credentials to use to connect to GCP
- default
Lease numberTtl Seconds - The default TTL for credentials issued by this backend. Defaults to '0'.
- description string
- A human-friendly description for this backend.
- disable
Remount boolean - If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- identity
Token stringAudience - The audience claim value for plugin identity
tokens. Must match an allowed audience configured for the target Workload Identity Pool.
Mutually exclusive with
credentials
. Requires Vault 1.17+. Available only for Vault Enterprise. - identity
Token stringKey - The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- identity
Token numberTtl - The TTL of generated tokens.
- local boolean
- Boolean flag that can be explicitly set to true to enforce local mount in HA environment
- max
Lease numberTtl Seconds - The maximum TTL that can be requested for credentials issued by this backend. Defaults to '0'.
- namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - path string
- The unique path this backend should be mounted at. Must
not begin or end with a
/
. Defaults togcp
. - service
Account stringEmail - Service Account to impersonate for plugin workload identity federation.
Required with
identity_token_audience
. Requires Vault 1.17+. Available only for Vault Enterprise.
- accessor str
- The accessor of the created GCP mount.
- credentials str
- JSON-encoded credentials to use to connect to GCP
- default_
lease_ intttl_ seconds - The default TTL for credentials issued by this backend. Defaults to '0'.
- description str
- A human-friendly description for this backend.
- disable_
remount bool - If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- identity_
token_ straudience - The audience claim value for plugin identity
tokens. Must match an allowed audience configured for the target Workload Identity Pool.
Mutually exclusive with
credentials
. Requires Vault 1.17+. Available only for Vault Enterprise. - identity_
token_ strkey - The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- identity_
token_ intttl - The TTL of generated tokens.
- local bool
- Boolean flag that can be explicitly set to true to enforce local mount in HA environment
- max_
lease_ intttl_ seconds - The maximum TTL that can be requested for credentials issued by this backend. Defaults to '0'.
- namespace str
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - path str
- The unique path this backend should be mounted at. Must
not begin or end with a
/
. Defaults togcp
. - service_
account_ stremail - Service Account to impersonate for plugin workload identity federation.
Required with
identity_token_audience
. Requires Vault 1.17+. Available only for Vault Enterprise.
- accessor String
- The accessor of the created GCP mount.
- credentials String
- JSON-encoded credentials to use to connect to GCP
- default
Lease NumberTtl Seconds - The default TTL for credentials issued by this backend. Defaults to '0'.
- description String
- A human-friendly description for this backend.
- disable
Remount Boolean - If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- identity
Token StringAudience - The audience claim value for plugin identity
tokens. Must match an allowed audience configured for the target Workload Identity Pool.
Mutually exclusive with
credentials
. Requires Vault 1.17+. Available only for Vault Enterprise. - identity
Token StringKey - The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- identity
Token NumberTtl - The TTL of generated tokens.
- local Boolean
- Boolean flag that can be explicitly set to true to enforce local mount in HA environment
- max
Lease NumberTtl Seconds - The maximum TTL that can be requested for credentials issued by this backend. Defaults to '0'.
- namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - path String
- The unique path this backend should be mounted at. Must
not begin or end with a
/
. Defaults togcp
. - service
Account StringEmail - Service Account to impersonate for plugin workload identity federation.
Required with
identity_token_audience
. Requires Vault 1.17+. Available only for Vault Enterprise.
Package Details
- Repository
- Vault pulumi/pulumi-vault
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vault
Terraform Provider.