Search
Preparing search index...
The search index is not available
tabby-core
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
tabby-core
VaultService
Class VaultService
Hierarchy
VaultService
Index
Properties
content
Changed
ready
store
Accessors
content
Changed$
ready$
Methods
add
Secret
decrypt
encrypt
forget
Passphrase
get
Passphrase
get
Secret
is
Enabled
is
Open
key
Matches
load
remove
Secret
save
set
Enabled
set
Store
update
Secret
Properties
Private
content
Changed
content
Changed
:
Subject
<
void
>
= ...
Private
ready
ready
:
AsyncSubject
<
boolean
>
= ...
store
store
:
null
|
StoredVault
= null
Accessors
content
Changed$
get
contentChanged$
(
)
:
Observable
<
void
>
Returns
Observable
<
void
>
ready$
get
ready$
(
)
:
Observable
<
boolean
>
Fires once when the config is loaded
Returns
Observable
<
boolean
>
Methods
add
Secret
add
Secret
(
secret
:
VaultSecret
)
:
Promise
<
void
>
Parameters
secret:
VaultSecret
Returns
Promise
<
void
>
decrypt
decrypt
(
storage
:
StoredVault
, passphrase
?:
string
)
:
Promise
<
Vault
>
Parameters
storage:
StoredVault
Optional
passphrase:
string
Returns
Promise
<
Vault
>
encrypt
encrypt
(
vault
:
Vault
, passphrase
?:
string
)
:
Promise
<
null
|
StoredVault
>
Parameters
vault:
Vault
Optional
passphrase:
string
Returns
Promise
<
null
|
StoredVault
>
forget
Passphrase
forget
Passphrase
(
)
:
void
Returns
void
get
Passphrase
get
Passphrase
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
get
Secret
get
Secret
(
type
:
string
, key
:
VaultSecretKey
)
:
Promise
<
null
|
VaultSecret
>
Parameters
type:
string
key:
VaultSecretKey
Returns
Promise
<
null
|
VaultSecret
>
is
Enabled
is
Enabled
(
)
:
boolean
Returns
boolean
is
Open
is
Open
(
)
:
boolean
Returns
boolean
Private
key
Matches
key
Matches
(
key
:
VaultSecretKey
, secret
:
VaultSecret
)
:
boolean
Parameters
key:
VaultSecretKey
secret:
VaultSecret
Returns
boolean
load
load
(
passphrase
?:
string
)
:
Promise
<
null
|
Vault
>
Parameters
Optional
passphrase:
string
Returns
Promise
<
null
|
Vault
>
remove
Secret
remove
Secret
(
type
:
string
, key
:
VaultSecretKey
)
:
Promise
<
void
>
Parameters
type:
string
key:
VaultSecretKey
Returns
Promise
<
void
>
save
save
(
vault
:
Vault
, passphrase
?:
string
)
:
Promise
<
void
>
Parameters
vault:
Vault
Optional
passphrase:
string
Returns
Promise
<
void
>
set
Enabled
set
Enabled
(
enabled
:
boolean
, passphrase
?:
string
)
:
Promise
<
void
>
Parameters
enabled:
boolean
Optional
passphrase:
string
Returns
Promise
<
void
>
set
Store
set
Store
(
store
:
StoredVault
)
:
void
Parameters
store:
StoredVault
Returns
void
update
Secret
update
Secret
(
secret
:
VaultSecret
, update
:
VaultSecret
)
:
Promise
<
void
>
Parameters
secret:
VaultSecret
update:
VaultSecret
Returns
Promise
<
void
>
Exports
Vault
Service
content
Changed
ready
store
content
Changed$
ready$
add
Secret
decrypt
encrypt
forget
Passphrase
get
Passphrase
get
Secret
is
Enabled
is
Open
key
Matches
load
remove
Secret
save
set
Enabled
set
Store
update
Secret
Generated using
TypeDoc
Fires once when the config is loaded