C# Class VaultSharp.Backends.Authentication.Models.AppRole.AppRoleAuthenticationInfo

Represents the login information for the AppRole Authentication backend.
Inheritance: IAuthenticationInfo
显示文件 Open project: rajanadar/VaultSharp Class Usage Examples

Public Methods

Method Description
AppRoleAuthenticationInfo ( string roleId, string secretId = null ) : VaultSharp.Infrastructure.Validation

Initializes a new instance of the AppRoleAuthenticationInfo class.

AppRoleAuthenticationInfo ( string mountPoint, string roleId, string secretId = null ) : VaultSharp.Infrastructure.Validation

Initializes a new instance of the AppRoleAuthenticationInfo class.

Method Details

AppRoleAuthenticationInfo() public method

Initializes a new instance of the AppRoleAuthenticationInfo class.
public AppRoleAuthenticationInfo ( string roleId, string secretId = null ) : VaultSharp.Infrastructure.Validation
roleId string /// The role identifier. /// RoleID is an identifier that selects the AppRole against which the other credentials are evaluated. /// When authenticating against this backend's login endpoint, the RoleID is a required argument /// at all times. By default, RoleIDs are unique UUIDs, which allow them to serve as secondary /// secrets to the other credential information. /// However, they can be set to particular values to match introspected information by the /// client (for instance, the client's domain name). ///
secretId string /// The secret identifier. /// SecretID is a credential that is required by default for any login and is intended to always be secret. /// (For advanced usage, requiring a SecretID can be disabled via an AppRole's bind_secret_id parameter, /// allowing machines with only knowledge of the RoleID, or matching other set constraints, /// to fetch a token). /// SecretIDs can be created against an AppRole either via generation of a /// 128-bit purely random UUID by the role itself (Pull mode) or via specific, /// custom values (Push mode). Similarly to tokens, SecretIDs have properties like usage-limit, /// TTLs and expirations. ///
return VaultSharp.Infrastructure.Validation

AppRoleAuthenticationInfo() public method

Initializes a new instance of the AppRoleAuthenticationInfo class.
public AppRoleAuthenticationInfo ( string mountPoint, string roleId, string secretId = null ) : VaultSharp.Infrastructure.Validation
mountPoint string The mount point.
roleId string /// The role identifier. /// RoleID is an identifier that selects the AppRole against which the other credentials are evaluated. /// When authenticating against this backend's login endpoint, the RoleID is a required argument /// at all times. By default, RoleIDs are unique UUIDs, which allow them to serve as secondary /// secrets to the other credential information. /// However, they can be set to particular values to match introspected information by the /// client (for instance, the client's domain name). ///
secretId string /// The secret identifier. /// SecretID is a credential that is required by default for any login and is intended to always be secret. /// (For advanced usage, requiring a SecretID can be disabled via an AppRole's bind_secret_id parameter, /// allowing machines with only knowledge of the RoleID, or matching other set constraints, /// to fetch a token). /// SecretIDs can be created against an AppRole either via generation of a /// 128-bit purely random UUID by the role itself (Pull mode) or via specific, /// custom values (Push mode). Similarly to tokens, SecretIDs have properties like usage-limit, /// TTLs and expirations. ///
return VaultSharp.Infrastructure.Validation