메소드 | 설명 | |
---|---|---|
AuthenticatedRequest ( string path ) : |
Create an authenticated WebRequest for the specified path.
|
|
Client ( string applianceUri ) : System |
Initializes a new instance of the Conjur.Client class.
|
|
CreateHost ( string name, string hostFactoryToken ) : |
Creates a host using a host factory token.
|
|
GetAccountName ( ) : string |
Gets the name of the Conjur organization account.
|
|
LogIn ( |
Logs in using a password. Sets Authenticator Credential
|
|
LogIn ( string userName, string password ) : string |
Logs in using a password. Sets Authenticator Credential
|
|
Request ( string path ) : |
Create a WebRequest for the specified path.
|
|
Resource ( string kind, string id ) : |
Creates an object representing a Conjur resource.
|
|
ValidateBaseUri ( ) : |
Validates the appliance base URI. Tries to connect to /info; if not successful, try again adding an /api prefix. Also sets up certificate validation.
|
|
Variable ( string name ) : |
Creates an object representing the named variable.
|
메소드 | 설명 | |
---|---|---|
ApplyAuthentication ( |
||
Info ( ) : ServerInfo |
Get the server info.
|
|
NormalizeBaseUri ( string uri ) : |
Normalizes the base URI, removing double slashes and adding a trailing slash, as necessary.
|
|
ValidateCertificate ( object sender, |
Validates the Conjur appliance certificate. RemoteCertificateValidationCallback
|
public AuthenticatedRequest ( string path ) : |
||
path | string | Path, NOT including the leading slash. |
리턴 |
public Client ( string applianceUri ) : System | ||
applianceUri | string | Appliance URI. |
리턴 | System |
public CreateHost ( string name, string hostFactoryToken ) : |
||
name | string | Name of the host to create. |
hostFactoryToken | string | Host factory token. |
리턴 |
public LogIn ( |
||
credential | The credential of user name and password, /// where user name is for example "bob" or "host/jenkins". | |
리턴 | string |
public LogIn ( string userName, string password ) : string | ||
userName | string | User name to log in as (for example "bob" /// or "host/example.com". |
password | string | Password of the user. |
리턴 | string |
public Request ( string path ) : |
||
path | string | Path, NOT including the leading slash. |
리턴 |
public Resource ( string kind, string id ) : |
||
kind | string | Resource kind. |
id | string | Resource identifier. |
리턴 |
public Variable ( string name ) : |
||
name | string | The variable name. |
리턴 |