Documentation ¶
Index ¶
Constants ¶
View Source
const VersionID = "version_id"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct { ProjectID string // contains filtered or unexported fields }
Store contains and GCP secret manager client and project id.
func NewSecreteManager ¶
NewSecreteManager returns new instance of `SecretManagerStore`.
func (*Store) BulkGetSecret ¶ added in v1.0.0
func (s *Store) BulkGetSecret(req secretstores.BulkGetSecretRequest) (secretstores.BulkGetSecretResponse, error)
BulkGetSecret retrieves all secrets in the store and returns a map of decrypted string/string values.
func (*Store) GetSecret ¶
func (s *Store) GetSecret(req secretstores.GetSecretRequest) (secretstores.GetSecretResponse, error)
GetSecret retrieves a secret using a key and returns a map of decrypted string.
Click to show internal directories.
Click to hide internal directories.