Documentation ¶
Index ¶
- type Config
- type SignOpts
- type Transit
- type TransitConfig
- 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) SignMessage(ctx context.Context, message []byte, key vault.StoredKey) (crypt.Signature, error)
- func (v *Vault) Transit() *Transit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Address string `yaml:"address"` RoleID string `yaml:"roleID"` SecretID string `yaml:"secretID"` TLSCaCert string `yaml:"tlsCaCert"` TLSClientCert string `yaml:"tlsClientCert"` TLSClientKey string `yaml:"tlsClientKey"` *TransitConfig `yaml:"transitConfig"` }
Config contains Hashcorp Vault backend configuration
type Transit ¶
type Transit struct {
// contains filtered or unexported fields
}
func (*Transit) GetKeyWithContext ¶
type TransitConfig ¶
type TransitConfig struct {
MountPoint string `yaml:"mountPoint"`
}
type Vault ¶
func (*Vault) GetPublicKey ¶
func (*Vault) ListPublicKeys ¶
func (v *Vault) ListPublicKeys(ctx context.Context) vault.StoredKeysIterator
ListPublicKeys returns a list of keys stored under the backend
func (*Vault) SignMessage ¶
Click to show internal directories.
Click to hide internal directories.