-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Exceptions while trying to store secrets using environment variables option #12943
Comments
It seems to be related to this: https://docs.konghq.com/gateway/changelog/#general |
thank you for your reply @chronolaw, do you have some time to connect via zoom |
Sorry, I think that we can not do that (zoom meeting), you could add more details in this issue. |
Okay, Could you please point to me correct version of kong installer. |
@chronolaw It is not an issue of @nboddu009 your last step is wrong, it should be |
@Water-Melon I tried with |
Hi @bungle , I verified the vaults on EE |
@Water-Melon thank you for your response and is there any chance to have a zoom call on this? |
@nboddu009, Could it be the |
By default, |
This issue is marked as stale because it has been open for 14 days with no activity. |
Dear contributor, We are automatically closing this issue because it has not seen any activity for three weeks. Your contribution is greatly appreciated! Please have a look Sincerely, |
Discussed in #12942
Originally posted by nboddu009 April 25, 2024
Hi Team,
Can someone help with below issue,
Issue : could not get value from external vault (no value found)
Description:
`Installed Kong enterprise version with database mode (kong-enterprise-edition_3.6.1.1_amd64.deb)
Trying use to storing secrets in environment variables(https://docs.konghq.com/gateway/3.6.x/kong-enterprise/secrets-management/backends/env/)
But It is giving me error like 'could not get value from external vault (no value found)'
Steps Produce the issue:
1. export SECRETS_PASSWORD=abc123
2. export KONG_VAULT_ENV_PREFIX=SECRETS_
3. Created Prefix using Admin API
curl -i -X PUT http://hostname:8001/vaults/my-env-vault
--data name=env
--data description="Store secrets in environment variables"
--data config.prefix="SECRETS_"
4. sudo kong reload
5. sudo kong vault get my-env-vault/secrets-password
Error:
User1:
$ export SECRETS_PASSWORD=abc123$ export KONG_VAULT_ENV_PREFIX=SECRETS_User1:
User1:
$ sudo kong reload$ sudo kong vault get my-env-vault/secrets-password2024/04/25 16:10:38 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"
2024/04/25 16:10:39 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"
Kong reloaded
User1:
2024/04/25 16:11:49 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"
Error: could not get value from external vault (no value found)
The text was updated successfully, but these errors were encountered: