Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Access ¶ added in v1.0.0
Access is the embedded implementation of autoSeal that contains logic specific to encrypting and decrypting data, or in this case keys.
func NewTestSeal ¶ added in v1.0.0
func NewTestSeal(opts *TestSealOpts) *Access
type Envelope ¶ added in v1.0.0
type Envelope struct {
// contains filtered or unexported fields
}
func NewEnvelope ¶ added in v1.0.0
func NewEnvelope() *Envelope
type StoredKeysSupport ¶ added in v1.4.0
type StoredKeysSupport int
const ( // The 0 value of StoredKeysSupport is an invalid option StoredKeysInvalid StoredKeysSupport = iota StoredKeysNotSupported StoredKeysSupportedGeneric StoredKeysSupportedShamirMaster )
func (StoredKeysSupport) String ¶ added in v1.4.0
func (s StoredKeysSupport) String() string
type TestSealOpts ¶ added in v1.4.0
type TestSealOpts struct { Logger hclog.Logger StoredKeys StoredKeysSupport Secret []byte Name string }
Click to show internal directories.
Click to hide internal directories.