Documentation
¶
Index ¶
Constants ¶
View Source
const (
FromPathEnv = "VAULT_FROM_PATH"
)
View Source
const (
ProviderType = "vault"
)
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
Types ¶
type Config ¶
type Config struct {
IsLogin bool `json:"is_login"`
Addr string `json:"addr"`
Token string `json:"token"`
TokenFile string `json:"token_file"`
Role string `json:"role"`
AuthPath string `json:"auth_path"`
AuthMethod string `json:"auth_method"`
TransitKeyID string `json:"transit_key_id"`
TransitPath string `json:"transit_path"`
TransitBatchSize int `json:"transit_batch_size"`
IgnoreMissingSecrets bool `json:"ignore_missing_secrets"`
FromPath string `json:"from_path"`
RevokeToken bool `json:"revoke_token"`
}
func LoadConfig ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) LoadSecrets ¶
LoadSecret's path formatting:
Click to show internal directories.
Click to hide internal directories.