Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Project: Secret Provider #1

Open
fmitchell-r7 opened this issue Mar 31, 2016 · 0 comments
Open

Project: Secret Provider #1

fmitchell-r7 opened this issue Mar 31, 2016 · 0 comments

Comments

@fmitchell-r7
Copy link
Contributor

The Secret Provider is a generic interface to fetch and renew secrets from Vault. Classes conforming to the Secret Provider interface have the following methods:

initialize(callback)
Called to get a secret from Vault.

The callback argument is a callback function invoked with two arguments: (error, result). If the call to Vault to get the secret fails, the error argument will be populated. If the call to Vault to get the secret succeeds, the result argument will be populated.

renew(callback)
Called to renew the lease on a secret from Vault.

The callback argument is a callback function invoked with two arguments: (error, result). If the call to Vault to renew the lease on the secret fails, the error argument will be populated. If the call to Vault to renew the lease on the secret succeeds, the result argument will be populated.

Issues related to this project are filed under the "secret-provider" milestone.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant