Configurations

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

Identity Service

Environment VariableDescription

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 VariableDescription

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 VariableDescription

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

Last updated

Copyright (c) 2023 EkStep Foundation under MIT License