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 SecretConfig ¶
type SecretConfig struct { Type string Host string Port int // BasePath is the base path to the secret's location in the secret store BasePath string // SecretsFile is path to optional JSON file containing secrets to seed into service's SecretStore SecretsFile string Protocol string Namespace string RootCaCertPath string ServerName string Authentication AuthenticationInfo }
SecretConfig contains configuration settings used to communicate with an HTTP based secret provider
func (SecretConfig) BuildRequestURL ¶
func (c SecretConfig) BuildRequestURL(subPath string) (string, error)
BuildRequestURL constructs a request URL for send the a request to the secrets engine
func (SecretConfig) BuildSecretNameURL ¶
func (c SecretConfig) BuildSecretNameURL(secretName string) (string, error)
BuildSecretNameURL constructs a URL to the service's secret with in it's secret store secretName is the name of the secret in the service's secret store
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 and is the "data" sub-structure for token lookup, i.e. TokenLookupResponse, and token self-lookup
Click to show internal directories.
Click to hide internal directories.