1. Packages
  2. HashiCorp Vault
  3. API Docs
  4. consul
  5. SecretBackend
HashiCorp Vault v6.0.0 published on Monday, Mar 25, 2024 by Pulumi

vault.consul.SecretBackend

Explore with Pulumi AI

vault logo
HashiCorp Vault v6.0.0 published on Monday, Mar 25, 2024 by Pulumi

    Example Usage

    Creating a standard backend resource:

    import * as pulumi from "@pulumi/pulumi";
    import * as vault from "@pulumi/vault";
    
    const test = new vault.consul.SecretBackend("test", {
        address: "127.0.0.1:8500",
        description: "Manages the Consul backend",
        path: "consul",
        token: "4240861b-ce3d-8530-115a-521ff070dd29",
    });
    
    import pulumi
    import pulumi_vault as vault
    
    test = vault.consul.SecretBackend("test",
        address="127.0.0.1:8500",
        description="Manages the Consul backend",
        path="consul",
        token="4240861b-ce3d-8530-115a-521ff070dd29")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-vault/sdk/v6/go/vault/consul"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := consul.NewSecretBackend(ctx, "test", &consul.SecretBackendArgs{
    			Address:     pulumi.String("127.0.0.1:8500"),
    			Description: pulumi.String("Manages the Consul backend"),
    			Path:        pulumi.String("consul"),
    			Token:       pulumi.String("4240861b-ce3d-8530-115a-521ff070dd29"),
    		})
    		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 test = new Vault.Consul.SecretBackend("test", new()
        {
            Address = "127.0.0.1:8500",
            Description = "Manages the Consul backend",
            Path = "consul",
            Token = "4240861b-ce3d-8530-115a-521ff070dd29",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vault.consul.SecretBackend;
    import com.pulumi.vault.consul.SecretBackendArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var test = new SecretBackend("test", SecretBackendArgs.builder()        
                .address("127.0.0.1:8500")
                .description("Manages the Consul backend")
                .path("consul")
                .token("4240861b-ce3d-8530-115a-521ff070dd29")
                .build());
    
        }
    }
    
    resources:
      test:
        type: vault:consul:SecretBackend
        properties:
          address: 127.0.0.1:8500
          description: Manages the Consul backend
          path: consul
          token: 4240861b-ce3d-8530-115a-521ff070dd29
    

    Creating a backend resource to bootstrap a new Consul instance:

    import * as pulumi from "@pulumi/pulumi";
    import * as vault from "@pulumi/vault";
    
    const test = new vault.consul.SecretBackend("test", {
        address: "127.0.0.1:8500",
        bootstrap: true,
        description: "Bootstrap the Consul backend",
        path: "consul",
    });
    
    import pulumi
    import pulumi_vault as vault
    
    test = vault.consul.SecretBackend("test",
        address="127.0.0.1:8500",
        bootstrap=True,
        description="Bootstrap the Consul backend",
        path="consul")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-vault/sdk/v6/go/vault/consul"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := consul.NewSecretBackend(ctx, "test", &consul.SecretBackendArgs{
    			Address:     pulumi.String("127.0.0.1:8500"),
    			Bootstrap:   pulumi.Bool(true),
    			Description: pulumi.String("Bootstrap the Consul backend"),
    			Path:        pulumi.String("consul"),
    		})
    		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 test = new Vault.Consul.SecretBackend("test", new()
        {
            Address = "127.0.0.1:8500",
            Bootstrap = true,
            Description = "Bootstrap the Consul backend",
            Path = "consul",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vault.consul.SecretBackend;
    import com.pulumi.vault.consul.SecretBackendArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var test = new SecretBackend("test", SecretBackendArgs.builder()        
                .address("127.0.0.1:8500")
                .bootstrap(true)
                .description("Bootstrap the Consul backend")
                .path("consul")
                .build());
    
        }
    }
    
    resources:
      test:
        type: vault:consul:SecretBackend
        properties:
          address: 127.0.0.1:8500
          bootstrap: true
          description: Bootstrap the Consul backend
          path: consul
    

    Create SecretBackend Resource

    new SecretBackend(name: string, args: SecretBackendArgs, opts?: CustomResourceOptions);
    @overload
    def SecretBackend(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      address: Optional[str] = None,
                      bootstrap: Optional[bool] = None,
                      ca_cert: Optional[str] = None,
                      client_cert: Optional[str] = None,
                      client_key: Optional[str] = None,
                      default_lease_ttl_seconds: Optional[int] = None,
                      description: Optional[str] = None,
                      disable_remount: Optional[bool] = None,
                      local: Optional[bool] = None,
                      max_lease_ttl_seconds: Optional[int] = None,
                      namespace: Optional[str] = None,
                      path: Optional[str] = None,
                      scheme: Optional[str] = None,
                      token: Optional[str] = None)
    @overload
    def SecretBackend(resource_name: str,
                      args: SecretBackendArgs,
                      opts: Optional[ResourceOptions] = None)
    func NewSecretBackend(ctx *Context, name string, args SecretBackendArgs, opts ...ResourceOption) (*SecretBackend, error)
    public SecretBackend(string name, SecretBackendArgs args, CustomResourceOptions? opts = null)
    public SecretBackend(String name, SecretBackendArgs args)
    public SecretBackend(String name, SecretBackendArgs args, CustomResourceOptions options)
    
    type: vault:consul:SecretBackend
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args SecretBackendArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SecretBackendArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SecretBackendArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecretBackendArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecretBackendArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    SecretBackend Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SecretBackend resource accepts the following input properties:

    Address string
    Specifies the address of the Consul instance, provided as "host:port" like "127.0.0.1:8500".
    Bootstrap bool
    Denotes a backend resource that is used to bootstrap the Consul ACL system. Only one resource may be used to bootstrap.
    CaCert string
    CA certificate to use when verifying Consul server certificate, must be x509 PEM encoded.
    ClientCert string
    Client certificate used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_key.
    ClientKey string
    Client key used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_cert.
    DefaultLeaseTtlSeconds int
    The default TTL for credentials issued by this backend.
    Description string
    A human-friendly description for this backend.
    DisableRemount bool
    If set, opts out of mount migration on path updates. See here for more info on Mount Migration
    Local bool
    Specifies if the secret backend is local only.
    MaxLeaseTtlSeconds int
    The maximum TTL that can be requested for credentials issued by this backend.
    Namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    Path string
    The unique location this backend should be mounted at. Must not begin or end with a /. Defaults to consul.
    Scheme string
    Specifies the URL scheme to use. Defaults to http.
    Token string
    Specifies the Consul token to use when managing or issuing new tokens.
    Address string
    Specifies the address of the Consul instance, provided as "host:port" like "127.0.0.1:8500".
    Bootstrap bool
    Denotes a backend resource that is used to bootstrap the Consul ACL system. Only one resource may be used to bootstrap.
    CaCert string
    CA certificate to use when verifying Consul server certificate, must be x509 PEM encoded.
    ClientCert string
    Client certificate used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_key.
    ClientKey string
    Client key used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_cert.
    DefaultLeaseTtlSeconds int
    The default TTL for credentials issued by this backend.
    Description string
    A human-friendly description for this backend.
    DisableRemount bool
    If set, opts out of mount migration on path updates. See here for more info on Mount Migration
    Local bool
    Specifies if the secret backend is local only.
    MaxLeaseTtlSeconds int
    The maximum TTL that can be requested for credentials issued by this backend.
    Namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    Path string
    The unique location this backend should be mounted at. Must not begin or end with a /. Defaults to consul.
    Scheme string
    Specifies the URL scheme to use. Defaults to http.
    Token string
    Specifies the Consul token to use when managing or issuing new tokens.
    address String
    Specifies the address of the Consul instance, provided as "host:port" like "127.0.0.1:8500".
    bootstrap Boolean
    Denotes a backend resource that is used to bootstrap the Consul ACL system. Only one resource may be used to bootstrap.
    caCert String
    CA certificate to use when verifying Consul server certificate, must be x509 PEM encoded.
    clientCert String
    Client certificate used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_key.
    clientKey String
    Client key used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_cert.
    defaultLeaseTtlSeconds Integer
    The default TTL for credentials issued by this backend.
    description String
    A human-friendly description for this backend.
    disableRemount Boolean
    If set, opts out of mount migration on path updates. See here for more info on Mount Migration
    local Boolean
    Specifies if the secret backend is local only.
    maxLeaseTtlSeconds Integer
    The maximum TTL that can be requested for credentials issued by this backend.
    namespace String
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    path String
    The unique location this backend should be mounted at. Must not begin or end with a /. Defaults to consul.
    scheme String
    Specifies the URL scheme to use. Defaults to http.
    token String
    Specifies the Consul token to use when managing or issuing new tokens.
    address string
    Specifies the address of the Consul instance, provided as "host:port" like "127.0.0.1:8500".
    bootstrap boolean
    Denotes a backend resource that is used to bootstrap the Consul ACL system. Only one resource may be used to bootstrap.
    caCert string
    CA certificate to use when verifying Consul server certificate, must be x509 PEM encoded.
    clientCert string
    Client certificate used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_key.
    clientKey string
    Client key used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_cert.
    defaultLeaseTtlSeconds number
    The default TTL for credentials issued by this backend.
    description string
    A human-friendly description for this backend.
    disableRemount boolean
    If set, opts out of mount migration on path updates. See here for more info on Mount Migration
    local boolean
    Specifies if the secret backend is local only.
    maxLeaseTtlSeconds number
    The maximum TTL that can be requested for credentials issued by this backend.
    namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    path string
    The unique location this backend should be mounted at. Must not begin or end with a /. Defaults to consul.
    scheme string
    Specifies the URL scheme to use. Defaults to http.
    token string
    Specifies the Consul token to use when managing or issuing new tokens.
    address str
    Specifies the address of the Consul instance, provided as "host:port" like "127.0.0.1:8500".
    bootstrap bool
    Denotes a backend resource that is used to bootstrap the Consul ACL system. Only one resource may be used to bootstrap.
    ca_cert str
    CA certificate to use when verifying Consul server certificate, must be x509 PEM encoded.
    client_cert str
    Client certificate used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_key.
    client_key str
    Client key used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_cert.
    default_lease_ttl_seconds int
    The default TTL for credentials issued by this backend.
    description str
    A human-friendly description for this backend.
    disable_remount bool
    If set, opts out of mount migration on path updates. See here for more info on Mount Migration
    local bool
    Specifies if the secret backend is local only.
    max_lease_ttl_seconds int
    The maximum TTL that can be requested for credentials issued by this backend.
    namespace str
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    path str
    The unique location this backend should be mounted at. Must not begin or end with a /. Defaults to consul.
    scheme str
    Specifies the URL scheme to use. Defaults to http.
    token str
    Specifies the Consul token to use when managing or issuing new tokens.
    address String
    Specifies the address of the Consul instance, provided as "host:port" like "127.0.0.1:8500".
    bootstrap Boolean
    Denotes a backend resource that is used to bootstrap the Consul ACL system. Only one resource may be used to bootstrap.
    caCert String
    CA certificate to use when verifying Consul server certificate, must be x509 PEM encoded.
    clientCert String
    Client certificate used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_key.
    clientKey String
    Client key used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_cert.
    defaultLeaseTtlSeconds Number
    The default TTL for credentials issued by this backend.
    description String
    A human-friendly description for this backend.
    disableRemount Boolean
    If set, opts out of mount migration on path updates. See here for more info on Mount Migration
    local Boolean
    Specifies if the secret backend is local only.
    maxLeaseTtlSeconds Number
    The maximum TTL that can be requested for credentials issued by this backend.
    namespace String
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    path String
    The unique location this backend should be mounted at. Must not begin or end with a /. Defaults to consul.
    scheme String
    Specifies the URL scheme to use. Defaults to http.
    token String
    Specifies the Consul token to use when managing or issuing new tokens.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SecretBackend 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 str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SecretBackend Resource

    Get an existing SecretBackend resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SecretBackendState, opts?: CustomResourceOptions): SecretBackend
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address: Optional[str] = None,
            bootstrap: Optional[bool] = None,
            ca_cert: Optional[str] = None,
            client_cert: Optional[str] = None,
            client_key: Optional[str] = None,
            default_lease_ttl_seconds: Optional[int] = None,
            description: Optional[str] = None,
            disable_remount: Optional[bool] = None,
            local: Optional[bool] = None,
            max_lease_ttl_seconds: Optional[int] = None,
            namespace: Optional[str] = None,
            path: Optional[str] = None,
            scheme: Optional[str] = None,
            token: Optional[str] = None) -> SecretBackend
    func GetSecretBackend(ctx *Context, name string, id IDInput, state *SecretBackendState, opts ...ResourceOption) (*SecretBackend, error)
    public static SecretBackend Get(string name, Input<string> id, SecretBackendState? state, CustomResourceOptions? opts = null)
    public static SecretBackend get(String name, Output<String> id, SecretBackendState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Address string
    Specifies the address of the Consul instance, provided as "host:port" like "127.0.0.1:8500".
    Bootstrap bool
    Denotes a backend resource that is used to bootstrap the Consul ACL system. Only one resource may be used to bootstrap.
    CaCert string
    CA certificate to use when verifying Consul server certificate, must be x509 PEM encoded.
    ClientCert string
    Client certificate used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_key.
    ClientKey string
    Client key used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_cert.
    DefaultLeaseTtlSeconds int
    The default TTL for credentials issued by this backend.
    Description string
    A human-friendly description for this backend.
    DisableRemount bool
    If set, opts out of mount migration on path updates. See here for more info on Mount Migration
    Local bool
    Specifies if the secret backend is local only.
    MaxLeaseTtlSeconds int
    The maximum TTL that can be requested for credentials issued by this backend.
    Namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    Path string
    The unique location this backend should be mounted at. Must not begin or end with a /. Defaults to consul.
    Scheme string
    Specifies the URL scheme to use. Defaults to http.
    Token string
    Specifies the Consul token to use when managing or issuing new tokens.
    Address string
    Specifies the address of the Consul instance, provided as "host:port" like "127.0.0.1:8500".
    Bootstrap bool
    Denotes a backend resource that is used to bootstrap the Consul ACL system. Only one resource may be used to bootstrap.
    CaCert string
    CA certificate to use when verifying Consul server certificate, must be x509 PEM encoded.
    ClientCert string
    Client certificate used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_key.
    ClientKey string
    Client key used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_cert.
    DefaultLeaseTtlSeconds int
    The default TTL for credentials issued by this backend.
    Description string
    A human-friendly description for this backend.
    DisableRemount bool
    If set, opts out of mount migration on path updates. See here for more info on Mount Migration
    Local bool
    Specifies if the secret backend is local only.
    MaxLeaseTtlSeconds int
    The maximum TTL that can be requested for credentials issued by this backend.
    Namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    Path string
    The unique location this backend should be mounted at. Must not begin or end with a /. Defaults to consul.
    Scheme string
    Specifies the URL scheme to use. Defaults to http.
    Token string
    Specifies the Consul token to use when managing or issuing new tokens.
    address String
    Specifies the address of the Consul instance, provided as "host:port" like "127.0.0.1:8500".
    bootstrap Boolean
    Denotes a backend resource that is used to bootstrap the Consul ACL system. Only one resource may be used to bootstrap.
    caCert String
    CA certificate to use when verifying Consul server certificate, must be x509 PEM encoded.
    clientCert String
    Client certificate used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_key.
    clientKey String
    Client key used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_cert.
    defaultLeaseTtlSeconds Integer
    The default TTL for credentials issued by this backend.
    description String
    A human-friendly description for this backend.
    disableRemount Boolean
    If set, opts out of mount migration on path updates. See here for more info on Mount Migration
    local Boolean
    Specifies if the secret backend is local only.
    maxLeaseTtlSeconds Integer
    The maximum TTL that can be requested for credentials issued by this backend.
    namespace String
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    path String
    The unique location this backend should be mounted at. Must not begin or end with a /. Defaults to consul.
    scheme String
    Specifies the URL scheme to use. Defaults to http.
    token String
    Specifies the Consul token to use when managing or issuing new tokens.
    address string
    Specifies the address of the Consul instance, provided as "host:port" like "127.0.0.1:8500".
    bootstrap boolean
    Denotes a backend resource that is used to bootstrap the Consul ACL system. Only one resource may be used to bootstrap.
    caCert string
    CA certificate to use when verifying Consul server certificate, must be x509 PEM encoded.
    clientCert string
    Client certificate used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_key.
    clientKey string
    Client key used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_cert.
    defaultLeaseTtlSeconds number
    The default TTL for credentials issued by this backend.
    description string
    A human-friendly description for this backend.
    disableRemount boolean
    If set, opts out of mount migration on path updates. See here for more info on Mount Migration
    local boolean
    Specifies if the secret backend is local only.
    maxLeaseTtlSeconds number
    The maximum TTL that can be requested for credentials issued by this backend.
    namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    path string
    The unique location this backend should be mounted at. Must not begin or end with a /. Defaults to consul.
    scheme string
    Specifies the URL scheme to use. Defaults to http.
    token string
    Specifies the Consul token to use when managing or issuing new tokens.
    address str
    Specifies the address of the Consul instance, provided as "host:port" like "127.0.0.1:8500".
    bootstrap bool
    Denotes a backend resource that is used to bootstrap the Consul ACL system. Only one resource may be used to bootstrap.
    ca_cert str
    CA certificate to use when verifying Consul server certificate, must be x509 PEM encoded.
    client_cert str
    Client certificate used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_key.
    client_key str
    Client key used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_cert.
    default_lease_ttl_seconds int
    The default TTL for credentials issued by this backend.
    description str
    A human-friendly description for this backend.
    disable_remount bool
    If set, opts out of mount migration on path updates. See here for more info on Mount Migration
    local bool
    Specifies if the secret backend is local only.
    max_lease_ttl_seconds int
    The maximum TTL that can be requested for credentials issued by this backend.
    namespace str
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    path str
    The unique location this backend should be mounted at. Must not begin or end with a /. Defaults to consul.
    scheme str
    Specifies the URL scheme to use. Defaults to http.
    token str
    Specifies the Consul token to use when managing or issuing new tokens.
    address String
    Specifies the address of the Consul instance, provided as "host:port" like "127.0.0.1:8500".
    bootstrap Boolean
    Denotes a backend resource that is used to bootstrap the Consul ACL system. Only one resource may be used to bootstrap.
    caCert String
    CA certificate to use when verifying Consul server certificate, must be x509 PEM encoded.
    clientCert String
    Client certificate used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_key.
    clientKey String
    Client key used for Consul's TLS communication, must be x509 PEM encoded and if this is set you need to also set client_cert.
    defaultLeaseTtlSeconds Number
    The default TTL for credentials issued by this backend.
    description String
    A human-friendly description for this backend.
    disableRemount Boolean
    If set, opts out of mount migration on path updates. See here for more info on Mount Migration
    local Boolean
    Specifies if the secret backend is local only.
    maxLeaseTtlSeconds Number
    The maximum TTL that can be requested for credentials issued by this backend.
    namespace String
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    path String
    The unique location this backend should be mounted at. Must not begin or end with a /. Defaults to consul.
    scheme String
    Specifies the URL scheme to use. Defaults to http.
    token String
    Specifies the Consul token to use when managing or issuing new tokens.

    Import

    Consul secret backends can be imported using the path, e.g.

    $ pulumi import vault:consul/secretBackend:SecretBackend example consul
    

    Package Details

    Repository
    Vault pulumi/pulumi-vault
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vault Terraform Provider.
    vault logo
    HashiCorp Vault v6.0.0 published on Monday, Mar 25, 2024 by Pulumi