Skip to content

Use Vault API from xp-framework/rfc#316 - #1

Open
thekid wants to merge 3 commits into
masterfrom
feature/vault-api
Open

Use Vault API from xp-framework/rfc#316#1
thekid wants to merge 3 commits into
masterfrom
feature/vault-api

Conversation

@thekid

@thekid thekid commented Aug 14, 2016

Copy link
Copy Markdown
Owner

Showcases integration with dependency injection. In essence, we create a named binding to the vault, wrapped in the SecretsIn bindings module. To fetch passwords, we then use:

$password= $injector->get(Secret::class, $name)->reveal(); 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant