Class UserState
Inherited Members
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.GitHub
Assembly: Pulumi.Vault.dll
Syntax
public sealed class UserState : ResourceArgs
Constructors
View SourceUserState()
Declaration
public UserState()
Properties
View SourceBackend
Path where the github auth backend is mounted. Defaults to github
if not specified.
Declaration
public Input<string> Backend { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Policies
An array of strings specifying the policies to be set on tokens issued using this role.
Declaration
public InputList<string> Policies { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
TokenBoundCidrs
Specifies the blocks of IP addresses which are allowed to use the generated token
Declaration
[Obsolete("This parameter should be moved to the Github Auth backend config block. It does nothing in a user/team block.")]
public InputList<string> TokenBoundCidrs { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
TokenExplicitMaxTtl
Generated Token's Explicit Maximum TTL in seconds
Declaration
public Input<int> TokenExplicitMaxTtl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
TokenMaxTtl
The maximum lifetime of the generated token
Declaration
public Input<int> TokenMaxTtl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
TokenNoDefaultPolicy
If true, the 'default' policy will not automatically be added to generated tokens
Declaration
public Input<bool> TokenNoDefaultPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
TokenNumUses
The maximum number of times a token may be used, a value of zero means unlimited
Declaration
public Input<int> TokenNumUses { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
TokenPeriod
Generated Token's Period
Declaration
public Input<int> TokenPeriod { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
TokenPolicies
Generated Token's Policies
Declaration
[Obsolete("This parameter should be moved to the Github Auth backend config block. It does nothing in a user/team block.")]
public InputList<string> TokenPolicies { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
TokenTtl
The initial ttl of the token to generate in seconds
Declaration
public Input<int> TokenTtl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
TokenType
The type of token to generate, service or batch
Declaration
public Input<string> TokenType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
UserName
GitHub user name.
Declaration
public Input<string> UserName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |