Show / Hide Table of Contents

Class AuthBackendRoleArgs

Inheritance
System.Object
InputArgs
ResourceArgs
AuthBackendRoleArgs
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.Gcp
Assembly: Pulumi.Vault.dll
Syntax
public sealed class AuthBackendRoleArgs : ResourceArgs

Constructors

View Source

AuthBackendRoleArgs()

Declaration
public AuthBackendRoleArgs()

Properties

View Source

AddGroupAliases

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

AllowGceInference

A flag to determine if this role should allow GCE instances to authenticate by inferring service accounts from the GCE identity metadata token.

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

Backend

Path to the mounted GCP auth backend

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

BoundInstanceGroups

The instance groups that an authorized instance must belong to in order to be authenticated. If specified, either bound_zones or bound_regions must be set too.

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

BoundLabels

A comma-separated list of GCP labels formatted as &quot;key:value&quot; strings that must be set on authorized GCE instances. Because GCP labels are not currently ACL'd, we recommend that this be used in conjunction with other restrictions.

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

BoundProjects

GCP Projects that the role exists within

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

BoundRegions

The list of regions that a GCE instance must belong to in order to be authenticated. If bound_instance_groups is provided, it is assumed to be a regional group and the group must belong to this region. If bound_zones are provided, this attribute is ignored.

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

BoundServiceAccounts

GCP Service Accounts allowed to issue tokens under this role. (Note: Required if role is iam)

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

BoundZones

The list of zones that a GCE instance must belong to in order to be authenticated. If bound_instance_groups is provided, it is assumed to be a zonal group and the group must belong to this zone.

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

MaxJwtExp

The number of seconds past the time of authentication that the login param JWT must expire within. For example, if a user attempts to login with a token that expires within an hour and this is set to 15 minutes, Vault will return an error prompting the user to create a new signed JWT with a shorter exp. The GCE metadata tokens currently do not allow the exp claim to be customized.

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

MaxTtl

The maximum allowed lifetime of tokens issued using this role, provided as a number of seconds.

Declaration
public Input<string> MaxTtl { 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

Policies

An array of strings specifying the policies to be set on tokens issued using this role.

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

Role

Name of the GCP role

Declaration
public Input<string> Role { 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

List of policies to encode onto generated tokens. Depending on the auth method, this list may be supplemented by user/group/other values.

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

Ttl

The TTL period of tokens issued using this role, provided as a number of seconds.

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

Type

Type of GCP authentication role (either gce or iam)

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