Skip to content

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

Open

Description

@3benbox

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>

Activity

  1. stbrody commented on Jul 9, 2024

    @stbrody
    Collaborator

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

  2. 3benbox commented on Jul 10, 2024

    @3benbox
    CollaboratorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions