Documentation
¶
Overview ¶
Package akeyless allows to fetch secrets from akeyless service
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAkeylessConfigFromBackendConfig ¶
func NewAkeylessConfigFromBackendConfig(akeylessURL string, sessionConfig SessionBackendConfig) (string, error)
NewAkeylessConfigFromBackendConfig returns a new config for Akeyless
Types ¶
type Backend ¶
type Backend struct { BackendID string Config BackendConfig Token string }
Backend represents backend for Akeyless
func NewAkeylessBackend ¶
NewAkeylessBackend returns a new Akeyless backend
type BackendConfig ¶
type BackendConfig struct { AkeylessSession SessionBackendConfig `mapstructure:"akeyless_session"` BackendType string `mapstructure:"backend_type"` AkeylessURL string `mapstructure:"akeyless_url"` }
BackendConfig is the configuration for a akeyless backend
type SessionBackendConfig ¶
type SessionBackendConfig struct { AkeylessAccessID string `mapstructure:"akeyless_access_id"` AkeylessAccessKey string `mapstructure:"akeyless_access_key"` }
SessionBackendConfig is the session configuration for Akeyless
Click to show internal directories.
Click to hide internal directories.