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

js-ceramic configuration should take a flag for the node secret (string or file) #3252

Open
3benbox opened this issue Jul 9, 2024 · 2 comments

Comments

@3benbox
Copy link
Contributor

3benbox commented Jul 9, 2024

Description

Starting the js-ceramic daemon currently requires the node secret in the configuration file.
The secret should be accessible from outside the configuration file for better security and easier operations.

Technical Information

Add configurations flags and/or env vars detailing where the node secret can be found.

Something like
--node-secret-string=<NODE_SECRET>
--node-secret-file-path=<FILE_PATH_TO_NODE_SECRET>

@stbrody
Copy link
Contributor

stbrody commented Jul 9, 2024

Sorry @3benbox can you clarify what you mean by the "node secret"? What property from the config file are you referring to?

@3benbox
Copy link
Contributor Author

3benbox commented Jul 10, 2024

Sorry @3benbox can you clarify what you mean by the "node secret"? What property from the config file are you referring to?

The node.privateSeedUrl (also, url?)

https://github.com/ceramicnetwork/js-ceramic/blob/develop/packages/cli/src/ceramic-daemon.ts#L311C9-L311C43

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

2 participants