C# Class VaultSharp.Backends.Authentication.Models.AwsEc2.AwsEc2AuthenticationInfo

Represents the login information for the AwsEc2 Authentication backend.
Inheritance: IAuthenticationInfo
Mostrar archivo Open project: rajanadar/VaultSharp Class Usage Examples

Public Methods

Method Description
AwsEc2AuthenticationInfo ( string pkcs7, string nonce = null, string roleName = null ) : VaultSharp.Infrastructure.Validation

Initializes a new instance of the AwsEc2AuthenticationInfo class.

AwsEc2AuthenticationInfo ( string mountPoint, string pkcs7, string nonce = null, string roleName = null ) : VaultSharp.Infrastructure.Validation

Initializes a new instance of the AwsEc2AuthenticationInfo class.

Method Details

AwsEc2AuthenticationInfo() public method

Initializes a new instance of the AwsEc2AuthenticationInfo class.
public AwsEc2AuthenticationInfo ( string pkcs7, string nonce = null, string roleName = null ) : VaultSharp.Infrastructure.Validation
pkcs7 string /// [required] /// The PKCS7 signature of the identity document with all \n characters removed..
nonce string /// [required/optional] /// The nonce created by a client of this backend. /// When option is enabled on either the role /// or the role tag, then nonce parameter is optional. /// It is a required parameter otherwise.
roleName string /// [optional] /// The name of the role against which the login is being attempted. /// If role is not specified, then the login endpoint looks for a role bearing /// the name of the AMI ID of the EC2 instance that is trying to login. /// If a matching role is not found, login fails. ///
return VaultSharp.Infrastructure.Validation

AwsEc2AuthenticationInfo() public method

Initializes a new instance of the AwsEc2AuthenticationInfo class.
public AwsEc2AuthenticationInfo ( string mountPoint, string pkcs7, string nonce = null, string roleName = null ) : VaultSharp.Infrastructure.Validation
mountPoint string /// [required] /// The mount point.
pkcs7 string /// [required] /// The PKCS7 signature of the identity document with all \n characters removed..
nonce string /// [required/optional] /// The nonce created by a client of this backend. /// When option is enabled on either the role /// or the role tag, then nonce parameter is optional. /// It is a required parameter otherwise.
roleName string /// [optional] /// The name of the role against which the login is being attempted. /// If role is not specified, then the login endpoint looks for a role bearing /// the name of the AMI ID of the EC2 instance that is trying to login. /// If a matching role is not found, login fails. ///
return VaultSharp.Infrastructure.Validation