Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VaultClient ¶
type VaultClient struct {
AuthType string // Authentication type
URL string // Tenant URL
AppID string // OAuth2 application id
Scope string // OAuth2 or DMC scope definition name
Token string // OAuth2 or DMC token
User string // User to run the command as (or OAuth2 client if requesting a token)
Password string // Password for user (or OAuth2 client secret if requesting a token)
Skipcert bool // Whether to skip certificate validation
Debug bool
// contains filtered or unexported fields
}
VaultClient represents vault client structure
func (*VaultClient) GetClient ¶
func (c *VaultClient) GetClient() (*restapi.RestClient, error)
GetClient returns REST client
func (*VaultClient) GetCmdParms ¶
func (c *VaultClient) GetCmdParms()
GetCmdParms parse command line argument
Click to show internal directories.
Click to hide internal directories.