Skip to content

Commit

Permalink
add basic auth env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-korotya committed Jan 30, 2024
1 parent 07f9c01 commit 3cb325c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ It is **important to note** that the refresh service imposes a constraint on non
To run this service, users should manage two configurations: one in a `.env` file and another in `config.yaml`. `.env` configuration is used for configure the server, `config.yaml` configuration is used for configure HTTP data provider.
1. `.env` file:
```
SUPPORTED_ISSUERS - A list of supported issuers in the format `issuerDID:issuerNodeURL`. You can also use `*` to set a default node.
SUPPORTED_ISSUERS - A list of supported issuers in the format `issuerDID=issuerNodeURL`. You can also use `*` to set a default node.
IPFS_URL - The URL of the IPFS node.
SERVER_PORT - The server port. The default is 8002.
HTTP_CONFIG_PATH - The path to the HTTP configuration.
SUPPORTED_RPC - Supported RPC in the format `chainID:URL`.
SUPPORTED_STATE_CONTRACTS - Supported state contracts in the format `chainID:contractAddress`.
SUPPORTED_RPC - Supported RPC in the format `chainID=URL`.
SUPPORTED_STATE_CONTRACTS - Supported state contracts in the format `chainID=contractAddress`.
CIRCUITS_FOLDER_PATH - The path to the circuits folder.
ISSUERS_BASIC_AUTH - Basic auth for issuer int the format `issuerDID=user:password`. You can also use `*` to set the basic auth for all issuers.
```
2. `config.yaml` for configure HTTP request to data providers:
Example:
Expand Down

0 comments on commit 3cb325c

Please sign in to comment.