Documentation ¶
Index ¶
Constants ¶
View Source
const (
LegacyOperation vaulted.Operation = -1
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type KeyDetails ¶
type LegacyStore ¶
type LegacyStore interface {
OpenLegacyVault() (map[string]Environment, string, error)
}
func New ¶
func New(steward vaulted.Steward) LegacyStore
type Vault ¶
type Vault struct { KeyDetails KeyDetails `json:"keyDetails"` MACDigest string `json:"macDigest"` Cipher string `json:"cipher"` CipherMode string `json:"cipherMode"` MAC []byte `json:"mac"` IV []byte `json:"iv"` Environments []byte `json:"environments"` }
func (*Vault) DecryptEnvironments ¶
func (v *Vault) DecryptEnvironments(password string) (map[string]Environment, error)
Click to show internal directories.
Click to hide internal directories.