1. Packages
  2. HashiCorp Vault Provider
  3. API Docs
  4. ScepAuthBackendRole
HashiCorp Vault v7.1.0 published on Thursday, Jul 10, 2025 by Pulumi

vault.ScepAuthBackendRole

Explore with Pulumi AI

vault logo
HashiCorp Vault v7.1.0 published on Thursday, Jul 10, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vault from "@pulumi/vault";
    
    const scep = new vault.AuthBackend("scep", {
        path: "scep",
        type: "scep",
    });
    const scepScepAuthBackendRole = new vault.ScepAuthBackendRole("scep", {
        backend: scep.path,
        name: "scep_challenge",
        authType: "static-challenge",
        challenge: "well known secret",
        tokenType: "batch",
        tokenTtl: 300,
        tokenMaxTtl: 600,
        tokenPolicies: ["scep-clients"],
    });
    
    import pulumi
    import pulumi_vault as vault
    
    scep = vault.AuthBackend("scep",
        path="scep",
        type="scep")
    scep_scep_auth_backend_role = vault.ScepAuthBackendRole("scep",
        backend=scep.path,
        name="scep_challenge",
        auth_type="static-challenge",
        challenge="well known secret",
        token_type="batch",
        token_ttl=300,
        token_max_ttl=600,
        token_policies=["scep-clients"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-vault/sdk/v7/go/vault"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		scep, err := vault.NewAuthBackend(ctx, "scep", &vault.AuthBackendArgs{
    			Path: pulumi.String("scep"),
    			Type: pulumi.String("scep"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = vault.NewScepAuthBackendRole(ctx, "scep", &vault.ScepAuthBackendRoleArgs{
    			Backend:     scep.Path,
    			Name:        pulumi.String("scep_challenge"),
    			AuthType:    pulumi.String("static-challenge"),
    			Challenge:   pulumi.String("well known secret"),
    			TokenType:   pulumi.String("batch"),
    			TokenTtl:    pulumi.Int(300),
    			TokenMaxTtl: pulumi.Int(600),
    			TokenPolicies: pulumi.StringArray{
    				pulumi.String("scep-clients"),
    			},
    		})
    		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 scep = new Vault.AuthBackend("scep", new()
        {
            Path = "scep",
            Type = "scep",
        });
    
        var scepScepAuthBackendRole = new Vault.ScepAuthBackendRole("scep", new()
        {
            Backend = scep.Path,
            Name = "scep_challenge",
            AuthType = "static-challenge",
            Challenge = "well known secret",
            TokenType = "batch",
            TokenTtl = 300,
            TokenMaxTtl = 600,
            TokenPolicies = new[]
            {
                "scep-clients",
            },
        });
    
    });
    
    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.ScepAuthBackendRole;
    import com.pulumi.vault.ScepAuthBackendRoleArgs;
    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 scep = new AuthBackend("scep", AuthBackendArgs.builder()
                .path("scep")
                .type("scep")
                .build());
    
            var scepScepAuthBackendRole = new ScepAuthBackendRole("scepScepAuthBackendRole", ScepAuthBackendRoleArgs.builder()
                .backend(scep.path())
                .name("scep_challenge")
                .authType("static-challenge")
                .challenge("well known secret")
                .tokenType("batch")
                .tokenTtl(300)
                .tokenMaxTtl(600)
                .tokenPolicies("scep-clients")
                .build());
    
        }
    }
    
    resources:
      scep:
        type: vault:AuthBackend
        properties:
          path: scep
          type: scep
      scepScepAuthBackendRole:
        type: vault:ScepAuthBackendRole
        name: scep
        properties:
          backend: ${scep.path}
          name: scep_challenge
          authType: static-challenge
          challenge: well known secret
          tokenType: batch
          tokenTtl: 300
          tokenMaxTtl: 600
          tokenPolicies:
            - scep-clients
    

    Create ScepAuthBackendRole Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ScepAuthBackendRole(name: string, args: ScepAuthBackendRoleArgs, opts?: CustomResourceOptions);
    @overload
    def ScepAuthBackendRole(resource_name: str,
                            args: ScepAuthBackendRoleArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def ScepAuthBackendRole(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            auth_type: Optional[str] = None,
                            backend: Optional[str] = None,
                            challenge: Optional[str] = None,
                            display_name: Optional[str] = None,
                            name: Optional[str] = None,
                            namespace: Optional[str] = None,
                            token_bound_cidrs: Optional[Sequence[str]] = None,
                            token_explicit_max_ttl: Optional[int] = None,
                            token_max_ttl: Optional[int] = None,
                            token_no_default_policy: Optional[bool] = None,
                            token_num_uses: Optional[int] = None,
                            token_period: Optional[int] = None,
                            token_policies: Optional[Sequence[str]] = None,
                            token_ttl: Optional[int] = None,
                            token_type: Optional[str] = None)
    func NewScepAuthBackendRole(ctx *Context, name string, args ScepAuthBackendRoleArgs, opts ...ResourceOption) (*ScepAuthBackendRole, error)
    public ScepAuthBackendRole(string name, ScepAuthBackendRoleArgs args, CustomResourceOptions? opts = null)
    public ScepAuthBackendRole(String name, ScepAuthBackendRoleArgs args)
    public ScepAuthBackendRole(String name, ScepAuthBackendRoleArgs args, CustomResourceOptions options)
    
    type: vault:ScepAuthBackendRole
    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 ScepAuthBackendRoleArgs
    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 ScepAuthBackendRoleArgs
    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 ScepAuthBackendRoleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ScepAuthBackendRoleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ScepAuthBackendRoleArgs
    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 scepAuthBackendRoleResource = new Vault.ScepAuthBackendRole("scepAuthBackendRoleResource", new()
    {
        AuthType = "string",
        Backend = "string",
        Challenge = "string",
        DisplayName = "string",
        Name = "string",
        Namespace = "string",
        TokenBoundCidrs = new[]
        {
            "string",
        },
        TokenExplicitMaxTtl = 0,
        TokenMaxTtl = 0,
        TokenNoDefaultPolicy = false,
        TokenNumUses = 0,
        TokenPeriod = 0,
        TokenPolicies = new[]
        {
            "string",
        },
        TokenTtl = 0,
        TokenType = "string",
    });
    
    example, err := vault.NewScepAuthBackendRole(ctx, "scepAuthBackendRoleResource", &vault.ScepAuthBackendRoleArgs{
    	AuthType:    pulumi.String("string"),
    	Backend:     pulumi.String("string"),
    	Challenge:   pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Namespace:   pulumi.String("string"),
    	TokenBoundCidrs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TokenExplicitMaxTtl:  pulumi.Int(0),
    	TokenMaxTtl:          pulumi.Int(0),
    	TokenNoDefaultPolicy: pulumi.Bool(false),
    	TokenNumUses:         pulumi.Int(0),
    	TokenPeriod:          pulumi.Int(0),
    	TokenPolicies: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TokenTtl:  pulumi.Int(0),
    	TokenType: pulumi.String("string"),
    })
    
    var scepAuthBackendRoleResource = new ScepAuthBackendRole("scepAuthBackendRoleResource", ScepAuthBackendRoleArgs.builder()
        .authType("string")
        .backend("string")
        .challenge("string")
        .displayName("string")
        .name("string")
        .namespace("string")
        .tokenBoundCidrs("string")
        .tokenExplicitMaxTtl(0)
        .tokenMaxTtl(0)
        .tokenNoDefaultPolicy(false)
        .tokenNumUses(0)
        .tokenPeriod(0)
        .tokenPolicies("string")
        .tokenTtl(0)
        .tokenType("string")
        .build());
    
    scep_auth_backend_role_resource = vault.ScepAuthBackendRole("scepAuthBackendRoleResource",
        auth_type="string",
        backend="string",
        challenge="string",
        display_name="string",
        name="string",
        namespace="string",
        token_bound_cidrs=["string"],
        token_explicit_max_ttl=0,
        token_max_ttl=0,
        token_no_default_policy=False,
        token_num_uses=0,
        token_period=0,
        token_policies=["string"],
        token_ttl=0,
        token_type="string")
    
    const scepAuthBackendRoleResource = new vault.ScepAuthBackendRole("scepAuthBackendRoleResource", {
        authType: "string",
        backend: "string",
        challenge: "string",
        displayName: "string",
        name: "string",
        namespace: "string",
        tokenBoundCidrs: ["string"],
        tokenExplicitMaxTtl: 0,
        tokenMaxTtl: 0,
        tokenNoDefaultPolicy: false,
        tokenNumUses: 0,
        tokenPeriod: 0,
        tokenPolicies: ["string"],
        tokenTtl: 0,
        tokenType: "string",
    });
    
    type: vault:ScepAuthBackendRole
    properties:
        authType: string
        backend: string
        challenge: string
        displayName: string
        name: string
        namespace: string
        tokenBoundCidrs:
            - string
        tokenExplicitMaxTtl: 0
        tokenMaxTtl: 0
        tokenNoDefaultPolicy: false
        tokenNumUses: 0
        tokenPeriod: 0
        tokenPolicies:
            - string
        tokenTtl: 0
        tokenType: string
    

    ScepAuthBackendRole 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 ScepAuthBackendRole resource accepts the following input properties:

    AuthType string
    The authentication type to use. This can be either "static-challenge" or "intune".
    Backend string
    Path to the mounted SCEP auth backend.
    Challenge string
    The static challenge to use if auth_type is "static-challenge", not used for other auth types.
    DisplayName string
    Name string
    Name of the role.
    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.
    TokenBoundCidrs List<string>
    Specifies the blocks of IP addresses which are allowed to use the generated token
    TokenExplicitMaxTtl int
    Generated Token's Explicit Maximum TTL in seconds
    TokenMaxTtl int
    The maximum lifetime of the generated token
    TokenNoDefaultPolicy bool
    If true, the 'default' policy will not automatically be added to generated tokens
    TokenNumUses int
    The maximum number of times a token may be used, a value of zero means unlimited
    TokenPeriod int
    Generated Token's Period
    TokenPolicies List<string>
    Generated Token's Policies
    TokenTtl int
    The initial ttl of the token to generate in seconds
    TokenType string
    The type of token to generate, service or batch
    AuthType string
    The authentication type to use. This can be either "static-challenge" or "intune".
    Backend string
    Path to the mounted SCEP auth backend.
    Challenge string
    The static challenge to use if auth_type is "static-challenge", not used for other auth types.
    DisplayName string
    Name string
    Name of the role.
    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.
    TokenBoundCidrs []string
    Specifies the blocks of IP addresses which are allowed to use the generated token
    TokenExplicitMaxTtl int
    Generated Token's Explicit Maximum TTL in seconds
    TokenMaxTtl int
    The maximum lifetime of the generated token
    TokenNoDefaultPolicy bool
    If true, the 'default' policy will not automatically be added to generated tokens
    TokenNumUses int
    The maximum number of times a token may be used, a value of zero means unlimited
    TokenPeriod int
    Generated Token's Period
    TokenPolicies []string
    Generated Token's Policies
    TokenTtl int
    The initial ttl of the token to generate in seconds
    TokenType string
    The type of token to generate, service or batch
    authType String
    The authentication type to use. This can be either "static-challenge" or "intune".
    backend String
    Path to the mounted SCEP auth backend.
    challenge String
    The static challenge to use if auth_type is "static-challenge", not used for other auth types.
    displayName String
    name String
    Name of the role.
    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.
    tokenBoundCidrs List<String>
    Specifies the blocks of IP addresses which are allowed to use the generated token
    tokenExplicitMaxTtl Integer
    Generated Token's Explicit Maximum TTL in seconds
    tokenMaxTtl Integer
    The maximum lifetime of the generated token
    tokenNoDefaultPolicy Boolean
    If true, the 'default' policy will not automatically be added to generated tokens
    tokenNumUses Integer
    The maximum number of times a token may be used, a value of zero means unlimited
    tokenPeriod Integer
    Generated Token's Period
    tokenPolicies List<String>
    Generated Token's Policies
    tokenTtl Integer
    The initial ttl of the token to generate in seconds
    tokenType String
    The type of token to generate, service or batch
    authType string
    The authentication type to use. This can be either "static-challenge" or "intune".
    backend string
    Path to the mounted SCEP auth backend.
    challenge string
    The static challenge to use if auth_type is "static-challenge", not used for other auth types.
    displayName string
    name string
    Name of the role.
    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.
    tokenBoundCidrs string[]
    Specifies the blocks of IP addresses which are allowed to use the generated token
    tokenExplicitMaxTtl number
    Generated Token's Explicit Maximum TTL in seconds
    tokenMaxTtl number
    The maximum lifetime of the generated token
    tokenNoDefaultPolicy boolean
    If true, the 'default' policy will not automatically be added to generated tokens
    tokenNumUses number
    The maximum number of times a token may be used, a value of zero means unlimited
    tokenPeriod number
    Generated Token's Period
    tokenPolicies string[]
    Generated Token's Policies
    tokenTtl number
    The initial ttl of the token to generate in seconds
    tokenType string
    The type of token to generate, service or batch
    auth_type str
    The authentication type to use. This can be either "static-challenge" or "intune".
    backend str
    Path to the mounted SCEP auth backend.
    challenge str
    The static challenge to use if auth_type is "static-challenge", not used for other auth types.
    display_name str
    name str
    Name of the role.
    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.
    token_bound_cidrs Sequence[str]
    Specifies the blocks of IP addresses which are allowed to use the generated token
    token_explicit_max_ttl int
    Generated Token's Explicit Maximum TTL in seconds
    token_max_ttl int
    The maximum lifetime of the generated token
    token_no_default_policy bool
    If true, the 'default' policy will not automatically be added to generated tokens
    token_num_uses int
    The maximum number of times a token may be used, a value of zero means unlimited
    token_period int
    Generated Token's Period
    token_policies Sequence[str]
    Generated Token's Policies
    token_ttl int
    The initial ttl of the token to generate in seconds
    token_type str
    The type of token to generate, service or batch
    authType String
    The authentication type to use. This can be either "static-challenge" or "intune".
    backend String
    Path to the mounted SCEP auth backend.
    challenge String
    The static challenge to use if auth_type is "static-challenge", not used for other auth types.
    displayName String
    name String
    Name of the role.
    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.
    tokenBoundCidrs List<String>
    Specifies the blocks of IP addresses which are allowed to use the generated token
    tokenExplicitMaxTtl Number
    Generated Token's Explicit Maximum TTL in seconds
    tokenMaxTtl Number
    The maximum lifetime of the generated token
    tokenNoDefaultPolicy Boolean
    If true, the 'default' policy will not automatically be added to generated tokens
    tokenNumUses Number
    The maximum number of times a token may be used, a value of zero means unlimited
    tokenPeriod Number
    Generated Token's Period
    tokenPolicies List<String>
    Generated Token's Policies
    tokenTtl Number
    The initial ttl of the token to generate in seconds
    tokenType String
    The type of token to generate, service or batch

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ScepAuthBackendRole 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 ScepAuthBackendRole Resource

    Get an existing ScepAuthBackendRole 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?: ScepAuthBackendRoleState, opts?: CustomResourceOptions): ScepAuthBackendRole
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auth_type: Optional[str] = None,
            backend: Optional[str] = None,
            challenge: Optional[str] = None,
            display_name: Optional[str] = None,
            name: Optional[str] = None,
            namespace: Optional[str] = None,
            token_bound_cidrs: Optional[Sequence[str]] = None,
            token_explicit_max_ttl: Optional[int] = None,
            token_max_ttl: Optional[int] = None,
            token_no_default_policy: Optional[bool] = None,
            token_num_uses: Optional[int] = None,
            token_period: Optional[int] = None,
            token_policies: Optional[Sequence[str]] = None,
            token_ttl: Optional[int] = None,
            token_type: Optional[str] = None) -> ScepAuthBackendRole
    func GetScepAuthBackendRole(ctx *Context, name string, id IDInput, state *ScepAuthBackendRoleState, opts ...ResourceOption) (*ScepAuthBackendRole, error)
    public static ScepAuthBackendRole Get(string name, Input<string> id, ScepAuthBackendRoleState? state, CustomResourceOptions? opts = null)
    public static ScepAuthBackendRole get(String name, Output<String> id, ScepAuthBackendRoleState state, CustomResourceOptions options)
    resources:  _:    type: vault:ScepAuthBackendRole    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.
    The following state arguments are supported:
    AuthType string
    The authentication type to use. This can be either "static-challenge" or "intune".
    Backend string
    Path to the mounted SCEP auth backend.
    Challenge string
    The static challenge to use if auth_type is "static-challenge", not used for other auth types.
    DisplayName string
    Name string
    Name of the role.
    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.
    TokenBoundCidrs List<string>
    Specifies the blocks of IP addresses which are allowed to use the generated token
    TokenExplicitMaxTtl int
    Generated Token's Explicit Maximum TTL in seconds
    TokenMaxTtl int
    The maximum lifetime of the generated token
    TokenNoDefaultPolicy bool
    If true, the 'default' policy will not automatically be added to generated tokens
    TokenNumUses int
    The maximum number of times a token may be used, a value of zero means unlimited
    TokenPeriod int
    Generated Token's Period
    TokenPolicies List<string>
    Generated Token's Policies
    TokenTtl int
    The initial ttl of the token to generate in seconds
    TokenType string
    The type of token to generate, service or batch
    AuthType string
    The authentication type to use. This can be either "static-challenge" or "intune".
    Backend string
    Path to the mounted SCEP auth backend.
    Challenge string
    The static challenge to use if auth_type is "static-challenge", not used for other auth types.
    DisplayName string
    Name string
    Name of the role.
    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.
    TokenBoundCidrs []string
    Specifies the blocks of IP addresses which are allowed to use the generated token
    TokenExplicitMaxTtl int
    Generated Token's Explicit Maximum TTL in seconds
    TokenMaxTtl int
    The maximum lifetime of the generated token
    TokenNoDefaultPolicy bool
    If true, the 'default' policy will not automatically be added to generated tokens
    TokenNumUses int
    The maximum number of times a token may be used, a value of zero means unlimited
    TokenPeriod int
    Generated Token's Period
    TokenPolicies []string
    Generated Token's Policies
    TokenTtl int
    The initial ttl of the token to generate in seconds
    TokenType string
    The type of token to generate, service or batch
    authType String
    The authentication type to use. This can be either "static-challenge" or "intune".
    backend String
    Path to the mounted SCEP auth backend.
    challenge String
    The static challenge to use if auth_type is "static-challenge", not used for other auth types.
    displayName String
    name String
    Name of the role.
    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.
    tokenBoundCidrs List<String>
    Specifies the blocks of IP addresses which are allowed to use the generated token
    tokenExplicitMaxTtl Integer
    Generated Token's Explicit Maximum TTL in seconds
    tokenMaxTtl Integer
    The maximum lifetime of the generated token
    tokenNoDefaultPolicy Boolean
    If true, the 'default' policy will not automatically be added to generated tokens
    tokenNumUses Integer
    The maximum number of times a token may be used, a value of zero means unlimited
    tokenPeriod Integer
    Generated Token's Period
    tokenPolicies List<String>
    Generated Token's Policies
    tokenTtl Integer
    The initial ttl of the token to generate in seconds
    tokenType String
    The type of token to generate, service or batch
    authType string
    The authentication type to use. This can be either "static-challenge" or "intune".
    backend string
    Path to the mounted SCEP auth backend.
    challenge string
    The static challenge to use if auth_type is "static-challenge", not used for other auth types.
    displayName string
    name string
    Name of the role.
    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.
    tokenBoundCidrs string[]
    Specifies the blocks of IP addresses which are allowed to use the generated token
    tokenExplicitMaxTtl number
    Generated Token's Explicit Maximum TTL in seconds
    tokenMaxTtl number
    The maximum lifetime of the generated token
    tokenNoDefaultPolicy boolean
    If true, the 'default' policy will not automatically be added to generated tokens
    tokenNumUses number
    The maximum number of times a token may be used, a value of zero means unlimited
    tokenPeriod number
    Generated Token's Period
    tokenPolicies string[]
    Generated Token's Policies
    tokenTtl number
    The initial ttl of the token to generate in seconds
    tokenType string
    The type of token to generate, service or batch
    auth_type str
    The authentication type to use. This can be either "static-challenge" or "intune".
    backend str
    Path to the mounted SCEP auth backend.
    challenge str
    The static challenge to use if auth_type is "static-challenge", not used for other auth types.
    display_name str
    name str
    Name of the role.
    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.
    token_bound_cidrs Sequence[str]
    Specifies the blocks of IP addresses which are allowed to use the generated token
    token_explicit_max_ttl int
    Generated Token's Explicit Maximum TTL in seconds
    token_max_ttl int
    The maximum lifetime of the generated token
    token_no_default_policy bool
    If true, the 'default' policy will not automatically be added to generated tokens
    token_num_uses int
    The maximum number of times a token may be used, a value of zero means unlimited
    token_period int
    Generated Token's Period
    token_policies Sequence[str]
    Generated Token's Policies
    token_ttl int
    The initial ttl of the token to generate in seconds
    token_type str
    The type of token to generate, service or batch
    authType String
    The authentication type to use. This can be either "static-challenge" or "intune".
    backend String
    Path to the mounted SCEP auth backend.
    challenge String
    The static challenge to use if auth_type is "static-challenge", not used for other auth types.
    displayName String
    name String
    Name of the role.
    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.
    tokenBoundCidrs List<String>
    Specifies the blocks of IP addresses which are allowed to use the generated token
    tokenExplicitMaxTtl Number
    Generated Token's Explicit Maximum TTL in seconds
    tokenMaxTtl Number
    The maximum lifetime of the generated token
    tokenNoDefaultPolicy Boolean
    If true, the 'default' policy will not automatically be added to generated tokens
    tokenNumUses Number
    The maximum number of times a token may be used, a value of zero means unlimited
    tokenPeriod Number
    Generated Token's Period
    tokenPolicies List<String>
    Generated Token's Policies
    tokenTtl Number
    The initial ttl of the token to generate in seconds
    tokenType String
    The type of token to generate, service or batch

    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 v7.1.0 published on Thursday, Jul 10, 2025 by Pulumi