vault.ScepAuthBackendRole
Explore with Pulumi AI
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:
- Auth
Type 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.
- Display
Name 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. - Token
Bound List<string>Cidrs - Specifies the blocks of IP addresses which are allowed to use the generated token
- Token
Explicit intMax Ttl - Generated Token's Explicit Maximum TTL in seconds
- Token
Max intTtl - The maximum lifetime of the generated token
- Token
No boolDefault Policy - If true, the 'default' policy will not automatically be added to generated tokens
- Token
Num intUses - 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 List<string> - Generated Token's Policies
- Token
Ttl int - The initial ttl of the token to generate in seconds
- Token
Type string - The type of token to generate, service or batch
- Auth
Type 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.
- Display
Name 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. - Token
Bound []stringCidrs - Specifies the blocks of IP addresses which are allowed to use the generated token
- Token
Explicit intMax Ttl - Generated Token's Explicit Maximum TTL in seconds
- Token
Max intTtl - The maximum lifetime of the generated token
- Token
No boolDefault Policy - If true, the 'default' policy will not automatically be added to generated tokens
- Token
Num intUses - 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 []string - Generated Token's Policies
- Token
Ttl int - The initial ttl of the token to generate in seconds
- Token
Type string - The type of token to generate, service or batch
- auth
Type 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.
- display
Name 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. - token
Bound List<String>Cidrs - Specifies the blocks of IP addresses which are allowed to use the generated token
- token
Explicit IntegerMax Ttl - Generated Token's Explicit Maximum TTL in seconds
- token
Max IntegerTtl - The maximum lifetime of the generated token
- token
No BooleanDefault Policy - If true, the 'default' policy will not automatically be added to generated tokens
- token
Num IntegerUses - The maximum number of times a token may be used, a value of zero means unlimited
- token
Period Integer - Generated Token's Period
- token
Policies List<String> - Generated Token's Policies
- token
Ttl Integer - The initial ttl of the token to generate in seconds
- token
Type String - The type of token to generate, service or batch
- auth
Type 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.
- display
Name 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. - token
Bound string[]Cidrs - Specifies the blocks of IP addresses which are allowed to use the generated token
- token
Explicit numberMax Ttl - Generated Token's Explicit Maximum TTL in seconds
- token
Max numberTtl - The maximum lifetime of the generated token
- token
No booleanDefault Policy - If true, the 'default' policy will not automatically be added to generated tokens
- token
Num numberUses - The maximum number of times a token may be used, a value of zero means unlimited
- token
Period number - Generated Token's Period
- token
Policies string[] - Generated Token's Policies
- token
Ttl number - The initial ttl of the token to generate in seconds
- token
Type 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_ Sequence[str]cidrs - Specifies the blocks of IP addresses which are allowed to use the generated token
- token_
explicit_ intmax_ ttl - Generated Token's Explicit Maximum TTL in seconds
- token_
max_ intttl - The maximum lifetime of the generated token
- token_
no_ booldefault_ policy - If true, the 'default' policy will not automatically be added to generated tokens
- token_
num_ intuses - 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
- auth
Type 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.
- display
Name 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. - token
Bound List<String>Cidrs - Specifies the blocks of IP addresses which are allowed to use the generated token
- token
Explicit NumberMax Ttl - Generated Token's Explicit Maximum TTL in seconds
- token
Max NumberTtl - The maximum lifetime of the generated token
- token
No BooleanDefault Policy - If true, the 'default' policy will not automatically be added to generated tokens
- token
Num NumberUses - The maximum number of times a token may be used, a value of zero means unlimited
- token
Period Number - Generated Token's Period
- token
Policies List<String> - Generated Token's Policies
- token
Ttl Number - The initial ttl of the token to generate in seconds
- token
Type 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.
- Auth
Type 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.
- Display
Name 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. - Token
Bound List<string>Cidrs - Specifies the blocks of IP addresses which are allowed to use the generated token
- Token
Explicit intMax Ttl - Generated Token's Explicit Maximum TTL in seconds
- Token
Max intTtl - The maximum lifetime of the generated token
- Token
No boolDefault Policy - If true, the 'default' policy will not automatically be added to generated tokens
- Token
Num intUses - 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 List<string> - Generated Token's Policies
- Token
Ttl int - The initial ttl of the token to generate in seconds
- Token
Type string - The type of token to generate, service or batch
- Auth
Type 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.
- Display
Name 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. - Token
Bound []stringCidrs - Specifies the blocks of IP addresses which are allowed to use the generated token
- Token
Explicit intMax Ttl - Generated Token's Explicit Maximum TTL in seconds
- Token
Max intTtl - The maximum lifetime of the generated token
- Token
No boolDefault Policy - If true, the 'default' policy will not automatically be added to generated tokens
- Token
Num intUses - 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 []string - Generated Token's Policies
- Token
Ttl int - The initial ttl of the token to generate in seconds
- Token
Type string - The type of token to generate, service or batch
- auth
Type 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.
- display
Name 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. - token
Bound List<String>Cidrs - Specifies the blocks of IP addresses which are allowed to use the generated token
- token
Explicit IntegerMax Ttl - Generated Token's Explicit Maximum TTL in seconds
- token
Max IntegerTtl - The maximum lifetime of the generated token
- token
No BooleanDefault Policy - If true, the 'default' policy will not automatically be added to generated tokens
- token
Num IntegerUses - The maximum number of times a token may be used, a value of zero means unlimited
- token
Period Integer - Generated Token's Period
- token
Policies List<String> - Generated Token's Policies
- token
Ttl Integer - The initial ttl of the token to generate in seconds
- token
Type String - The type of token to generate, service or batch
- auth
Type 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.
- display
Name 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. - token
Bound string[]Cidrs - Specifies the blocks of IP addresses which are allowed to use the generated token
- token
Explicit numberMax Ttl - Generated Token's Explicit Maximum TTL in seconds
- token
Max numberTtl - The maximum lifetime of the generated token
- token
No booleanDefault Policy - If true, the 'default' policy will not automatically be added to generated tokens
- token
Num numberUses - The maximum number of times a token may be used, a value of zero means unlimited
- token
Period number - Generated Token's Period
- token
Policies string[] - Generated Token's Policies
- token
Ttl number - The initial ttl of the token to generate in seconds
- token
Type 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_ Sequence[str]cidrs - Specifies the blocks of IP addresses which are allowed to use the generated token
- token_
explicit_ intmax_ ttl - Generated Token's Explicit Maximum TTL in seconds
- token_
max_ intttl - The maximum lifetime of the generated token
- token_
no_ booldefault_ policy - If true, the 'default' policy will not automatically be added to generated tokens
- token_
num_ intuses - 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
- auth
Type 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.
- display
Name 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. - token
Bound List<String>Cidrs - Specifies the blocks of IP addresses which are allowed to use the generated token
- token
Explicit NumberMax Ttl - Generated Token's Explicit Maximum TTL in seconds
- token
Max NumberTtl - The maximum lifetime of the generated token
- token
No BooleanDefault Policy - If true, the 'default' policy will not automatically be added to generated tokens
- token
Num NumberUses - The maximum number of times a token may be used, a value of zero means unlimited
- token
Period Number - Generated Token's Period
- token
Policies List<String> - Generated Token's Policies
- token
Ttl Number - The initial ttl of the token to generate in seconds
- token
Type 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.