You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
The Lease Manager maintains state about a token or secret. It leverages Secret Providers (see #1) to handle interaction with Vault for getting and renewing tokens and secrets. Each Lease Manager is responsible for a single token or secret.
An instance of the LeaseManager class has the following methods:
constructor(provider)
Creates a new instance of the LeaseManager.
The provider argument is an instance that conforms to the Secret Provider interface (see #1).
initialize()
Starts the process of getting a token or secret from Vault. The status property changes to READY once the token/secret has been successfully retrieved.
status
A property with two possible states: PENDING or READY. The default state is PENDING. When the status property changes to READY the LeaseManager emits a "ready" event.
data
The token on secret returned by the Secret Provider. When the status is PENDING, data is null. When status is READY, data is the token or secret from the provider defined in the constructor.
Issues related to this project are filed under the "lease-manager" milestone.
The text was updated successfully, but these errors were encountered:
The Lease Manager maintains state about a token or secret. It leverages Secret Providers (see #1) to handle interaction with Vault for getting and renewing tokens and secrets. Each Lease Manager is responsible for a single token or secret.
An instance of the
LeaseManager
class has the following methods:constructor(provider)
Creates a new instance of the
LeaseManager
.The
provider
argument is an instance that conforms to the Secret Provider interface (see #1).initialize()
Starts the process of getting a token or secret from Vault. The status property changes to
READY
once the token/secret has been successfully retrieved.status
A property with two possible states:
PENDING
orREADY
. The default state isPENDING
. When the status property changes toREADY
theLeaseManager
emits a "ready" event.data
The token on secret returned by the Secret Provider. When the status is
PENDING
, data isnull
. When status isREADY
, data is the token or secret from theprovider
defined in the constructor.Issues related to this project are filed under the "lease-manager" milestone.
The text was updated successfully, but these errors were encountered: