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

loading nkeys seed directly instead of file #404

Closed
darylac opened this issue Dec 27, 2022 · 4 comments
Closed

loading nkeys seed directly instead of file #404

darylac opened this issue Dec 27, 2022 · 4 comments

Comments

@darylac
Copy link

darylac commented Dec 27, 2022

I am currently loading nkeys seed by giving the file path as string to nkeys_seed argument in nats connect function, which works great. But, I wanted to know if we can also give a seed value directly instead of loading from a file?

@JarleB
Copy link

JarleB commented Feb 13, 2023

+1 Yes this would be helpful so that one could use the string directly as an output from another program or funciton

@darylac
Copy link
Author

darylac commented Feb 13, 2023

In my case, I am reading a value from environment variable and writing it to a file on application startup and provide that file path as nkeys_seed argument. (The environment variables are loaded from kubernetes secret that is shared among multiple applications).

@tkeller-moxe
Copy link

tkeller-moxe commented May 10, 2023

Would love to see the ability to pass an nkey_seed directly as well instead of a file as well!

@darylac
Copy link
Author

darylac commented Jan 9, 2024

Closing this issue as it is fixed in #468

@darylac darylac closed this as completed Jan 9, 2024
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

No branches or pull requests

3 participants