Vault
create(name, options)
name
(string
, required) - new vault nameoptions
(VaultCreateOptions
, optional) - public/private, terms of access, etc.returns
Promise<{ vaultId, membershipId, transactionId }>
- Promise with new vault id, owner membership id & corresponding transaction id
rename(vaultId, name)
vaultId
(string
, required)name
(string
, required) - new vault namereturns
Promise<{ transactionId }>
- Promise with corresponding transaction id
archive(vaultId)
vaultId
(string
, required)returns
Promise<{ transactionId }>
- Promise with corresponding transaction id
restore(vaultId)
vaultId
(string
, required)returns
Promise<{ transactionId }>
- Promise with corresponding transaction id
delete(vaultId)
vaultId
(string
, required)returns
Promise<{ transactionId }>
- Promise with corresponding transaction id
get(vaultId, options)
vaultId
(string
, required)options
(VaultGetOptions
, optional)returns
Promise<Vault>
- Promise with the vault object
listAll(options)
options
(ListOptions
, optional)returns
Promise<Array<Vault>>
- Promise with currently authenticated user vaults
list(listOptions)
options
(ListOptions
, optional)returns
Promise<{ items, nextToken }>
- Promise with paginated user vaults
Last updated