celestiaorg / celestia-node

Celestia Data Availability Nodes
Apache License 2.0
924 stars 922 forks source link

[Feature Request]: Accepting user's JWT secret #3293

Open Bidon15 opened 6 months ago

Bidon15 commented 6 months ago

Implementation ideas

During initialisation/restart phase, we should have a possibility for end users to inject their secret through the node cli/rpc-endpoint.

Ideally, during the initialisation phase, we can let setting up whatever secret with no restrictions whatsoever - can be a simple CLI flag

If during runtime, the user wants to rotate secrets - we should have a dedicated endpoint to do so and ask for the previous token as usual admin perms

Bidon15 commented 6 months ago

This is beneficial for RaaS teams or whoever running da nodes with orchestration tools like k8s

renaynay commented 4 months ago

@Bidon15 what's priority on this?