vault

package
v0.0.0-...-df32d36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCephUserSecretPath

func BuildCephUserSecretPath(pc v1alpha12.ProviderConfig, cr *v1alpha1.CephUser) (string, error)

func NewVaultClient

func NewVaultClient(config v1alpha1.VaultConfig) (*vault.Client, error)

func NewVaultClientForCephAdmins

func NewVaultClientForCephAdmins() (*vault.Client, error)

func NewVaultClientWithPanic

func NewVaultClientWithPanic(config v1alpha1.VaultConfig) *vault.Client

func ReadSecretsFromVault

func ReadSecretsFromVault(client *vault.Client, vaultConfig v1alpha1.VaultConfig, key *string) (map[string]interface{}, error)

func RemoveSecretFromVault

func RemoveSecretFromVault(client *vault.Client, vaultConfig v1alpha1.VaultConfig, key *string) error

func WriteSecretsToVault

func WriteSecretsToVault(client *vault.Client, vaultConfig v1alpha1.VaultConfig, key *string, data *map[string]interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL