Show / Hide Table of Contents

Class AuthBackendRoleState

Inheritance
System.Object
InputArgs
ResourceArgs
AuthBackendRoleState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Vault.TokenAuth
Assembly: Pulumi.Vault.dll
Syntax
public sealed class AuthBackendRoleState : ResourceArgs

Constructors

View Source

AuthBackendRoleState()

Declaration
public AuthBackendRoleState()

Properties

View Source

AllowedPolicies

List of allowed policies for given role.

Declaration
public InputList<string> AllowedPolicies { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

BoundCidrs

If set, a list of CIDRs valid as the source address for login requests. This value is also encoded into any resulting token.

Declaration
[Obsolete("use `token_bound_cidrs` instead if you are running Vault >= 1.2")]
public InputList<string> BoundCidrs { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

DisallowedPolicies

List of disallowed policies for given role.

Declaration
public InputList<string> DisallowedPolicies { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

ExplicitMaxTtl

If set, the token will have an explicit max TTL set upon it.

Declaration
public Input<string> ExplicitMaxTtl { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Orphan

If true, tokens created against this policy will be orphan tokens.

Declaration
public Input<bool> Orphan { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

PathSuffix

Tokens created against this role will have the given suffix as part of their path in addition to the role name.

Declaration
public Input<string> PathSuffix { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Period

If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token's TTL will be set to the value of this field. Specified in seconds.

Declaration
public Input<string> Period { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Renewable

Wether to disable the ability of the token to be renewed past its initial TTL.

Declaration
public Input<bool> Renewable { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

RoleName

The name of the role.

Declaration
public Input<string> RoleName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

TokenBoundCidrs

List of CIDR blocks; if set, specifies blocks of IP addresses which can authenticate successfully, and ties the resulting token to these blocks as well.

Declaration
public InputList<string> TokenBoundCidrs { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

TokenExplicitMaxTtl

If set, will encode an explicit max TTL onto the token in number of seconds. This is a hard cap even if token_ttl and token_max_ttl would otherwise allow a renewal.

Declaration
public Input<int> TokenExplicitMaxTtl { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

TokenMaxTtl

The maximum lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.

Declaration
public Input<int> TokenMaxTtl { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

TokenNoDefaultPolicy

If set, the default policy will not be set on generated tokens; otherwise it will be added to the policies set in token_policies.

Declaration
public Input<bool> TokenNoDefaultPolicy { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

TokenNumUses

The period, if any, in number of seconds to set on the token.

Declaration
public Input<int> TokenNumUses { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

TokenPeriod

If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token's TTL will be set to the value of this field. Specified in seconds.

Declaration
public Input<int> TokenPeriod { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

TokenPolicies

Generated Token's Policies

Declaration
public InputList<string> TokenPolicies { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

TokenTtl

The incremental lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.

Declaration
public Input<int> TokenTtl { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

TokenType

The type of token that should be generated. Can be service, batch, or default to use the mount's tuned default (which unless changed will be service tokens). For token store roles, there are two additional possibilities: default-service and default-batch which specify the type to return unless the client requests a different type at generation time.

Declaration
public Input<string> TokenType { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.