Show / Hide Table of Contents

Class AuthBackendLogin

Logs into a Vault server using an AWS auth backend. Login can be accomplished using a signed identity request from IAM or using ec2 instance metadata. For more information, see the Vault documentation.

Inheritance
System.Object
Resource
CustomResource
AuthBackendLogin
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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 class AuthBackendLogin : CustomResource

Constructors

View Source

AuthBackendLogin(String, AuthBackendLoginArgs, CustomResourceOptions)

Create a AuthBackendLogin resource with the given unique name, arguments, and options.

Declaration
public AuthBackendLogin(string name, AuthBackendLoginArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

AuthBackendLoginArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Accessor

The token's accessor.

Declaration
public Output<string> Accessor { get; }
Property Value
Type Description
Output<System.String>
View Source

AuthType

The authentication type used to generate this token.

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

Backend

The unique name of the AWS auth backend. Defaults to 'aws'.

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

ClientToken

The token returned by Vault.

Declaration
public Output<string> ClientToken { get; }
Property Value
Type Description
Output<System.String>
View Source

IamHttpRequestMethod

The HTTP method used in the signed IAM request.

Declaration
public Output<string> IamHttpRequestMethod { get; }
Property Value
Type Description
Output<System.String>
View Source

IamRequestBody

The base64-encoded body of the signed request.

Declaration
public Output<string> IamRequestBody { get; }
Property Value
Type Description
Output<System.String>
View Source

IamRequestHeaders

The base64-encoded, JSON serialized representation of the GetCallerIdentity HTTP request headers.

Declaration
public Output<string> IamRequestHeaders { get; }
Property Value
Type Description
Output<System.String>
View Source

IamRequestUrl

The base64-encoded HTTP URL used in the signed request.

Declaration
public Output<string> IamRequestUrl { get; }
Property Value
Type Description
Output<System.String>
View Source

Identity

The base64-encoded EC2 instance identity document to authenticate with. Can be retrieved from the EC2 metadata server.

Declaration
public Output<string> Identity { get; }
Property Value
Type Description
Output<System.String>
View Source

LeaseDuration

The duration in seconds the token will be valid, relative to the time in lease_start_time.

Declaration
public Output<int> LeaseDuration { get; }
Property Value
Type Description
Output<System.Int32>
View Source

LeaseStartTime

Time at which the lease was read, using the clock of the system where Terraform was running

Declaration
public Output<string> LeaseStartTime { get; }
Property Value
Type Description
Output<System.String>
View Source

Metadata

A map of information returned by the Vault server about the authentication used to generate this token.

Declaration
public Output<ImmutableDictionary<string, object>> Metadata { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

Nonce

The unique nonce to be used for login requests. Can be set to a user-specified value, or will contain the server-generated value once a token is issued. EC2 instances can only acquire a single token until the whitelist is tidied again unless they keep track of this nonce.

Declaration
public Output<string> Nonce { get; }
Property Value
Type Description
Output<System.String>
View Source

Pkcs7

The PKCS#7 signature of the identity document to authenticate with, with all newline characters removed. Can be retrieved from the EC2 metadata server.

Declaration
public Output<string> Pkcs7 { get; }
Property Value
Type Description
Output<System.String>
View Source

Policies

The Vault policies assigned to this token.

Declaration
public Output<ImmutableArray<string>> Policies { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Renewable

Set to true if the token can be extended through renewal.

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

Role

The name of the AWS auth backend role to create tokens against.

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

Signature

The base64-encoded SHA256 RSA signature of the instance identity document to authenticate with, with all newline characters removed. Can be retrieved from the EC2 metadata server.

Declaration
public Output<string> Signature { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, AuthBackendLoginState, CustomResourceOptions)

Get an existing AuthBackendLogin resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static AuthBackendLogin Get(string name, Input<string> id, AuthBackendLoginState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

AuthBackendLoginState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
AuthBackendLogin
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.