package
0.0.0-20240917120716-8843776e9f3a
Repository: https://github.com/cossacklabs/acra.git
Documentation: pkg.go.dev
# Functions
NewKeyManager create kms.KeyManager from kms.CLIOptions.
NewKMSPerClientKeyMapper create new KeyMapper.
NewLoader create new kms MasterKeyLoader.
ParseCLIParameters parse CLIOptions from CommandLine flags.
ParseCLIParametersFromFlags parse CLIOptions from provided FlagSet.
RegisterCLIParametersWithFlags register kms related flags.
# Constants
AcraMasterKeyKEKID represent ID/alias of encryption key used for MasterKey loading.
KeyPolicyCreate represent KMS key policy.
TypeAWS supported KMS type AWS.
# Variables
KmsEncryptor errors.
KmsEncryptor errors.
KmsEncryptor errors.
ErrUnknownKMSType error displaying unknown KMS type provided by flags.
KmsEncryptor errors.
SupportedPolicies contains all possible values for flag `--kms_key_policy`.
# Structs
CLIOptions keep command-line options related to KMS ACRA_MASTER_KEY loading.
KeyMapper Implement KeyMapper interface for `kms_per_client` strategy.
Loader is implementation of MasterKeyLoader for kms.
MasterKeyEncryptorFabric implementation of keyloader.KeyEncryptorFabric for `kms_encrypted_master_key` strategy.
PerClientKeyEncryptorFabric implementation of keyloader.KeyEncryptorFabric for `kms_per_client` strategy.