-
-
Notifications
You must be signed in to change notification settings - Fork 17.1k
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
[Feat] Allow AWS SECRETS MANAGER instead of storing AES Encrypted in db #3616
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,3 +71,8 @@ PORT=3000 | |
# GLOBAL_AGENT_HTTP_PROXY=CorporateHttpProxyUrl | ||
# GLOBAL_AGENT_HTTPS_PROXY=CorporateHttpsProxyUrl | ||
# GLOBAL_AGENT_NO_PROXY=ExceptionHostsToBypassProxyIfNeeded | ||
##AWS Secrets Manager | ||
# AWS_ACCESS_KEY_ID=<your-access-key> | ||
# AWS_SECRET_ACCESS_KEY=<your-secret-key> | ||
# USE_AWS_SECRETS_MANAGER=true | ||
# CACHE_CREDENTIALS=true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All other 3rd party providers should provide caching: https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/data-key-caching.html#:~:text=In%20general%2C%20use%20data%20key,NET. For security purpose, I prefer not to cache it in the application, but rather on your key vault side |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to have more generic name that can be reused in future for Azure Key Vault, Okta and other else.
Perhaps:
SECRET_MANAGER_PROVIDER
, the value can beaws
,azure
, etcAlso, search for the variable
STORAGE_TYPE
, you can similar references and other places that we need to declare these env variables as well