Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrKeyNotFound = errors.New("encryption key not found")
)
Functions ¶
Types ¶
type Config ¶
Config is the stored configuration.
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns a config with the default values.
type Key ¶
type Key struct {
// Name is the name of the key in Vault.
Name string `json:"name"`
// CryptoKeyID is the full resource ID of the key on GCP.
CryptoKeyID string `json:"crypto_key_id"`
// MinVersion is the minimum crypto key version to allow. If left unset or set
// to a negative number, all versions are allowed.
MinVersion int `json:"min_version"`
// MaxVersion is the maximum crypto key version to allow. If left unset or set
// to a negative number, all versions are allowed.
MaxVersion int `json:"max_version"`
}
Key represents a key from the storage backend.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
vault-plugin-secrets-gcpkms
command
|
|
|
test
|
|
|
cleanup
command
This script is used to iterate over all keys in the project and destroy them.
|
This script is used to iterate over all keys in the project and destroy them. |
|
cmd
command
|
Click to show internal directories.
Click to hide internal directories.