js-ceramic configuration should take a flag for the node secret (string or file)
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>
Sorry @3benbox can you clarify what you mean by the "node secret"? What property from the config file are you referring to?
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