File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ pub const SIGNER_PORT_ENV: &str = "CB_SIGNER_PORT";
3737
3838/// Comma separated list module_id=jwt_secret
3939pub const JWTS_ENV : & str = "CB_JWTS" ;
40- pub const ADMIN_JWT_ENV : & str = "CB_ADMIN_JWT " ;
40+ pub const ADMIN_JWT_ENV : & str = "CB_SIGNER_ADMIN_JWT " ;
4141/// The JWT secret for the signer to validate the modules requests
4242pub const SIGNER_JWT_SECRET_ENV : & str = "CB_SIGNER_JWT_SECRET" ;
4343
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ docker compose -f cb.docker-compose.yml exec cb_signer curl -X POST http://local
369369
370370The signer module takes 2 optional parameters in the JSON body:
371371
372- - ` jwt_secrets ` : a string with a comma-separated list of ` <MODULE_ID>=JWT_SECRET ` for all modules.
372+ - ` jwt_secrets ` : a string with a comma-separated list of ` <MODULE_ID>=< JWT_SECRET> ` for all modules.
373373- ` admin_secret ` : a string with the secret for the signer admin JWT.
374374
375375In the case that someone of those isn't present, that parameter won't be updated.
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ Modules need some environment variables to work correctly.
2727
2828### Signer Module
2929- ` CB_SIGNER_JWT_SECRET ` : secret to use for JWT authentication with the Signer module.
30+ - ` CB_SIGNER_ADMIN_JWT ` : secret to use for admin JWT.
3031- ` CB_SIGNER_PORT ` : required, port to open the signer server on.
3132- For loading keys we currently support:
3233 - ` CB_SIGNER_LOADER_FILE ` : path to a ` .json ` with plaintext keys (for testing purposes only).
You can’t perform that action at this time.
0 commit comments