AuthBackendRole
Create a AuthBackendRole Resource
new AuthBackendRole(name: string, args: AuthBackendRoleArgs, opts?: CustomResourceOptions);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);func NewAuthBackendRole(ctx *Context, name string, args AuthBackendRoleArgs, opts ...ResourceOption) (*AuthBackendRole, error)public AuthBackendRole(string name, AuthBackendRoleArgs args, CustomResourceOptions? opts = null)- 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.
- 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
- 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.
- 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
- 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.
- 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
- 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_ List[str]cidrs Specifies the blocks of IP addresses which are allowed to use the generated token
- token_
explicit_ floatmax_ ttl Generated Token’s Explicit Maximum TTL in seconds
- token_
max_ floatttl 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_ floatuses 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:
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): AuthBackendRolestatic 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.
- 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
- 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.
- 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
- 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.
- 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
- 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_ List[str]cidrs Specifies the blocks of IP addresses which are allowed to use the generated token
- token_
explicit_ floatmax_ ttl Generated Token’s Explicit Maximum TTL in seconds
- token_
max_ floatttl 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_ floatuses 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
vaultTerraform Provider.