Documentation ¶
Index ¶
Constants ¶
View Source
const (
UID = "GCP"
)
Variables ¶
This section is empty.
Functions ¶
func NewSecretGetter ¶
func NewSecretGetter(vc *vaultapi.Client, path string, roleName string, secretType engine.GCPSecretType, reqSpec engine.GCPAccessKeyRequestSpec) secret.SecretGetter
func NewSecretManager ¶
func NewSecretManager() secret.SecretManager
Types ¶
type SecretInfo ¶
type SecretInfo struct { // Specifies the path where secret engine is enabled Path string // Specifies the role for credential Role string // Contains the information about secret type, i.e. access_token or service_account_key SecretType string // Key algorithm used to generate key, required when SecretType is set to service_account_key KeyAlgorithm string // Private key type to generate, required when SecretType is set to service_account_key KeyType string Client *vaultapi.Client }
func New ¶
func New() *SecretInfo
func (*SecretInfo) SetOptions ¶
Click to show internal directories.
Click to hide internal directories.