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

Can Halite be used to obtain Keys from Vaultproject/hosted Key Management Services? #151

Open
raghuveer opened this issue Apr 7, 2020 · 3 comments
Labels

Comments

@raghuveer
Copy link

Currently, we are storing Halite Keys in Web Application Server, and outside Web Root, while maintaining them in .key files, as facilitated by Halite.

I would like to understand if, we can use any of the following and alikes, to store/retrieve Cryptographic Keys from,

a) VaultProject, https://www.vaultproject.io/
b) AWS Key Management Service, https://aws.amazon.com/kms/
c) Google Cloud Key Management Service, https://cloud.google.com/kms
d) Microsoft Azure Key Management Service, https://azure.microsoft.com/en-in/services/key-vault/

etc...

I currently am feeling eager to know about this, so we can plan this strategically, to apply in existing applications/future applications too

thank you

With Best Regards
Raghu veer

@raghuveer
Copy link
Author

Any suggestion about this?

@OssiPesonen
Copy link

Halite itself can't be used to fetch those keys, but AWS KMS atleast should accept externally created keys to store them. You need to create the integration with AWS KMS yourself to fetch that key for each process once you've stored it in there.

@raghuveer
Copy link
Author

thank you for your inputs, and as we currently choose the location of the key file in the filesystem till now, in that case, we need to store a copy of the key in /tmp folder or in RAM using Redis, and use that key instead of reading from file every time right? while handling the AWS or other KMS scenario and that too, only after they allow storing externally generated security keys.

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

No branches or pull requests

3 participants