> For the complete documentation index, see [llms.txt](https://rc.sunbird.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rc.sunbird.org/use/developers-guide/credentialling-services/configurations.md).

# Configurations

The services can be configured by passing values to the environment.

### Identity Service

| Environment Variable | Description                                                                                                |
| -------------------- | ---------------------------------------------------------------------------------------------------------- |
| DATABASE\_URL        | JDBC URL for the database. Example: `postgres://<username>:<password>@<db_url>:<db_port>/<db_name>`        |
| VAULT\_ADDR          | Address for the Hashicorp vault                                                                            |
| VAULT\_TOKEN         | Vault API Token                                                                                            |
| VAULT\_BASE\_URL     | Vault API Endpoint: `http://<vault_address>:8200/v1`                                                       |
| VAULT\_ROOT\_PATH    | Vault Root Path for the Key-Value store:`http://<vault_address>:8200/v1/kv`                                |
| VAULT\_TIMEOUT       | API Timeout for vault in milli seconds. Example: `5000`                                                    |
| VAULT\_PROXY         | false                                                                                                      |
| SIGNING\_ALGORITHM   | Algorithm to generate Key Pair in. Example: `Ed25519Signature2020, Ed25519Signature2018, RSASignature2018` |
| JWKS\_URI            | JWKS URI of the OAuth2 Resource server for handling Bearer tokens.                                         |
| ENABLE\_AUTH         | To enable or disable authentication. Example: `false`                                                      |
| WEB\_DID\_BASE\_URL  | To set base URL to generate a web based DID                                                                |

### Credential Schema Service

| Environment Variable | Description                                                                                         |
| -------------------- | --------------------------------------------------------------------------------------------------- |
| DATABASE\_URL        | JDBC URL for the database. Example: `postgres://<username>:<password>@<db_url>:<db_port>/<db_name>` |
| IDENTITY\_BASE\_URL  | Address for the Identity Microservice: `http://identity-service:3332`                               |
| JWKS\_URI            | JWKS URI of the OAuth2 Resource server for handling Bearer tokens.                                  |
| ENABLE\_AUTH         | To enable or disable authentication. Example: `false`                                               |

### Credential Issuance Service

| Environment Variable           | Description                                                                                         |
| ------------------------------ | --------------------------------------------------------------------------------------------------- |
| DATABASE\_URL                  | JDBC URL for the database. Example: `postgres://<username>:<password>@<db_url>:<db_port>/<db_name>` |
| IDENTITY\_BASE\_URL            | Address for the Identity Microservice: `http://identity-service:3332`                               |
| SCHEMA\_BASE\_URL              | Address for the Credential Schema Microservice: `http://cred-schema-service:3333`                   |
| CREDENTIAL\_SERVICE\_BASE\_URL | base url for credential service to be exposed with to set the verify url in the qr code             |
| JWKS\_URI                      | JWKS URI of the OAuth2 Resource server for handling Bearer tokens.                                  |
| ENABLE\_AUTH                   | To enable or disable authentication. Example: `false`                                               |
| QR\_TYPE                       | set it as `W3C_VC` to have compressed vc in the qr code instead of verify credential url            |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://rc.sunbird.org/use/developers-guide/credentialling-services/configurations.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
