vault.gcp.AuthBackend
Explore with Pulumi AI
Provides a resource to configure the GCP auth backend within Vault.
Example Usage
You can setup the GCP auth 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.AuthBackend("gcp", {
    identityTokenKey: "example-key",
    identityTokenTtl: 1800,
    identityTokenAudience: "<TOKEN_AUDIENCE>",
    serviceAccountEmail: "<SERVICE_ACCOUNT_EMAIL>",
    rotationSchedule: "0 * * * SAT",
    rotationWindow: 3600,
});
import pulumi
import pulumi_vault as vault
gcp = vault.gcp.AuthBackend("gcp",
    identity_token_key="example-key",
    identity_token_ttl=1800,
    identity_token_audience="<TOKEN_AUDIENCE>",
    service_account_email="<SERVICE_ACCOUNT_EMAIL>",
    rotation_schedule="0 * * * SAT",
    rotation_window=3600)
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.NewAuthBackend(ctx, "gcp", &gcp.AuthBackendArgs{
			IdentityTokenKey:      pulumi.String("example-key"),
			IdentityTokenTtl:      pulumi.Int(1800),
			IdentityTokenAudience: pulumi.String("<TOKEN_AUDIENCE>"),
			ServiceAccountEmail:   pulumi.String("<SERVICE_ACCOUNT_EMAIL>"),
			RotationSchedule:      pulumi.String("0 * * * SAT"),
			RotationWindow:        pulumi.Int(3600),
		})
		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.AuthBackend("gcp", new()
    {
        IdentityTokenKey = "example-key",
        IdentityTokenTtl = 1800,
        IdentityTokenAudience = "<TOKEN_AUDIENCE>",
        ServiceAccountEmail = "<SERVICE_ACCOUNT_EMAIL>",
        RotationSchedule = "0 * * * SAT",
        RotationWindow = 3600,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vault.gcp.AuthBackend;
import com.pulumi.vault.gcp.AuthBackendArgs;
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 AuthBackend("gcp", AuthBackendArgs.builder()
            .identityTokenKey("example-key")
            .identityTokenTtl(1800)
            .identityTokenAudience("<TOKEN_AUDIENCE>")
            .serviceAccountEmail("<SERVICE_ACCOUNT_EMAIL>")
            .rotationSchedule("0 * * * SAT")
            .rotationWindow(3600)
            .build());
    }
}
resources:
  gcp:
    type: vault:gcp:AuthBackend
    properties:
      identityTokenKey: example-key
      identityTokenTtl: 1800
      identityTokenAudience: <TOKEN_AUDIENCE>
      serviceAccountEmail: <SERVICE_ACCOUNT_EMAIL>
      rotationSchedule: 0 * * * SAT
      rotationWindow: 3600
Create AuthBackend Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AuthBackend(name: string, args?: AuthBackendArgs, opts?: CustomResourceOptions);@overload
def AuthBackend(resource_name: str,
                args: Optional[AuthBackendArgs] = None,
                opts: Optional[ResourceOptions] = None)
@overload
def AuthBackend(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                client_email: Optional[str] = None,
                client_id: Optional[str] = None,
                credentials: Optional[str] = None,
                custom_endpoint: Optional[AuthBackendCustomEndpointArgs] = None,
                description: Optional[str] = None,
                disable_automated_rotation: Optional[bool] = 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,
                namespace: Optional[str] = None,
                path: Optional[str] = None,
                private_key_id: Optional[str] = None,
                project_id: Optional[str] = None,
                rotation_period: Optional[int] = None,
                rotation_schedule: Optional[str] = None,
                rotation_window: Optional[int] = None,
                service_account_email: Optional[str] = None,
                tune: Optional[AuthBackendTuneArgs] = None)func NewAuthBackend(ctx *Context, name string, args *AuthBackendArgs, opts ...ResourceOption) (*AuthBackend, error)public AuthBackend(string name, AuthBackendArgs? args = null, CustomResourceOptions? opts = null)
public AuthBackend(String name, AuthBackendArgs args)
public AuthBackend(String name, AuthBackendArgs args, CustomResourceOptions options)
type: vault:gcp:AuthBackend
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 AuthBackendArgs
- 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 AuthBackendArgs
- 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 AuthBackendArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthBackendArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AuthBackendArgs
- 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 authBackendResource = new Vault.Gcp.AuthBackend("authBackendResource", new()
{
    ClientEmail = "string",
    ClientId = "string",
    Credentials = "string",
    CustomEndpoint = new Vault.Gcp.Inputs.AuthBackendCustomEndpointArgs
    {
        Api = "string",
        Compute = "string",
        Crm = "string",
        Iam = "string",
    },
    Description = "string",
    DisableAutomatedRotation = false,
    DisableRemount = false,
    IdentityTokenAudience = "string",
    IdentityTokenKey = "string",
    IdentityTokenTtl = 0,
    Local = false,
    Namespace = "string",
    Path = "string",
    PrivateKeyId = "string",
    ProjectId = "string",
    RotationPeriod = 0,
    RotationSchedule = "string",
    RotationWindow = 0,
    ServiceAccountEmail = "string",
    Tune = new Vault.Gcp.Inputs.AuthBackendTuneArgs
    {
        AllowedResponseHeaders = new[]
        {
            "string",
        },
        AuditNonHmacRequestKeys = new[]
        {
            "string",
        },
        AuditNonHmacResponseKeys = new[]
        {
            "string",
        },
        DefaultLeaseTtl = "string",
        ListingVisibility = "string",
        MaxLeaseTtl = "string",
        PassthroughRequestHeaders = new[]
        {
            "string",
        },
        TokenType = "string",
    },
});
example, err := gcp.NewAuthBackend(ctx, "authBackendResource", &gcp.AuthBackendArgs{
	ClientEmail: pulumi.String("string"),
	ClientId:    pulumi.String("string"),
	Credentials: pulumi.String("string"),
	CustomEndpoint: &gcp.AuthBackendCustomEndpointArgs{
		Api:     pulumi.String("string"),
		Compute: pulumi.String("string"),
		Crm:     pulumi.String("string"),
		Iam:     pulumi.String("string"),
	},
	Description:              pulumi.String("string"),
	DisableAutomatedRotation: pulumi.Bool(false),
	DisableRemount:           pulumi.Bool(false),
	IdentityTokenAudience:    pulumi.String("string"),
	IdentityTokenKey:         pulumi.String("string"),
	IdentityTokenTtl:         pulumi.Int(0),
	Local:                    pulumi.Bool(false),
	Namespace:                pulumi.String("string"),
	Path:                     pulumi.String("string"),
	PrivateKeyId:             pulumi.String("string"),
	ProjectId:                pulumi.String("string"),
	RotationPeriod:           pulumi.Int(0),
	RotationSchedule:         pulumi.String("string"),
	RotationWindow:           pulumi.Int(0),
	ServiceAccountEmail:      pulumi.String("string"),
	Tune: &gcp.AuthBackendTuneArgs{
		AllowedResponseHeaders: pulumi.StringArray{
			pulumi.String("string"),
		},
		AuditNonHmacRequestKeys: pulumi.StringArray{
			pulumi.String("string"),
		},
		AuditNonHmacResponseKeys: pulumi.StringArray{
			pulumi.String("string"),
		},
		DefaultLeaseTtl:   pulumi.String("string"),
		ListingVisibility: pulumi.String("string"),
		MaxLeaseTtl:       pulumi.String("string"),
		PassthroughRequestHeaders: pulumi.StringArray{
			pulumi.String("string"),
		},
		TokenType: pulumi.String("string"),
	},
})
var authBackendResource = new com.pulumi.vault.gcp.AuthBackend("authBackendResource", com.pulumi.vault.gcp.AuthBackendArgs.builder()
    .clientEmail("string")
    .clientId("string")
    .credentials("string")
    .customEndpoint(AuthBackendCustomEndpointArgs.builder()
        .api("string")
        .compute("string")
        .crm("string")
        .iam("string")
        .build())
    .description("string")
    .disableAutomatedRotation(false)
    .disableRemount(false)
    .identityTokenAudience("string")
    .identityTokenKey("string")
    .identityTokenTtl(0)
    .local(false)
    .namespace("string")
    .path("string")
    .privateKeyId("string")
    .projectId("string")
    .rotationPeriod(0)
    .rotationSchedule("string")
    .rotationWindow(0)
    .serviceAccountEmail("string")
    .tune(AuthBackendTuneArgs.builder()
        .allowedResponseHeaders("string")
        .auditNonHmacRequestKeys("string")
        .auditNonHmacResponseKeys("string")
        .defaultLeaseTtl("string")
        .listingVisibility("string")
        .maxLeaseTtl("string")
        .passthroughRequestHeaders("string")
        .tokenType("string")
        .build())
    .build());
auth_backend_resource = vault.gcp.AuthBackend("authBackendResource",
    client_email="string",
    client_id="string",
    credentials="string",
    custom_endpoint={
        "api": "string",
        "compute": "string",
        "crm": "string",
        "iam": "string",
    },
    description="string",
    disable_automated_rotation=False,
    disable_remount=False,
    identity_token_audience="string",
    identity_token_key="string",
    identity_token_ttl=0,
    local=False,
    namespace="string",
    path="string",
    private_key_id="string",
    project_id="string",
    rotation_period=0,
    rotation_schedule="string",
    rotation_window=0,
    service_account_email="string",
    tune={
        "allowed_response_headers": ["string"],
        "audit_non_hmac_request_keys": ["string"],
        "audit_non_hmac_response_keys": ["string"],
        "default_lease_ttl": "string",
        "listing_visibility": "string",
        "max_lease_ttl": "string",
        "passthrough_request_headers": ["string"],
        "token_type": "string",
    })
const authBackendResource = new vault.gcp.AuthBackend("authBackendResource", {
    clientEmail: "string",
    clientId: "string",
    credentials: "string",
    customEndpoint: {
        api: "string",
        compute: "string",
        crm: "string",
        iam: "string",
    },
    description: "string",
    disableAutomatedRotation: false,
    disableRemount: false,
    identityTokenAudience: "string",
    identityTokenKey: "string",
    identityTokenTtl: 0,
    local: false,
    namespace: "string",
    path: "string",
    privateKeyId: "string",
    projectId: "string",
    rotationPeriod: 0,
    rotationSchedule: "string",
    rotationWindow: 0,
    serviceAccountEmail: "string",
    tune: {
        allowedResponseHeaders: ["string"],
        auditNonHmacRequestKeys: ["string"],
        auditNonHmacResponseKeys: ["string"],
        defaultLeaseTtl: "string",
        listingVisibility: "string",
        maxLeaseTtl: "string",
        passthroughRequestHeaders: ["string"],
        tokenType: "string",
    },
});
type: vault:gcp:AuthBackend
properties:
    clientEmail: string
    clientId: string
    credentials: string
    customEndpoint:
        api: string
        compute: string
        crm: string
        iam: string
    description: string
    disableAutomatedRotation: false
    disableRemount: false
    identityTokenAudience: string
    identityTokenKey: string
    identityTokenTtl: 0
    local: false
    namespace: string
    path: string
    privateKeyId: string
    projectId: string
    rotationPeriod: 0
    rotationSchedule: string
    rotationWindow: 0
    serviceAccountEmail: string
    tune:
        allowedResponseHeaders:
            - string
        auditNonHmacRequestKeys:
            - string
        auditNonHmacResponseKeys:
            - string
        defaultLeaseTtl: string
        listingVisibility: string
        maxLeaseTtl: string
        passthroughRequestHeaders:
            - string
        tokenType: string
AuthBackend Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AuthBackend resource accepts the following input properties:
- ClientEmail string
- The clients email associated with the credentials
- ClientId string
- The Client ID of the credentials
- Credentials string
- A JSON string containing the contents of a GCP credentials file. If this value is empty, Vault will try to use Application Default Credentials from the machine on which the Vault server is running.
- CustomEndpoint AuthBackend Custom Endpoint 
- Specifies overrides to service endpoints used when making API requests. This allows specific requests made during authentication to target alternative service endpoints for use in Private Google Access environments. Requires Vault 1.11+. - Overrides are set at the subdomain level using the following keys: 
- Description string
- A description of the auth method.
- DisableAutomated boolRotation 
- Cancels all upcoming rotations of the root credential until unset. Requires Vault Enterprise 1.19+.
- DisableRemount bool
- If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- IdentityToken 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.
- IdentityToken stringKey 
- The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- IdentityToken intTtl 
- The TTL of generated tokens.
- Local bool
- Specifies if the auth method is local only.
- Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise.
- Path string
- The path to mount the auth method — this defaults to 'gcp'.
- PrivateKey stringId 
- The ID of the private key from the credentials
- ProjectId string
- The GCP Project ID
- RotationPeriod int
- The amount of time in seconds Vault should wait before rotating the root credential. A zero value tells Vault not to rotate the root credential. The minimum rotation period is 10 seconds. Requires Vault Enterprise 1.19+.
- RotationSchedule string
- The schedule, in cron-style time format, defining the schedule on which Vault should rotate the root token. Requires Vault Enterprise 1.19+.
- RotationWindow int
- The maximum amount of time in seconds allowed to complete
a rotation when a scheduled token rotation occurs. The default rotation window is
unbound and the minimum allowable window is 3600. Requires Vault Enterprise 1.19+.
- ServiceAccount stringEmail 
- Service Account to impersonate for plugin workload identity federation.
Required with identity_token_audience. Requires Vault 1.17+. Available only for Vault Enterprise.
- Tune
AuthBackend Tune 
- Extra configuration block. Structure is documented below. - The - tuneblock is used to tune the auth backend:
- ClientEmail string
- The clients email associated with the credentials
- ClientId string
- The Client ID of the credentials
- Credentials string
- A JSON string containing the contents of a GCP credentials file. If this value is empty, Vault will try to use Application Default Credentials from the machine on which the Vault server is running.
- CustomEndpoint AuthBackend Custom Endpoint Args 
- Specifies overrides to service endpoints used when making API requests. This allows specific requests made during authentication to target alternative service endpoints for use in Private Google Access environments. Requires Vault 1.11+. - Overrides are set at the subdomain level using the following keys: 
- Description string
- A description of the auth method.
- DisableAutomated boolRotation 
- Cancels all upcoming rotations of the root credential until unset. Requires Vault Enterprise 1.19+.
- DisableRemount bool
- If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- IdentityToken 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.
- IdentityToken stringKey 
- The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- IdentityToken intTtl 
- The TTL of generated tokens.
- Local bool
- Specifies if the auth method is local only.
- Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise.
- Path string
- The path to mount the auth method — this defaults to 'gcp'.
- PrivateKey stringId 
- The ID of the private key from the credentials
- ProjectId string
- The GCP Project ID
- RotationPeriod int
- The amount of time in seconds Vault should wait before rotating the root credential. A zero value tells Vault not to rotate the root credential. The minimum rotation period is 10 seconds. Requires Vault Enterprise 1.19+.
- RotationSchedule string
- The schedule, in cron-style time format, defining the schedule on which Vault should rotate the root token. Requires Vault Enterprise 1.19+.
- RotationWindow int
- The maximum amount of time in seconds allowed to complete
a rotation when a scheduled token rotation occurs. The default rotation window is
unbound and the minimum allowable window is 3600. Requires Vault Enterprise 1.19+.
- ServiceAccount stringEmail 
- Service Account to impersonate for plugin workload identity federation.
Required with identity_token_audience. Requires Vault 1.17+. Available only for Vault Enterprise.
- Tune
AuthBackend Tune Args 
- Extra configuration block. Structure is documented below. - The - tuneblock is used to tune the auth backend:
- clientEmail String
- The clients email associated with the credentials
- clientId String
- The Client ID of the credentials
- credentials String
- A JSON string containing the contents of a GCP credentials file. If this value is empty, Vault will try to use Application Default Credentials from the machine on which the Vault server is running.
- customEndpoint AuthBackend Custom Endpoint 
- Specifies overrides to service endpoints used when making API requests. This allows specific requests made during authentication to target alternative service endpoints for use in Private Google Access environments. Requires Vault 1.11+. - Overrides are set at the subdomain level using the following keys: 
- description String
- A description of the auth method.
- disableAutomated BooleanRotation 
- Cancels all upcoming rotations of the root credential until unset. Requires Vault Enterprise 1.19+.
- disableRemount Boolean
- If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- identityToken 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.
- identityToken StringKey 
- The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- identityToken IntegerTtl 
- The TTL of generated tokens.
- local Boolean
- Specifies if the auth method is local only.
- namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise.
- path String
- The path to mount the auth method — this defaults to 'gcp'.
- privateKey StringId 
- The ID of the private key from the credentials
- projectId String
- The GCP Project ID
- rotationPeriod Integer
- The amount of time in seconds Vault should wait before rotating the root credential. A zero value tells Vault not to rotate the root credential. The minimum rotation period is 10 seconds. Requires Vault Enterprise 1.19+.
- rotationSchedule String
- The schedule, in cron-style time format, defining the schedule on which Vault should rotate the root token. Requires Vault Enterprise 1.19+.
- rotationWindow Integer
- The maximum amount of time in seconds allowed to complete
a rotation when a scheduled token rotation occurs. The default rotation window is
unbound and the minimum allowable window is 3600. Requires Vault Enterprise 1.19+.
- serviceAccount StringEmail 
- Service Account to impersonate for plugin workload identity federation.
Required with identity_token_audience. Requires Vault 1.17+. Available only for Vault Enterprise.
- tune
AuthBackend Tune 
- Extra configuration block. Structure is documented below. - The - tuneblock is used to tune the auth backend:
- clientEmail string
- The clients email associated with the credentials
- clientId string
- The Client ID of the credentials
- credentials string
- A JSON string containing the contents of a GCP credentials file. If this value is empty, Vault will try to use Application Default Credentials from the machine on which the Vault server is running.
- customEndpoint AuthBackend Custom Endpoint 
- Specifies overrides to service endpoints used when making API requests. This allows specific requests made during authentication to target alternative service endpoints for use in Private Google Access environments. Requires Vault 1.11+. - Overrides are set at the subdomain level using the following keys: 
- description string
- A description of the auth method.
- disableAutomated booleanRotation 
- Cancels all upcoming rotations of the root credential until unset. Requires Vault Enterprise 1.19+.
- disableRemount boolean
- If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- identityToken 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.
- identityToken stringKey 
- The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- identityToken numberTtl 
- The TTL of generated tokens.
- local boolean
- Specifies if the auth method is local only.
- namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise.
- path string
- The path to mount the auth method — this defaults to 'gcp'.
- privateKey stringId 
- The ID of the private key from the credentials
- projectId string
- The GCP Project ID
- rotationPeriod number
- The amount of time in seconds Vault should wait before rotating the root credential. A zero value tells Vault not to rotate the root credential. The minimum rotation period is 10 seconds. Requires Vault Enterprise 1.19+.
- rotationSchedule string
- The schedule, in cron-style time format, defining the schedule on which Vault should rotate the root token. Requires Vault Enterprise 1.19+.
- rotationWindow number
- The maximum amount of time in seconds allowed to complete
a rotation when a scheduled token rotation occurs. The default rotation window is
unbound and the minimum allowable window is 3600. Requires Vault Enterprise 1.19+.
- serviceAccount stringEmail 
- Service Account to impersonate for plugin workload identity federation.
Required with identity_token_audience. Requires Vault 1.17+. Available only for Vault Enterprise.
- tune
AuthBackend Tune 
- Extra configuration block. Structure is documented below. - The - tuneblock is used to tune the auth backend:
- client_email str
- The clients email associated with the credentials
- client_id str
- The Client ID of the credentials
- credentials str
- A JSON string containing the contents of a GCP credentials file. If this value is empty, Vault will try to use Application Default Credentials from the machine on which the Vault server is running.
- custom_endpoint AuthBackend Custom Endpoint Args 
- Specifies overrides to service endpoints used when making API requests. This allows specific requests made during authentication to target alternative service endpoints for use in Private Google Access environments. Requires Vault 1.11+. - Overrides are set at the subdomain level using the following keys: 
- description str
- A description of the auth method.
- disable_automated_ boolrotation 
- Cancels all upcoming rotations of the root credential until unset. Requires Vault Enterprise 1.19+.
- 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
- Specifies if the auth method is local only.
- namespace str
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise.
- path str
- The path to mount the auth method — this defaults to 'gcp'.
- private_key_ strid 
- The ID of the private key from the credentials
- project_id str
- The GCP Project ID
- rotation_period int
- The amount of time in seconds Vault should wait before rotating the root credential. A zero value tells Vault not to rotate the root credential. The minimum rotation period is 10 seconds. Requires Vault Enterprise 1.19+.
- rotation_schedule str
- The schedule, in cron-style time format, defining the schedule on which Vault should rotate the root token. Requires Vault Enterprise 1.19+.
- rotation_window int
- The maximum amount of time in seconds allowed to complete
a rotation when a scheduled token rotation occurs. The default rotation window is
unbound and the minimum allowable window is 3600. Requires Vault Enterprise 1.19+.
- 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.
- tune
AuthBackend Tune Args 
- Extra configuration block. Structure is documented below. - The - tuneblock is used to tune the auth backend:
- clientEmail String
- The clients email associated with the credentials
- clientId String
- The Client ID of the credentials
- credentials String
- A JSON string containing the contents of a GCP credentials file. If this value is empty, Vault will try to use Application Default Credentials from the machine on which the Vault server is running.
- customEndpoint Property Map
- Specifies overrides to service endpoints used when making API requests. This allows specific requests made during authentication to target alternative service endpoints for use in Private Google Access environments. Requires Vault 1.11+. - Overrides are set at the subdomain level using the following keys: 
- description String
- A description of the auth method.
- disableAutomated BooleanRotation 
- Cancels all upcoming rotations of the root credential until unset. Requires Vault Enterprise 1.19+.
- disableRemount Boolean
- If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- identityToken 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.
- identityToken StringKey 
- The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- identityToken NumberTtl 
- The TTL of generated tokens.
- local Boolean
- Specifies if the auth method is local only.
- namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise.
- path String
- The path to mount the auth method — this defaults to 'gcp'.
- privateKey StringId 
- The ID of the private key from the credentials
- projectId String
- The GCP Project ID
- rotationPeriod Number
- The amount of time in seconds Vault should wait before rotating the root credential. A zero value tells Vault not to rotate the root credential. The minimum rotation period is 10 seconds. Requires Vault Enterprise 1.19+.
- rotationSchedule String
- The schedule, in cron-style time format, defining the schedule on which Vault should rotate the root token. Requires Vault Enterprise 1.19+.
- rotationWindow Number
- The maximum amount of time in seconds allowed to complete
a rotation when a scheduled token rotation occurs. The default rotation window is
unbound and the minimum allowable window is 3600. Requires Vault Enterprise 1.19+.
- serviceAccount StringEmail 
- Service Account to impersonate for plugin workload identity federation.
Required with identity_token_audience. Requires Vault 1.17+. Available only for Vault Enterprise.
- tune Property Map
- Extra configuration block. Structure is documented below. - The - tuneblock is used to tune the auth backend:
Outputs
All input properties are implicitly available as output properties. Additionally, the AuthBackend resource produces the following output properties:
- Accessor string
- The mount accessor related to the auth mount. It is useful for integration with Identity Secrets Engine.
- Id string
- The provider-assigned unique ID for this managed resource.
- Accessor string
- The mount accessor related to the auth mount. It is useful for integration with Identity Secrets Engine.
- Id string
- The provider-assigned unique ID for this managed resource.
- accessor String
- The mount accessor related to the auth mount. It is useful for integration with Identity Secrets Engine.
- id String
- The provider-assigned unique ID for this managed resource.
- accessor string
- The mount accessor related to the auth mount. It is useful for integration with Identity Secrets Engine.
- id string
- The provider-assigned unique ID for this managed resource.
- accessor str
- The mount accessor related to the auth mount. It is useful for integration with Identity Secrets Engine.
- id str
- The provider-assigned unique ID for this managed resource.
- accessor String
- The mount accessor related to the auth mount. It is useful for integration with Identity Secrets Engine.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AuthBackend Resource
Get an existing AuthBackend 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?: AuthBackendState, opts?: CustomResourceOptions): AuthBackend@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        accessor: Optional[str] = None,
        client_email: Optional[str] = None,
        client_id: Optional[str] = None,
        credentials: Optional[str] = None,
        custom_endpoint: Optional[AuthBackendCustomEndpointArgs] = None,
        description: Optional[str] = None,
        disable_automated_rotation: Optional[bool] = 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,
        namespace: Optional[str] = None,
        path: Optional[str] = None,
        private_key_id: Optional[str] = None,
        project_id: Optional[str] = None,
        rotation_period: Optional[int] = None,
        rotation_schedule: Optional[str] = None,
        rotation_window: Optional[int] = None,
        service_account_email: Optional[str] = None,
        tune: Optional[AuthBackendTuneArgs] = None) -> AuthBackendfunc GetAuthBackend(ctx *Context, name string, id IDInput, state *AuthBackendState, opts ...ResourceOption) (*AuthBackend, error)public static AuthBackend Get(string name, Input<string> id, AuthBackendState? state, CustomResourceOptions? opts = null)public static AuthBackend get(String name, Output<String> id, AuthBackendState state, CustomResourceOptions options)resources:  _:    type: vault:gcp:AuthBackend    get:      id: ${id}- 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 mount accessor related to the auth mount. It is useful for integration with Identity Secrets Engine.
- ClientEmail string
- The clients email associated with the credentials
- ClientId string
- The Client ID of the credentials
- Credentials string
- A JSON string containing the contents of a GCP credentials file. If this value is empty, Vault will try to use Application Default Credentials from the machine on which the Vault server is running.
- CustomEndpoint AuthBackend Custom Endpoint 
- Specifies overrides to service endpoints used when making API requests. This allows specific requests made during authentication to target alternative service endpoints for use in Private Google Access environments. Requires Vault 1.11+. - Overrides are set at the subdomain level using the following keys: 
- Description string
- A description of the auth method.
- DisableAutomated boolRotation 
- Cancels all upcoming rotations of the root credential until unset. Requires Vault Enterprise 1.19+.
- DisableRemount bool
- If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- IdentityToken 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.
- IdentityToken stringKey 
- The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- IdentityToken intTtl 
- The TTL of generated tokens.
- Local bool
- Specifies if the auth method is local only.
- Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise.
- Path string
- The path to mount the auth method — this defaults to 'gcp'.
- PrivateKey stringId 
- The ID of the private key from the credentials
- ProjectId string
- The GCP Project ID
- RotationPeriod int
- The amount of time in seconds Vault should wait before rotating the root credential. A zero value tells Vault not to rotate the root credential. The minimum rotation period is 10 seconds. Requires Vault Enterprise 1.19+.
- RotationSchedule string
- The schedule, in cron-style time format, defining the schedule on which Vault should rotate the root token. Requires Vault Enterprise 1.19+.
- RotationWindow int
- The maximum amount of time in seconds allowed to complete
a rotation when a scheduled token rotation occurs. The default rotation window is
unbound and the minimum allowable window is 3600. Requires Vault Enterprise 1.19+.
- ServiceAccount stringEmail 
- Service Account to impersonate for plugin workload identity federation.
Required with identity_token_audience. Requires Vault 1.17+. Available only for Vault Enterprise.
- Tune
AuthBackend Tune 
- Extra configuration block. Structure is documented below. - The - tuneblock is used to tune the auth backend:
- Accessor string
- The mount accessor related to the auth mount. It is useful for integration with Identity Secrets Engine.
- ClientEmail string
- The clients email associated with the credentials
- ClientId string
- The Client ID of the credentials
- Credentials string
- A JSON string containing the contents of a GCP credentials file. If this value is empty, Vault will try to use Application Default Credentials from the machine on which the Vault server is running.
- CustomEndpoint AuthBackend Custom Endpoint Args 
- Specifies overrides to service endpoints used when making API requests. This allows specific requests made during authentication to target alternative service endpoints for use in Private Google Access environments. Requires Vault 1.11+. - Overrides are set at the subdomain level using the following keys: 
- Description string
- A description of the auth method.
- DisableAutomated boolRotation 
- Cancels all upcoming rotations of the root credential until unset. Requires Vault Enterprise 1.19+.
- DisableRemount bool
- If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- IdentityToken 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.
- IdentityToken stringKey 
- The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- IdentityToken intTtl 
- The TTL of generated tokens.
- Local bool
- Specifies if the auth method is local only.
- Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise.
- Path string
- The path to mount the auth method — this defaults to 'gcp'.
- PrivateKey stringId 
- The ID of the private key from the credentials
- ProjectId string
- The GCP Project ID
- RotationPeriod int
- The amount of time in seconds Vault should wait before rotating the root credential. A zero value tells Vault not to rotate the root credential. The minimum rotation period is 10 seconds. Requires Vault Enterprise 1.19+.
- RotationSchedule string
- The schedule, in cron-style time format, defining the schedule on which Vault should rotate the root token. Requires Vault Enterprise 1.19+.
- RotationWindow int
- The maximum amount of time in seconds allowed to complete
a rotation when a scheduled token rotation occurs. The default rotation window is
unbound and the minimum allowable window is 3600. Requires Vault Enterprise 1.19+.
- ServiceAccount stringEmail 
- Service Account to impersonate for plugin workload identity federation.
Required with identity_token_audience. Requires Vault 1.17+. Available only for Vault Enterprise.
- Tune
AuthBackend Tune Args 
- Extra configuration block. Structure is documented below. - The - tuneblock is used to tune the auth backend:
- accessor String
- The mount accessor related to the auth mount. It is useful for integration with Identity Secrets Engine.
- clientEmail String
- The clients email associated with the credentials
- clientId String
- The Client ID of the credentials
- credentials String
- A JSON string containing the contents of a GCP credentials file. If this value is empty, Vault will try to use Application Default Credentials from the machine on which the Vault server is running.
- customEndpoint AuthBackend Custom Endpoint 
- Specifies overrides to service endpoints used when making API requests. This allows specific requests made during authentication to target alternative service endpoints for use in Private Google Access environments. Requires Vault 1.11+. - Overrides are set at the subdomain level using the following keys: 
- description String
- A description of the auth method.
- disableAutomated BooleanRotation 
- Cancels all upcoming rotations of the root credential until unset. Requires Vault Enterprise 1.19+.
- disableRemount Boolean
- If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- identityToken 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.
- identityToken StringKey 
- The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- identityToken IntegerTtl 
- The TTL of generated tokens.
- local Boolean
- Specifies if the auth method is local only.
- namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise.
- path String
- The path to mount the auth method — this defaults to 'gcp'.
- privateKey StringId 
- The ID of the private key from the credentials
- projectId String
- The GCP Project ID
- rotationPeriod Integer
- The amount of time in seconds Vault should wait before rotating the root credential. A zero value tells Vault not to rotate the root credential. The minimum rotation period is 10 seconds. Requires Vault Enterprise 1.19+.
- rotationSchedule String
- The schedule, in cron-style time format, defining the schedule on which Vault should rotate the root token. Requires Vault Enterprise 1.19+.
- rotationWindow Integer
- The maximum amount of time in seconds allowed to complete
a rotation when a scheduled token rotation occurs. The default rotation window is
unbound and the minimum allowable window is 3600. Requires Vault Enterprise 1.19+.
- serviceAccount StringEmail 
- Service Account to impersonate for plugin workload identity federation.
Required with identity_token_audience. Requires Vault 1.17+. Available only for Vault Enterprise.
- tune
AuthBackend Tune 
- Extra configuration block. Structure is documented below. - The - tuneblock is used to tune the auth backend:
- accessor string
- The mount accessor related to the auth mount. It is useful for integration with Identity Secrets Engine.
- clientEmail string
- The clients email associated with the credentials
- clientId string
- The Client ID of the credentials
- credentials string
- A JSON string containing the contents of a GCP credentials file. If this value is empty, Vault will try to use Application Default Credentials from the machine on which the Vault server is running.
- customEndpoint AuthBackend Custom Endpoint 
- Specifies overrides to service endpoints used when making API requests. This allows specific requests made during authentication to target alternative service endpoints for use in Private Google Access environments. Requires Vault 1.11+. - Overrides are set at the subdomain level using the following keys: 
- description string
- A description of the auth method.
- disableAutomated booleanRotation 
- Cancels all upcoming rotations of the root credential until unset. Requires Vault Enterprise 1.19+.
- disableRemount boolean
- If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- identityToken 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.
- identityToken stringKey 
- The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- identityToken numberTtl 
- The TTL of generated tokens.
- local boolean
- Specifies if the auth method is local only.
- namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise.
- path string
- The path to mount the auth method — this defaults to 'gcp'.
- privateKey stringId 
- The ID of the private key from the credentials
- projectId string
- The GCP Project ID
- rotationPeriod number
- The amount of time in seconds Vault should wait before rotating the root credential. A zero value tells Vault not to rotate the root credential. The minimum rotation period is 10 seconds. Requires Vault Enterprise 1.19+.
- rotationSchedule string
- The schedule, in cron-style time format, defining the schedule on which Vault should rotate the root token. Requires Vault Enterprise 1.19+.
- rotationWindow number
- The maximum amount of time in seconds allowed to complete
a rotation when a scheduled token rotation occurs. The default rotation window is
unbound and the minimum allowable window is 3600. Requires Vault Enterprise 1.19+.
- serviceAccount stringEmail 
- Service Account to impersonate for plugin workload identity federation.
Required with identity_token_audience. Requires Vault 1.17+. Available only for Vault Enterprise.
- tune
AuthBackend Tune 
- Extra configuration block. Structure is documented below. - The - tuneblock is used to tune the auth backend:
- accessor str
- The mount accessor related to the auth mount. It is useful for integration with Identity Secrets Engine.
- client_email str
- The clients email associated with the credentials
- client_id str
- The Client ID of the credentials
- credentials str
- A JSON string containing the contents of a GCP credentials file. If this value is empty, Vault will try to use Application Default Credentials from the machine on which the Vault server is running.
- custom_endpoint AuthBackend Custom Endpoint Args 
- Specifies overrides to service endpoints used when making API requests. This allows specific requests made during authentication to target alternative service endpoints for use in Private Google Access environments. Requires Vault 1.11+. - Overrides are set at the subdomain level using the following keys: 
- description str
- A description of the auth method.
- disable_automated_ boolrotation 
- Cancels all upcoming rotations of the root credential until unset. Requires Vault Enterprise 1.19+.
- 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
- Specifies if the auth method is local only.
- namespace str
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise.
- path str
- The path to mount the auth method — this defaults to 'gcp'.
- private_key_ strid 
- The ID of the private key from the credentials
- project_id str
- The GCP Project ID
- rotation_period int
- The amount of time in seconds Vault should wait before rotating the root credential. A zero value tells Vault not to rotate the root credential. The minimum rotation period is 10 seconds. Requires Vault Enterprise 1.19+.
- rotation_schedule str
- The schedule, in cron-style time format, defining the schedule on which Vault should rotate the root token. Requires Vault Enterprise 1.19+.
- rotation_window int
- The maximum amount of time in seconds allowed to complete
a rotation when a scheduled token rotation occurs. The default rotation window is
unbound and the minimum allowable window is 3600. Requires Vault Enterprise 1.19+.
- 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.
- tune
AuthBackend Tune Args 
- Extra configuration block. Structure is documented below. - The - tuneblock is used to tune the auth backend:
- accessor String
- The mount accessor related to the auth mount. It is useful for integration with Identity Secrets Engine.
- clientEmail String
- The clients email associated with the credentials
- clientId String
- The Client ID of the credentials
- credentials String
- A JSON string containing the contents of a GCP credentials file. If this value is empty, Vault will try to use Application Default Credentials from the machine on which the Vault server is running.
- customEndpoint Property Map
- Specifies overrides to service endpoints used when making API requests. This allows specific requests made during authentication to target alternative service endpoints for use in Private Google Access environments. Requires Vault 1.11+. - Overrides are set at the subdomain level using the following keys: 
- description String
- A description of the auth method.
- disableAutomated BooleanRotation 
- Cancels all upcoming rotations of the root credential until unset. Requires Vault Enterprise 1.19+.
- disableRemount Boolean
- If set, opts out of mount migration on path updates. See here for more info on Mount Migration
- identityToken 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.
- identityToken StringKey 
- The key to use for signing plugin identity tokens. Requires Vault 1.17+. Available only for Vault Enterprise.
- identityToken NumberTtl 
- The TTL of generated tokens.
- local Boolean
- Specifies if the auth method is local only.
- namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise.
- path String
- The path to mount the auth method — this defaults to 'gcp'.
- privateKey StringId 
- The ID of the private key from the credentials
- projectId String
- The GCP Project ID
- rotationPeriod Number
- The amount of time in seconds Vault should wait before rotating the root credential. A zero value tells Vault not to rotate the root credential. The minimum rotation period is 10 seconds. Requires Vault Enterprise 1.19+.
- rotationSchedule String
- The schedule, in cron-style time format, defining the schedule on which Vault should rotate the root token. Requires Vault Enterprise 1.19+.
- rotationWindow Number
- The maximum amount of time in seconds allowed to complete
a rotation when a scheduled token rotation occurs. The default rotation window is
unbound and the minimum allowable window is 3600. Requires Vault Enterprise 1.19+.
- serviceAccount StringEmail 
- Service Account to impersonate for plugin workload identity federation.
Required with identity_token_audience. Requires Vault 1.17+. Available only for Vault Enterprise.
- tune Property Map
- Extra configuration block. Structure is documented below. - The - tuneblock is used to tune the auth backend:
Supporting Types
AuthBackendCustomEndpoint, AuthBackendCustomEndpointArgs        
- Api string
- Replaces the service endpoint used in API requests to https://www.googleapis.com.
- Compute string
- Replaces the service endpoint used in API requests to - https://compute.googleapis.com.- The endpoint value provided for a given key has the form of - scheme://host:port. The- scheme://and- :portportions of the endpoint value are optional.
- Crm string
- Replaces the service endpoint used in API requests to https://cloudresourcemanager.googleapis.com.
- Iam string
- Replaces the service endpoint used in API requests to https://iam.googleapis.com.
- Api string
- Replaces the service endpoint used in API requests to https://www.googleapis.com.
- Compute string
- Replaces the service endpoint used in API requests to - https://compute.googleapis.com.- The endpoint value provided for a given key has the form of - scheme://host:port. The- scheme://and- :portportions of the endpoint value are optional.
- Crm string
- Replaces the service endpoint used in API requests to https://cloudresourcemanager.googleapis.com.
- Iam string
- Replaces the service endpoint used in API requests to https://iam.googleapis.com.
- api String
- Replaces the service endpoint used in API requests to https://www.googleapis.com.
- compute String
- Replaces the service endpoint used in API requests to - https://compute.googleapis.com.- The endpoint value provided for a given key has the form of - scheme://host:port. The- scheme://and- :portportions of the endpoint value are optional.
- crm String
- Replaces the service endpoint used in API requests to https://cloudresourcemanager.googleapis.com.
- iam String
- Replaces the service endpoint used in API requests to https://iam.googleapis.com.
- api string
- Replaces the service endpoint used in API requests to https://www.googleapis.com.
- compute string
- Replaces the service endpoint used in API requests to - https://compute.googleapis.com.- The endpoint value provided for a given key has the form of - scheme://host:port. The- scheme://and- :portportions of the endpoint value are optional.
- crm string
- Replaces the service endpoint used in API requests to https://cloudresourcemanager.googleapis.com.
- iam string
- Replaces the service endpoint used in API requests to https://iam.googleapis.com.
- api str
- Replaces the service endpoint used in API requests to https://www.googleapis.com.
- compute str
- Replaces the service endpoint used in API requests to - https://compute.googleapis.com.- The endpoint value provided for a given key has the form of - scheme://host:port. The- scheme://and- :portportions of the endpoint value are optional.
- crm str
- Replaces the service endpoint used in API requests to https://cloudresourcemanager.googleapis.com.
- iam str
- Replaces the service endpoint used in API requests to https://iam.googleapis.com.
- api String
- Replaces the service endpoint used in API requests to https://www.googleapis.com.
- compute String
- Replaces the service endpoint used in API requests to - https://compute.googleapis.com.- The endpoint value provided for a given key has the form of - scheme://host:port. The- scheme://and- :portportions of the endpoint value are optional.
- crm String
- Replaces the service endpoint used in API requests to https://cloudresourcemanager.googleapis.com.
- iam String
- Replaces the service endpoint used in API requests to https://iam.googleapis.com.
AuthBackendTune, AuthBackendTuneArgs      
- AllowedResponse List<string>Headers 
- List of headers to whitelist and allowing a plugin to include them in the response.
- AuditNon List<string>Hmac Request Keys 
- Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
- AuditNon List<string>Hmac Response Keys 
- Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
- DefaultLease stringTtl 
- Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
- ListingVisibility string
- Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
- MaxLease stringTtl 
- Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
- PassthroughRequest List<string>Headers 
- List of headers to whitelist and pass from the request to the backend.
- TokenType string
- Specifies the type of tokens that should be returned by the mount. Valid values are "default-service", "default-batch", "service", "batch". - For more details on the usage of each argument consult the Vault GCP API documentation. 
- AllowedResponse []stringHeaders 
- List of headers to whitelist and allowing a plugin to include them in the response.
- AuditNon []stringHmac Request Keys 
- Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
- AuditNon []stringHmac Response Keys 
- Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
- DefaultLease stringTtl 
- Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
- ListingVisibility string
- Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
- MaxLease stringTtl 
- Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
- PassthroughRequest []stringHeaders 
- List of headers to whitelist and pass from the request to the backend.
- TokenType string
- Specifies the type of tokens that should be returned by the mount. Valid values are "default-service", "default-batch", "service", "batch". - For more details on the usage of each argument consult the Vault GCP API documentation. 
- allowedResponse List<String>Headers 
- List of headers to whitelist and allowing a plugin to include them in the response.
- auditNon List<String>Hmac Request Keys 
- Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
- auditNon List<String>Hmac Response Keys 
- Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
- defaultLease StringTtl 
- Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
- listingVisibility String
- Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
- maxLease StringTtl 
- Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
- passthroughRequest List<String>Headers 
- List of headers to whitelist and pass from the request to the backend.
- tokenType String
- Specifies the type of tokens that should be returned by the mount. Valid values are "default-service", "default-batch", "service", "batch". - For more details on the usage of each argument consult the Vault GCP API documentation. 
- allowedResponse string[]Headers 
- List of headers to whitelist and allowing a plugin to include them in the response.
- auditNon string[]Hmac Request Keys 
- Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
- auditNon string[]Hmac Response Keys 
- Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
- defaultLease stringTtl 
- Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
- listingVisibility string
- Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
- maxLease stringTtl 
- Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
- passthroughRequest string[]Headers 
- List of headers to whitelist and pass from the request to the backend.
- tokenType string
- Specifies the type of tokens that should be returned by the mount. Valid values are "default-service", "default-batch", "service", "batch". - For more details on the usage of each argument consult the Vault GCP API documentation. 
- allowed_response_ Sequence[str]headers 
- List of headers to whitelist and allowing a plugin to include them in the response.
- audit_non_ Sequence[str]hmac_ request_ keys 
- Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
- audit_non_ Sequence[str]hmac_ response_ keys 
- Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
- default_lease_ strttl 
- Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
- listing_visibility str
- Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
- max_lease_ strttl 
- Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
- passthrough_request_ Sequence[str]headers 
- List of headers to whitelist and pass from the request to the backend.
- token_type str
- Specifies the type of tokens that should be returned by the mount. Valid values are "default-service", "default-batch", "service", "batch". - For more details on the usage of each argument consult the Vault GCP API documentation. 
- allowedResponse List<String>Headers 
- List of headers to whitelist and allowing a plugin to include them in the response.
- auditNon List<String>Hmac Request Keys 
- Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
- auditNon List<String>Hmac Response Keys 
- Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
- defaultLease StringTtl 
- Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
- listingVisibility String
- Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
- maxLease StringTtl 
- Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
- passthroughRequest List<String>Headers 
- List of headers to whitelist and pass from the request to the backend.
- tokenType String
- Specifies the type of tokens that should be returned by the mount. Valid values are "default-service", "default-batch", "service", "batch". - For more details on the usage of each argument consult the Vault GCP API documentation. 
Import
GCP authentication backends can be imported using the backend name, e.g.
$ pulumi import vault:gcp/authBackend:AuthBackend gcp gcp
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Vault pulumi/pulumi-vault
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the vaultTerraform Provider.