Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationInfo ¶
AuthenticationInfo contains authentication information to be used when communicating with an HTTP based provider
type InitResponse ¶
type InitResponse struct { Keys []string `json:"keys,omitempty"` KeysBase64 []string `json:"keys_base64,omitempty"` EncryptedKeys []string `json:"encrypted_keys,omitempty"` Nonces []string `json:"nonces,omitempty"` RootToken string `json:"root_token,omitempty"` }
InitResponse contains a Secret Store init response
type SecretConfig ¶
type SecretConfig struct { Type string Host string Port int // Path is the base path to the secret's location in the secret store Path string Protocol string Namespace string RootCaCertPath string ServerName string Authentication AuthenticationInfo AdditionalRetryAttempts int RetryWaitPeriod string RetryWaitPeriodTime time.Duration }
SecretConfig contains configuration settings used to communicate with an HTTP based secret provider
func (SecretConfig) BuildSecretsPathURL ¶
func (c SecretConfig) BuildSecretsPathURL(subPath string) (string, error)
BuildSecretsPathURL constructs a URL which can be used to identify a secret's path subPath is the location of the secrets in the secrets engine
type TokenMetadata ¶
type TokenMetadata struct { Accessor string `json:"accessor"` ExpireTime string `json:"expire_time"` Path string `json:"path"` Policies []string `json:"policies"` Period int `json:"period"` // in seconds Renewable bool `json:"renewable"` Ttl int `json:"ttl"` // in seconds }
TokenMetadata has introspection data about a token
Click to show internal directories.
Click to hide internal directories.