AuthBackendRole

Create a AuthBackendRole Resource

def AuthBackendRole(resource_name, opts=None, arn=None, backend=None, role=None, token_bound_cidrs=None, token_explicit_max_ttl=None, token_max_ttl=None, token_no_default_policy=None, token_num_uses=None, token_period=None, token_policies=None, token_ttl=None, token_type=None, __props__=None);
name string
The unique name of the resource.
args AuthBackendRoleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AuthBackendRoleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AuthBackendRoleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

AuthBackendRole Resource Properties

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

Inputs

The AuthBackendRole resource accepts the following input properties:

Arn string

The role’s arn.

Role string

Name of the role. Must correspond with the name of the role reflected in the arn.

Backend string

Auth backend.

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

Arn string

The role’s arn.

Role string

Name of the role. Must correspond with the name of the role reflected in the arn.

Backend string

Auth backend.

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

arn string

The role’s arn.

role string

Name of the role. Must correspond with the name of the role reflected in the arn.

backend string

Auth backend.

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

arn str

The role’s arn.

role str

Name of the role. Must correspond with the name of the role reflected in the arn.

backend str

Auth backend.

token_bound_cidrs List[str]

Specifies the blocks of IP addresses which are allowed to use the generated token

token_explicit_max_ttl float

Generated Token’s Explicit Maximum TTL in seconds

token_max_ttl float

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 float

The maximum number of times a token may be used, a value of zero means unlimited

token_period float

Generated Token’s Period

token_policies List[str]

Generated Token’s Policies

token_ttl float

The initial ttl of the token to generate in seconds

token_type str

The type of token to generate, service or batch

Outputs

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

Look up an Existing AuthBackendRole Resource

Get an existing AuthBackendRole 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?: AuthBackendRoleState, opts?: CustomResourceOptions): AuthBackendRole
static get(resource_name, id, opts=None, arn=None, backend=None, role=None, token_bound_cidrs=None, token_explicit_max_ttl=None, token_max_ttl=None, token_no_default_policy=None, token_num_uses=None, token_period=None, token_policies=None, token_ttl=None, token_type=None, __props__=None);
func GetAuthBackendRole(ctx *Context, name string, id IDInput, state *AuthBackendRoleState, opts ...ResourceOption) (*AuthBackendRole, error)
public static AuthBackendRole Get(string name, Input<string> id, AuthBackendRoleState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Arn string

The role’s arn.

Backend string

Auth backend.

Role string

Name of the role. Must correspond with the name of the role reflected in the arn.

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

Arn string

The role’s arn.

Backend string

Auth backend.

Role string

Name of the role. Must correspond with the name of the role reflected in the arn.

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

arn string

The role’s arn.

backend string

Auth backend.

role string

Name of the role. Must correspond with the name of the role reflected in the arn.

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

arn str

The role’s arn.

backend str

Auth backend.

role str

Name of the role. Must correspond with the name of the role reflected in the arn.

token_bound_cidrs List[str]

Specifies the blocks of IP addresses which are allowed to use the generated token

token_explicit_max_ttl float

Generated Token’s Explicit Maximum TTL in seconds

token_max_ttl float

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 float

The maximum number of times a token may be used, a value of zero means unlimited

token_period float

Generated Token’s Period

token_policies List[str]

Generated Token’s Policies

token_ttl float

The initial ttl of the token to generate in seconds

token_type str

The type of token to generate, service or batch

Package Details

Repository
https://github.com/pulumi/pulumi-vault
License
Apache-2.0
Notes
This Pulumi package is based on the vault Terraform Provider.