package
0.0.0-20240917120716-8843776e9f3a
Repository: https://github.com/cossacklabs/acra.git
Documentation: pkg.go.dev

# Functions

NewMasterKeyLoader create MasterKeyLoader from VaultCLIOptions.
NewVaultLoader read VAULT_API_TOKEN env, decode it and return initialized VaultLoader.
ParseCLIParametersFromFlags VaultCLIOptions from provided FlagSet.
RegisterCLIParametersWithFlagSet look up for vault_connection_api_string, if none exists, vault_connection_api_string and vault_secrets_path will be added to provided flags.

# Variables

set of predefined errors used in HashiCorp Vault loader and its tests.
set of predefined errors used in HashiCorp Vault loader and its tests.
set of predefined errors used in HashiCorp Vault loader and its tests.
ErrEmptyConnectionURL error displaying empty Hashicorp Vault connection URL.
set of predefined errors used in HashiCorp Vault loader and its tests.
set of predefined errors used in HashiCorp Vault loader and its tests.
set of predefined errors used in HashiCorp Vault loader and its tests.
set of predefined errors used in HashiCorp Vault loader and its tests.
set of predefined errors used in HashiCorp Vault loader and its tests.
set of predefined errors used in HashiCorp Vault loader and its tests.
set of predefined errors used in HashiCorp Vault loader and its tests.
set of predefined errors used in HashiCorp Vault loader and its tests.
set of predefined errors used in HashiCorp Vault loader and its tests.
set of predefined errors used in HashiCorp Vault loader and its tests.
set of predefined errors used in HashiCorp Vault loader and its tests.

# Structs

KeyEncryptorFabric implementation of keyloader.KeyEncryptorFabric for `vault_master_key` strategy.
VaultCLIOptions keep command-line options related to HashiCorp Vault ACRA_MASTER_KEY loading.
VaultLoader is HashiCorp Vault ACRA_MASTER_KEY loader implementation, it consist of api.Client used for interacting with HashiCorp Vault throughout API and secretPath which is the path where VaultLoader should look up for ACRA_MASTER_KEY; where secretPath is user provided value.