Documentation ¶
Index ¶
- type Config
- type Vault
- func (v *Vault) GetPublicKey(ctx context.Context, keyID string) (vault.StoredKey, error)
- func (v *Vault) ListPublicKeys(ctx context.Context) vault.StoredKeysIterator
- func (v *Vault) Name() string
- func (v *Vault) Sign(ctx context.Context, digest []byte, k vault.StoredKey) (sig cryptoutils.Signature, err error)
- func (v *Vault) Unlock(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
File string `yaml:"file" validate:"required"`
}
Config contains file based backend configuration
type Vault ¶
type Vault struct {
// contains filtered or unexported fields
}
Vault is a file system based vault
func (*Vault) GetPublicKey ¶
GetPublicKey retrieve a public key
func (*Vault) ListPublicKeys ¶
func (v *Vault) ListPublicKeys(ctx context.Context) vault.StoredKeysIterator
ListPublicKeys list all public key available on disk
Click to show internal directories.
Click to hide internal directories.