Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package for secrets retrieval from AWS KMS #13

Merged
merged 2 commits into from
Apr 5, 2019

Conversation

Robert-W
Copy link
Contributor

@Robert-W Robert-W commented Apr 4, 2019

Includes test, documentation, and has been prettified.

Usage is simple but requires AWS authentication.

const secrets = require('@asymmetrik/fhir-secrets');

secrets.configure({ region: 'us-east-2' })
  .decrypt({ CiphertextBlob: '' })
  .then(plaintext => doStuffWithSecret(plaintext))
  .catch(err => {
    // Unable to obtain secrets
  });

@Robert-W Robert-W self-assigned this Apr 4, 2019
@Robert-W Robert-W merged commit 947d37f into master Apr 5, 2019
@Robert-W Robert-W deleted the package/fhir-secrets branch April 5, 2019 16:12
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.

None yet

3 participants