The Decentralized Identity Management (DIM) Wallet stub application provides REST APIs for below wallet functionality.
This application can be used as a temporary wallet solution for local and integration testing.
This application is using Java 21 and Spring boot framework to serve REST APIs.
The DIM Wallet is part of the Self-Sovereign Identity (SSI) Flow of Eclipse Tractus-X.
Name | Description | Default value |
---|---|---|
APPLICATION_PORT | Application port | 8080 |
STUB_ENV | Environment(LZ) in with application is running. | local |
BASE_WALLET_BPN | Issuer BPN number | BPNL000000000000 |
STUB_HOST | Wallet stub application host | |
STATUS_LIST_VC_ID | VC id of status list credential of base wallet | 8a6c7486-1e1f-4555-bdd2-1a178182651e |
TOKEN_EXPIRY_TIME | JWT(STS, VC and VP) expiry time in minutes | 5 |
PORTAL_WAIT_TIME | Wait time before we push did document to portal after wallet creation in seconds | 60 |
PORTAL_HOST | Host of port backend application | |
PORTAL_CLIENT_ID | Keycloak client_id to access portal API | |
PORTAL_CLIENT_SECRET | keycloak client_secret to access portal API | |
PORTAL_REALM | keycloak realm | |
PORTAL_AUTH_SERVER_URL | Authentication server(keycloak) | |
APP_LOG_LEVEL | Log level of application | DEBUG |
./gradlew clean bootrun
http://localhost:8080/ui/swagger-ui/index.html
Please refer deploy using helm
Detailed documentation can be found here
Map
is used to store keypair, VC and VP of wallet to avoid any further complexity. Please
refer MemoryStorage.java/presentations/query
API if not issued previouslyclient_secret
while creating OAuth token and client_id
will be BPNjti
claim is not validatedThis application provides container images for demonstration purposes.
See Docker notice files for more information:
Distributed under the Apache 2.0 License. See LICENSE for more information.