published on Saturday, Aug 15, 2026 by Pulumi
published on Saturday, Aug 15, 2026 by Pulumi
Configure the SPIFFE trust domain and associated trust bundle for the backend
Important All data provided in the resource configuration will be written in cleartext to state and plan files generated by Terraform, and will appear in the console output when Terraform runs. Protect these artifacts accordingly. See the main provider documentation for more details.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vault from "@pulumi/vault";
const spiffeMount = new vault.AuthBackend("spiffe_mount", {
type: "spiffe",
path: "spiffe",
tune: {
passthroughRequestHeaders: ["Authorization"],
},
});
const spiffeConfig = new vault.spiffe.AuthBackendConfig("spiffe_config", {
mount: spiffeMount.path,
trustDomain: "example.org",
profile: "https_web_bundle",
endpointUrl: "https://example.org:8443/",
});
import pulumi
import pulumi_vault as vault
spiffe_mount = vault.AuthBackend("spiffe_mount",
type="spiffe",
path="spiffe",
tune={
"passthrough_request_headers": ["Authorization"],
})
spiffe_config = vault.spiffe.AuthBackendConfig("spiffe_config",
mount=spiffe_mount.path,
trust_domain="example.org",
profile="https_web_bundle",
endpoint_url="https://example.org:8443/")
package main
import (
"github.com/pulumi/pulumi-vault/sdk/v7/go/vault"
"github.com/pulumi/pulumi-vault/sdk/v7/go/vault/spiffe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
spiffeMount, err := vault.NewAuthBackend(ctx, "spiffe_mount", &vault.AuthBackendArgs{
Type: pulumi.String("spiffe"),
Path: pulumi.String("spiffe"),
Tune: &vault.AuthBackendTuneArgs{
PassthroughRequestHeaders: pulumi.StringArray{
pulumi.String("Authorization"),
},
},
})
if err != nil {
return err
}
_, err = spiffe.NewAuthBackendConfig(ctx, "spiffe_config", &spiffe.AuthBackendConfigArgs{
Mount: spiffeMount.Path,
TrustDomain: pulumi.String("example.org"),
Profile: pulumi.String("https_web_bundle"),
EndpointUrl: pulumi.String("https://example.org:8443/"),
})
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 spiffeMount = new Vault.AuthBackend("spiffe_mount", new()
{
Type = "spiffe",
Path = "spiffe",
Tune = new Vault.Inputs.AuthBackendTuneArgs
{
PassthroughRequestHeaders = new[]
{
"Authorization",
},
},
});
var spiffeConfig = new Vault.Spiffe.AuthBackendConfig("spiffe_config", new()
{
Mount = spiffeMount.Path,
TrustDomain = "example.org",
Profile = "https_web_bundle",
EndpointUrl = "https://example.org:8443/",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vault.AuthBackend;
import com.pulumi.vault.AuthBackendArgs;
import com.pulumi.vault.inputs.AuthBackendTuneArgs;
import com.pulumi.vault.spiffe.AuthBackendConfig;
import com.pulumi.vault.spiffe.AuthBackendConfigArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 spiffeMount = new AuthBackend("spiffeMount", AuthBackendArgs.builder()
.type("spiffe")
.path("spiffe")
.tune(AuthBackendTuneArgs.builder()
.passthroughRequestHeaders("Authorization")
.build())
.build());
var spiffeConfig = new AuthBackendConfig("spiffeConfig", AuthBackendConfigArgs.builder()
.mount(spiffeMount.path())
.trustDomain("example.org")
.profile("https_web_bundle")
.endpointUrl("https://example.org:8443/")
.build());
}
}
resources:
spiffeMount:
type: vault:AuthBackend
name: spiffe_mount
properties:
type: spiffe
path: spiffe
tune:
passthroughRequestHeaders:
- Authorization
spiffeConfig:
type: vault:spiffe:AuthBackendConfig
name: spiffe_config
properties:
mount: ${spiffeMount.path}
trustDomain: example.org
profile: https_web_bundle
endpointUrl: https://example.org:8443/
pulumi {
required_providers {
vault = {
source = "pulumi/vault"
}
}
}
resource "vault_authbackend" "spiffe_mount" {
type = "spiffe"
path = "spiffe"
tune = {
passthrough_request_headers = ["Authorization"]
}
}
resource "vault_spiffe_authbackendconfig" "spiffe_config" {
mount = vault_authbackend.spiffe_mount.path
trust_domain = "example.org"
profile = "https_web_bundle"
endpoint_url = "https://example.org:8443/"
}
Create AuthBackendConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AuthBackendConfig(name: string, args: AuthBackendConfigArgs, opts?: CustomResourceOptions);@overload
def AuthBackendConfig(resource_name: str,
args: AuthBackendConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AuthBackendConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
mount: Optional[str] = None,
profile: Optional[str] = None,
trust_domain: Optional[str] = None,
audiences: Optional[Sequence[str]] = None,
bundle: Optional[str] = None,
defer_bundle_fetch: Optional[bool] = None,
endpoint_root_ca_truststore_pem: Optional[str] = None,
endpoint_spiffe_id: Optional[str] = None,
endpoint_url: Optional[str] = None,
namespace: Optional[str] = None)func NewAuthBackendConfig(ctx *Context, name string, args AuthBackendConfigArgs, opts ...ResourceOption) (*AuthBackendConfig, error)public AuthBackendConfig(string name, AuthBackendConfigArgs args, CustomResourceOptions? opts = null)
public AuthBackendConfig(String name, AuthBackendConfigArgs args)
public AuthBackendConfig(String name, AuthBackendConfigArgs args, CustomResourceOptions options)
type: vault:spiffe:AuthBackendConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "vault_spiffe_auth_backend_config" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AuthBackendConfigArgs
- 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 AuthBackendConfigArgs
- 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 AuthBackendConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthBackendConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AuthBackendConfigArgs
- 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 exampleauthBackendConfigResourceResourceFromSpiffeauthBackendConfig = new Vault.Spiffe.AuthBackendConfig("exampleauthBackendConfigResourceResourceFromSpiffeauthBackendConfig", new()
{
Mount = "string",
Profile = "string",
TrustDomain = "string",
Audiences = new[]
{
"string",
},
Bundle = "string",
DeferBundleFetch = false,
EndpointRootCaTruststorePem = "string",
EndpointSpiffeId = "string",
EndpointUrl = "string",
Namespace = "string",
});
example, err := spiffe.NewAuthBackendConfig(ctx, "exampleauthBackendConfigResourceResourceFromSpiffeauthBackendConfig", &spiffe.AuthBackendConfigArgs{
Mount: pulumi.String("string"),
Profile: pulumi.String("string"),
TrustDomain: pulumi.String("string"),
Audiences: pulumi.StringArray{
pulumi.String("string"),
},
Bundle: pulumi.String("string"),
DeferBundleFetch: pulumi.Bool(false),
EndpointRootCaTruststorePem: pulumi.String("string"),
EndpointSpiffeId: pulumi.String("string"),
EndpointUrl: pulumi.String("string"),
Namespace: pulumi.String("string"),
})
resource "vault_spiffe_auth_backend_config" "exampleauthBackendConfigResourceResourceFromSpiffeauthBackendConfig" {
lifecycle {
create_before_destroy = true
}
mount = "string"
profile = "string"
trust_domain = "string"
audiences = ["string"]
bundle = "string"
defer_bundle_fetch = false
endpoint_root_ca_truststore_pem = "string"
endpoint_spiffe_id = "string"
endpoint_url = "string"
namespace = "string"
}
var exampleauthBackendConfigResourceResourceFromSpiffeauthBackendConfig = new com.pulumi.vault.spiffe.AuthBackendConfig("exampleauthBackendConfigResourceResourceFromSpiffeauthBackendConfig", com.pulumi.vault.spiffe.AuthBackendConfigArgs.builder()
.mount("string")
.profile("string")
.trustDomain("string")
.audiences("string")
.bundle("string")
.deferBundleFetch(false)
.endpointRootCaTruststorePem("string")
.endpointSpiffeId("string")
.endpointUrl("string")
.namespace("string")
.build());
exampleauth_backend_config_resource_resource_from_spiffeauth_backend_config = vault.spiffe.AuthBackendConfig("exampleauthBackendConfigResourceResourceFromSpiffeauthBackendConfig",
mount="string",
profile="string",
trust_domain="string",
audiences=["string"],
bundle="string",
defer_bundle_fetch=False,
endpoint_root_ca_truststore_pem="string",
endpoint_spiffe_id="string",
endpoint_url="string",
namespace="string")
const exampleauthBackendConfigResourceResourceFromSpiffeauthBackendConfig = new vault.spiffe.AuthBackendConfig("exampleauthBackendConfigResourceResourceFromSpiffeauthBackendConfig", {
mount: "string",
profile: "string",
trustDomain: "string",
audiences: ["string"],
bundle: "string",
deferBundleFetch: false,
endpointRootCaTruststorePem: "string",
endpointSpiffeId: "string",
endpointUrl: "string",
namespace: "string",
});
type: vault:spiffe:AuthBackendConfig
properties:
audiences:
- string
bundle: string
deferBundleFetch: false
endpointRootCaTruststorePem: string
endpointSpiffeId: string
endpointUrl: string
mount: string
namespace: string
profile: string
trustDomain: string
AuthBackendConfig 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 AuthBackendConfig resource accepts the following input properties:
- Mount string
- The PKI secret backend the resource belongs to.
- Profile string
- Sets the profile type and fetch mechanism for the profile
used to fetch the trust bundle. Must be one of:
- httpsSpiffeBundle - fetch the trust bundle in JWKS format from a SPIFFE endpoint.
- httpsWebBundle - fetch the trust bundle in JWKS format from an HTTPS endpoint.
- httpsWebPem - fetch a valid X.509 certificate as the trust bundle from an HTTPS endpoint.
- static - use the trust bundle explicitly configured in the profile definition.
- Trust
Domain string - The SPIFFE trust domain used by the backend.
- Audiences List<string>
- A list of allowed audience values for JWT based SVIDs.
- Bundle string
- A PEM encoded X.509 certificate or a JWKS document based on what
the
profileargument is set. - Defer
Bundle boolFetch - NOTE: This field is write-only and its value will not be updated in state as part of read operations. If true, tells Vault not to fetch the remote trust bundle to validate the configuration
- Endpoint
Root stringCa Truststore Pem - A PEM encoded CA certificate to use
to validate the TLS connection to the
endpointUrlwhen theprofileargument is set tohttpsWebBundleorhttpsWebPem. - Endpoint
Spiffe stringId - The SPIFFE ID to expect in the TLS certificate when
the
profileargument is set tohttpsSpiffeBundle. - Endpoint
Url string - The URL to fetch the trust bundle from. Required if the
profileargument is set tohttpsSpiffeBundle,httpsWebBundle, orhttpsWebPem. - 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.
- Mount string
- The PKI secret backend the resource belongs to.
- Profile string
- Sets the profile type and fetch mechanism for the profile
used to fetch the trust bundle. Must be one of:
- httpsSpiffeBundle - fetch the trust bundle in JWKS format from a SPIFFE endpoint.
- httpsWebBundle - fetch the trust bundle in JWKS format from an HTTPS endpoint.
- httpsWebPem - fetch a valid X.509 certificate as the trust bundle from an HTTPS endpoint.
- static - use the trust bundle explicitly configured in the profile definition.
- Trust
Domain string - The SPIFFE trust domain used by the backend.
- Audiences []string
- A list of allowed audience values for JWT based SVIDs.
- Bundle string
- A PEM encoded X.509 certificate or a JWKS document based on what
the
profileargument is set. - Defer
Bundle boolFetch - NOTE: This field is write-only and its value will not be updated in state as part of read operations. If true, tells Vault not to fetch the remote trust bundle to validate the configuration
- Endpoint
Root stringCa Truststore Pem - A PEM encoded CA certificate to use
to validate the TLS connection to the
endpointUrlwhen theprofileargument is set tohttpsWebBundleorhttpsWebPem. - Endpoint
Spiffe stringId - The SPIFFE ID to expect in the TLS certificate when
the
profileargument is set tohttpsSpiffeBundle. - Endpoint
Url string - The URL to fetch the trust bundle from. Required if the
profileargument is set tohttpsSpiffeBundle,httpsWebBundle, orhttpsWebPem. - 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.
- mount string
- The PKI secret backend the resource belongs to.
- profile string
- Sets the profile type and fetch mechanism for the profile
used to fetch the trust bundle. Must be one of:
- httpsSpiffeBundle - fetch the trust bundle in JWKS format from a SPIFFE endpoint.
- httpsWebBundle - fetch the trust bundle in JWKS format from an HTTPS endpoint.
- httpsWebPem - fetch a valid X.509 certificate as the trust bundle from an HTTPS endpoint.
- static - use the trust bundle explicitly configured in the profile definition.
- trust_
domain string - The SPIFFE trust domain used by the backend.
- audiences list(string)
- A list of allowed audience values for JWT based SVIDs.
- bundle string
- A PEM encoded X.509 certificate or a JWKS document based on what
the
profileargument is set. - defer_
bundle_ boolfetch - NOTE: This field is write-only and its value will not be updated in state as part of read operations. If true, tells Vault not to fetch the remote trust bundle to validate the configuration
- endpoint_
root_ stringca_ truststore_ pem - A PEM encoded CA certificate to use
to validate the TLS connection to the
endpointUrlwhen theprofileargument is set tohttpsWebBundleorhttpsWebPem. - endpoint_
spiffe_ stringid - The SPIFFE ID to expect in the TLS certificate when
the
profileargument is set tohttpsSpiffeBundle. - endpoint_
url string - The URL to fetch the trust bundle from. Required if the
profileargument is set tohttpsSpiffeBundle,httpsWebBundle, orhttpsWebPem. - 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.
- mount String
- The PKI secret backend the resource belongs to.
- profile String
- Sets the profile type and fetch mechanism for the profile
used to fetch the trust bundle. Must be one of:
- httpsSpiffeBundle - fetch the trust bundle in JWKS format from a SPIFFE endpoint.
- httpsWebBundle - fetch the trust bundle in JWKS format from an HTTPS endpoint.
- httpsWebPem - fetch a valid X.509 certificate as the trust bundle from an HTTPS endpoint.
- static - use the trust bundle explicitly configured in the profile definition.
- trust
Domain String - The SPIFFE trust domain used by the backend.
- audiences List<String>
- A list of allowed audience values for JWT based SVIDs.
- bundle String
- A PEM encoded X.509 certificate or a JWKS document based on what
the
profileargument is set. - defer
Bundle BooleanFetch - NOTE: This field is write-only and its value will not be updated in state as part of read operations. If true, tells Vault not to fetch the remote trust bundle to validate the configuration
- endpoint
Root StringCa Truststore Pem - A PEM encoded CA certificate to use
to validate the TLS connection to the
endpointUrlwhen theprofileargument is set tohttpsWebBundleorhttpsWebPem. - endpoint
Spiffe StringId - The SPIFFE ID to expect in the TLS certificate when
the
profileargument is set tohttpsSpiffeBundle. - endpoint
Url String - The URL to fetch the trust bundle from. Required if the
profileargument is set tohttpsSpiffeBundle,httpsWebBundle, orhttpsWebPem. - 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.
- mount string
- The PKI secret backend the resource belongs to.
- profile string
- Sets the profile type and fetch mechanism for the profile
used to fetch the trust bundle. Must be one of:
- httpsSpiffeBundle - fetch the trust bundle in JWKS format from a SPIFFE endpoint.
- httpsWebBundle - fetch the trust bundle in JWKS format from an HTTPS endpoint.
- httpsWebPem - fetch a valid X.509 certificate as the trust bundle from an HTTPS endpoint.
- static - use the trust bundle explicitly configured in the profile definition.
- trust
Domain string - The SPIFFE trust domain used by the backend.
- audiences string[]
- A list of allowed audience values for JWT based SVIDs.
- bundle string
- A PEM encoded X.509 certificate or a JWKS document based on what
the
profileargument is set. - defer
Bundle booleanFetch - NOTE: This field is write-only and its value will not be updated in state as part of read operations. If true, tells Vault not to fetch the remote trust bundle to validate the configuration
- endpoint
Root stringCa Truststore Pem - A PEM encoded CA certificate to use
to validate the TLS connection to the
endpointUrlwhen theprofileargument is set tohttpsWebBundleorhttpsWebPem. - endpoint
Spiffe stringId - The SPIFFE ID to expect in the TLS certificate when
the
profileargument is set tohttpsSpiffeBundle. - endpoint
Url string - The URL to fetch the trust bundle from. Required if the
profileargument is set tohttpsSpiffeBundle,httpsWebBundle, orhttpsWebPem. - 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.
- mount str
- The PKI secret backend the resource belongs to.
- profile str
- Sets the profile type and fetch mechanism for the profile
used to fetch the trust bundle. Must be one of:
- httpsSpiffeBundle - fetch the trust bundle in JWKS format from a SPIFFE endpoint.
- httpsWebBundle - fetch the trust bundle in JWKS format from an HTTPS endpoint.
- httpsWebPem - fetch a valid X.509 certificate as the trust bundle from an HTTPS endpoint.
- static - use the trust bundle explicitly configured in the profile definition.
- trust_
domain str - The SPIFFE trust domain used by the backend.
- audiences Sequence[str]
- A list of allowed audience values for JWT based SVIDs.
- bundle str
- A PEM encoded X.509 certificate or a JWKS document based on what
the
profileargument is set. - defer_
bundle_ boolfetch - NOTE: This field is write-only and its value will not be updated in state as part of read operations. If true, tells Vault not to fetch the remote trust bundle to validate the configuration
- endpoint_
root_ strca_ truststore_ pem - A PEM encoded CA certificate to use
to validate the TLS connection to the
endpointUrlwhen theprofileargument is set tohttpsWebBundleorhttpsWebPem. - endpoint_
spiffe_ strid - The SPIFFE ID to expect in the TLS certificate when
the
profileargument is set tohttpsSpiffeBundle. - endpoint_
url str - The URL to fetch the trust bundle from. Required if the
profileargument is set tohttpsSpiffeBundle,httpsWebBundle, orhttpsWebPem. - 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.
- mount String
- The PKI secret backend the resource belongs to.
- profile String
- Sets the profile type and fetch mechanism for the profile
used to fetch the trust bundle. Must be one of:
- httpsSpiffeBundle - fetch the trust bundle in JWKS format from a SPIFFE endpoint.
- httpsWebBundle - fetch the trust bundle in JWKS format from an HTTPS endpoint.
- httpsWebPem - fetch a valid X.509 certificate as the trust bundle from an HTTPS endpoint.
- static - use the trust bundle explicitly configured in the profile definition.
- trust
Domain String - The SPIFFE trust domain used by the backend.
- audiences List<String>
- A list of allowed audience values for JWT based SVIDs.
- bundle String
- A PEM encoded X.509 certificate or a JWKS document based on what
the
profileargument is set. - defer
Bundle BooleanFetch - NOTE: This field is write-only and its value will not be updated in state as part of read operations. If true, tells Vault not to fetch the remote trust bundle to validate the configuration
- endpoint
Root StringCa Truststore Pem - A PEM encoded CA certificate to use
to validate the TLS connection to the
endpointUrlwhen theprofileargument is set tohttpsWebBundleorhttpsWebPem. - endpoint
Spiffe StringId - The SPIFFE ID to expect in the TLS certificate when
the
profileargument is set tohttpsSpiffeBundle. - endpoint
Url String - The URL to fetch the trust bundle from. Required if the
profileargument is set tohttpsSpiffeBundle,httpsWebBundle, orhttpsWebPem. - 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the AuthBackendConfig resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AuthBackendConfig Resource
Get an existing AuthBackendConfig 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?: AuthBackendConfigState, opts?: CustomResourceOptions): AuthBackendConfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
audiences: Optional[Sequence[str]] = None,
bundle: Optional[str] = None,
defer_bundle_fetch: Optional[bool] = None,
endpoint_root_ca_truststore_pem: Optional[str] = None,
endpoint_spiffe_id: Optional[str] = None,
endpoint_url: Optional[str] = None,
mount: Optional[str] = None,
namespace: Optional[str] = None,
profile: Optional[str] = None,
trust_domain: Optional[str] = None) -> AuthBackendConfigfunc GetAuthBackendConfig(ctx *Context, name string, id IDInput, state *AuthBackendConfigState, opts ...ResourceOption) (*AuthBackendConfig, error)public static AuthBackendConfig Get(string name, Input<string> id, AuthBackendConfigState? state, CustomResourceOptions? opts = null)public static AuthBackendConfig get(String name, Output<String> id, AuthBackendConfigState state, CustomResourceOptions options)resources: _: type: vault:spiffe:AuthBackendConfig get: id: ${id}import {
to = vault_spiffe_auth_backend_config.example
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.
- Audiences List<string>
- A list of allowed audience values for JWT based SVIDs.
- Bundle string
- A PEM encoded X.509 certificate or a JWKS document based on what
the
profileargument is set. - Defer
Bundle boolFetch - NOTE: This field is write-only and its value will not be updated in state as part of read operations. If true, tells Vault not to fetch the remote trust bundle to validate the configuration
- Endpoint
Root stringCa Truststore Pem - A PEM encoded CA certificate to use
to validate the TLS connection to the
endpointUrlwhen theprofileargument is set tohttpsWebBundleorhttpsWebPem. - Endpoint
Spiffe stringId - The SPIFFE ID to expect in the TLS certificate when
the
profileargument is set tohttpsSpiffeBundle. - Endpoint
Url string - The URL to fetch the trust bundle from. Required if the
profileargument is set tohttpsSpiffeBundle,httpsWebBundle, orhttpsWebPem. - Mount string
- The PKI secret backend the resource belongs to.
- 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. - Profile string
- Sets the profile type and fetch mechanism for the profile
used to fetch the trust bundle. Must be one of:
- httpsSpiffeBundle - fetch the trust bundle in JWKS format from a SPIFFE endpoint.
- httpsWebBundle - fetch the trust bundle in JWKS format from an HTTPS endpoint.
- httpsWebPem - fetch a valid X.509 certificate as the trust bundle from an HTTPS endpoint.
- static - use the trust bundle explicitly configured in the profile definition.
- Trust
Domain string - The SPIFFE trust domain used by the backend.
- Audiences []string
- A list of allowed audience values for JWT based SVIDs.
- Bundle string
- A PEM encoded X.509 certificate or a JWKS document based on what
the
profileargument is set. - Defer
Bundle boolFetch - NOTE: This field is write-only and its value will not be updated in state as part of read operations. If true, tells Vault not to fetch the remote trust bundle to validate the configuration
- Endpoint
Root stringCa Truststore Pem - A PEM encoded CA certificate to use
to validate the TLS connection to the
endpointUrlwhen theprofileargument is set tohttpsWebBundleorhttpsWebPem. - Endpoint
Spiffe stringId - The SPIFFE ID to expect in the TLS certificate when
the
profileargument is set tohttpsSpiffeBundle. - Endpoint
Url string - The URL to fetch the trust bundle from. Required if the
profileargument is set tohttpsSpiffeBundle,httpsWebBundle, orhttpsWebPem. - Mount string
- The PKI secret backend the resource belongs to.
- 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. - Profile string
- Sets the profile type and fetch mechanism for the profile
used to fetch the trust bundle. Must be one of:
- httpsSpiffeBundle - fetch the trust bundle in JWKS format from a SPIFFE endpoint.
- httpsWebBundle - fetch the trust bundle in JWKS format from an HTTPS endpoint.
- httpsWebPem - fetch a valid X.509 certificate as the trust bundle from an HTTPS endpoint.
- static - use the trust bundle explicitly configured in the profile definition.
- Trust
Domain string - The SPIFFE trust domain used by the backend.
- audiences list(string)
- A list of allowed audience values for JWT based SVIDs.
- bundle string
- A PEM encoded X.509 certificate or a JWKS document based on what
the
profileargument is set. - defer_
bundle_ boolfetch - NOTE: This field is write-only and its value will not be updated in state as part of read operations. If true, tells Vault not to fetch the remote trust bundle to validate the configuration
- endpoint_
root_ stringca_ truststore_ pem - A PEM encoded CA certificate to use
to validate the TLS connection to the
endpointUrlwhen theprofileargument is set tohttpsWebBundleorhttpsWebPem. - endpoint_
spiffe_ stringid - The SPIFFE ID to expect in the TLS certificate when
the
profileargument is set tohttpsSpiffeBundle. - endpoint_
url string - The URL to fetch the trust bundle from. Required if the
profileargument is set tohttpsSpiffeBundle,httpsWebBundle, orhttpsWebPem. - mount string
- The PKI secret backend the resource belongs to.
- 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. - profile string
- Sets the profile type and fetch mechanism for the profile
used to fetch the trust bundle. Must be one of:
- httpsSpiffeBundle - fetch the trust bundle in JWKS format from a SPIFFE endpoint.
- httpsWebBundle - fetch the trust bundle in JWKS format from an HTTPS endpoint.
- httpsWebPem - fetch a valid X.509 certificate as the trust bundle from an HTTPS endpoint.
- static - use the trust bundle explicitly configured in the profile definition.
- trust_
domain string - The SPIFFE trust domain used by the backend.
- audiences List<String>
- A list of allowed audience values for JWT based SVIDs.
- bundle String
- A PEM encoded X.509 certificate or a JWKS document based on what
the
profileargument is set. - defer
Bundle BooleanFetch - NOTE: This field is write-only and its value will not be updated in state as part of read operations. If true, tells Vault not to fetch the remote trust bundle to validate the configuration
- endpoint
Root StringCa Truststore Pem - A PEM encoded CA certificate to use
to validate the TLS connection to the
endpointUrlwhen theprofileargument is set tohttpsWebBundleorhttpsWebPem. - endpoint
Spiffe StringId - The SPIFFE ID to expect in the TLS certificate when
the
profileargument is set tohttpsSpiffeBundle. - endpoint
Url String - The URL to fetch the trust bundle from. Required if the
profileargument is set tohttpsSpiffeBundle,httpsWebBundle, orhttpsWebPem. - mount String
- The PKI secret backend the resource belongs to.
- 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. - profile String
- Sets the profile type and fetch mechanism for the profile
used to fetch the trust bundle. Must be one of:
- httpsSpiffeBundle - fetch the trust bundle in JWKS format from a SPIFFE endpoint.
- httpsWebBundle - fetch the trust bundle in JWKS format from an HTTPS endpoint.
- httpsWebPem - fetch a valid X.509 certificate as the trust bundle from an HTTPS endpoint.
- static - use the trust bundle explicitly configured in the profile definition.
- trust
Domain String - The SPIFFE trust domain used by the backend.
- audiences string[]
- A list of allowed audience values for JWT based SVIDs.
- bundle string
- A PEM encoded X.509 certificate or a JWKS document based on what
the
profileargument is set. - defer
Bundle booleanFetch - NOTE: This field is write-only and its value will not be updated in state as part of read operations. If true, tells Vault not to fetch the remote trust bundle to validate the configuration
- endpoint
Root stringCa Truststore Pem - A PEM encoded CA certificate to use
to validate the TLS connection to the
endpointUrlwhen theprofileargument is set tohttpsWebBundleorhttpsWebPem. - endpoint
Spiffe stringId - The SPIFFE ID to expect in the TLS certificate when
the
profileargument is set tohttpsSpiffeBundle. - endpoint
Url string - The URL to fetch the trust bundle from. Required if the
profileargument is set tohttpsSpiffeBundle,httpsWebBundle, orhttpsWebPem. - mount string
- The PKI secret backend the resource belongs to.
- 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. - profile string
- Sets the profile type and fetch mechanism for the profile
used to fetch the trust bundle. Must be one of:
- httpsSpiffeBundle - fetch the trust bundle in JWKS format from a SPIFFE endpoint.
- httpsWebBundle - fetch the trust bundle in JWKS format from an HTTPS endpoint.
- httpsWebPem - fetch a valid X.509 certificate as the trust bundle from an HTTPS endpoint.
- static - use the trust bundle explicitly configured in the profile definition.
- trust
Domain string - The SPIFFE trust domain used by the backend.
- audiences Sequence[str]
- A list of allowed audience values for JWT based SVIDs.
- bundle str
- A PEM encoded X.509 certificate or a JWKS document based on what
the
profileargument is set. - defer_
bundle_ boolfetch - NOTE: This field is write-only and its value will not be updated in state as part of read operations. If true, tells Vault not to fetch the remote trust bundle to validate the configuration
- endpoint_
root_ strca_ truststore_ pem - A PEM encoded CA certificate to use
to validate the TLS connection to the
endpointUrlwhen theprofileargument is set tohttpsWebBundleorhttpsWebPem. - endpoint_
spiffe_ strid - The SPIFFE ID to expect in the TLS certificate when
the
profileargument is set tohttpsSpiffeBundle. - endpoint_
url str - The URL to fetch the trust bundle from. Required if the
profileargument is set tohttpsSpiffeBundle,httpsWebBundle, orhttpsWebPem. - mount str
- The PKI secret backend the resource belongs to.
- 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. - profile str
- Sets the profile type and fetch mechanism for the profile
used to fetch the trust bundle. Must be one of:
- httpsSpiffeBundle - fetch the trust bundle in JWKS format from a SPIFFE endpoint.
- httpsWebBundle - fetch the trust bundle in JWKS format from an HTTPS endpoint.
- httpsWebPem - fetch a valid X.509 certificate as the trust bundle from an HTTPS endpoint.
- static - use the trust bundle explicitly configured in the profile definition.
- trust_
domain str - The SPIFFE trust domain used by the backend.
- audiences List<String>
- A list of allowed audience values for JWT based SVIDs.
- bundle String
- A PEM encoded X.509 certificate or a JWKS document based on what
the
profileargument is set. - defer
Bundle BooleanFetch - NOTE: This field is write-only and its value will not be updated in state as part of read operations. If true, tells Vault not to fetch the remote trust bundle to validate the configuration
- endpoint
Root StringCa Truststore Pem - A PEM encoded CA certificate to use
to validate the TLS connection to the
endpointUrlwhen theprofileargument is set tohttpsWebBundleorhttpsWebPem. - endpoint
Spiffe StringId - The SPIFFE ID to expect in the TLS certificate when
the
profileargument is set tohttpsSpiffeBundle. - endpoint
Url String - The URL to fetch the trust bundle from. Required if the
profileargument is set tohttpsSpiffeBundle,httpsWebBundle, orhttpsWebPem. - mount String
- The PKI secret backend the resource belongs to.
- 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. - profile String
- Sets the profile type and fetch mechanism for the profile
used to fetch the trust bundle. Must be one of:
- httpsSpiffeBundle - fetch the trust bundle in JWKS format from a SPIFFE endpoint.
- httpsWebBundle - fetch the trust bundle in JWKS format from an HTTPS endpoint.
- httpsWebPem - fetch a valid X.509 certificate as the trust bundle from an HTTPS endpoint.
- static - use the trust bundle explicitly configured in the profile definition.
- trust
Domain String - The SPIFFE trust domain used by the backend.
Import
The SPIFFE config can be imported using the resource’s id.
In the case of the example above the id would be auth/spiffe/config,
where the spiffe component is the resource’s mount, e.g.
$ pulumi import vault:spiffe/authBackendConfig:AuthBackendConfig spiffe_config auth/spiffe/config
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.
published on Saturday, Aug 15, 2026 by Pulumi