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.Aws
Assembly: Pulumi.Vault.dll
Syntax
public sealed class AuthBackendRoleArgs : ResourceArgs

Constructors

View Source

AuthBackendRoleArgs()

Declaration
public AuthBackendRoleArgs()

Properties

View Source

AllowInstanceMigration

If set to true, allows migration of the underlying instance where the client resides.

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

AuthType

The auth type permitted for this role. Valid choices are ec2 and iam. Defaults to iam.

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

Backend

Unique name of the auth backend to configure.

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

BoundAccountIds

If set, defines a constraint on the EC2 instances that can perform the login operation that they should be using the account ID specified by this field. auth_type must be set to ec2 or inferred_entity_type must be set to ec2_instance to use this constraint.

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

BoundAmiIds

If set, defines a constraint on the EC2 instances that can perform the login operation that they should be using the AMI ID specified by this field. auth_type must be set to ec2 or inferred_entity_type must be set to ec2_instance to use this constraint.

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

BoundEc2InstanceIds

Only EC2 instances that match this instance ID will be permitted to log in.

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

BoundIamInstanceProfileArns

If set, defines a constraint on the EC2 instances that can perform the login operation that they must be associated with an IAM instance profile ARN which has a prefix that matches the value specified by this field. The value is prefix-matched as though it were a glob ending in *. auth_type must be set to ec2 or inferred_entity_type must be set to ec2_instance to use this constraint.

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

BoundIamPrincipalArns

If set, defines the IAM principal that must be authenticated when auth_type is set to iam. Wildcards are supported at the end of the ARN.

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

BoundIamRoleArns

If set, defines a constraint on the EC2 instances that can perform the login operation that they must match the IAM role ARN specified by this field. auth_type must be set to ec2 or inferred_entity_type must be set to ec2_instance to use this constraint.

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

BoundRegions

If set, defines a constraint on the EC2 instances that can perform the login operation that the region in their identity document must match the one specified by this field. auth_type must be set to ec2 or inferred_entity_type must be set to ec2_instance to use this constraint.

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

BoundSubnetIds

If set, defines a constraint on the EC2 instances that can perform the login operation that they be associated with the subnet ID that matches the value specified by this field. auth_type must be set to ec2 or inferred_entity_type must be set to ec2_instance to use this constraint.

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

BoundVpcIds

If set, defines a constraint on the EC2 instances that can perform the login operation that they be associated with the VPC ID that matches the value specified by this field. auth_type must be set to ec2 or inferred_entity_type must be set to ec2_instance to use this constraint.

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

DisallowReauthentication

IF set to true, only allows a single token to be granted per instance ID. This can only be set when auth_type is set to ec2.

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

InferredAwsRegion

When inferred_entity_type is set, this is the region to search for the inferred entities. Required if inferred_entity_type is set. This only applies when auth_type is set to iam.

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

InferredEntityType

If set, instructs Vault to turn on inferencing. The only valid value is ec2_instance, which instructs Vault to infer that the role comes from an EC2 instance in an IAM instance profile. This only applies when auth_type is set to iam.

Declaration
public Input<string> InferredEntityType { 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<int> MaxTtl { get; set; }
Property Value
Type Description
Input<System.Int32>
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<int> Period { get; set; }
Property Value
Type Description
Input<System.Int32>
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

ResolveAwsUniqueIds

If set to true, the bound_iam_principal_arns are resolved to AWS Unique IDs for the bound principal ARN. This field is ignored when a bound_iam_principal_arn ends in a wildcard. Resolving to unique IDs more closely mimics the behavior of AWS services in that if an IAM user or role is deleted and a new one is recreated with the same name, those new users or roles won't get access to roles in Vault that were permissioned to the prior principals of the same name. Defaults to true. Once set to true, this cannot be changed to false without recreating the role.

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

Role

The name of the role.

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

RoleTag

If set, enable role tags for this role. The value set for this field should be the key of the tag on the EC2 instance. auth_type must be set to ec2 or inferred_entity_type must be set to ec2_instance to use this constraint.

Declaration
public Input<string> RoleTag { 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<int> Ttl { get; set; }
Property Value
Type Description
Input<System.Int32>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.