Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StoredVault ¶
type Vault ¶
type Vault interface {
Store(uuid string, passphrase string, backupType domain.KeyBackupType, apiToken string, items []VaultItem) (*StoredVault, error)
Retrieve(uuid string, passphrase string, backupType domain.KeyBackupType) ([]VaultItem, error)
}
type VaultItem ¶
type VaultItem struct {
ItemType VaultItemType
Value string
}
type VaultItemType ¶
type VaultItemType string
const (
PrivateKeyWithMnemonic VaultItemType = "PrivateKeyWithMnemonic"
)
Vault item types
Click to show internal directories.
Click to hide internal directories.