Identity API is dedicated identity management system microservice for TM Solution. It has features of managing user accounts as well as managing authentication and authorization.
-
Local system clone the repository and run:
dotnet restoreto restore all dependencies.dotnet buildto build solution.donet runto run project.
-
Install on local k8s cluster through helm chart available in repository.
-
Create docker image for service/project on local system:
docker build --pull --rm -f "Dockerfile" -t identityapi:0.0.1 "." -
Install helm charts
helm upgrade identityapi --install ./identityapi-charts
-
Environment variables required by service
| Variable | Defaule value |
|---|---|
| ASPNETCORE_URLS | http://[*]:8080 |
| ConnectionStrings__IdentityStoreConnectionString | Server=<SERVER_NAME>;Initial Catalog=<DATABASE_NAME>;User ID=<DATABASE_USER>;Password=<DATABASE_PASSWORD>;TrustServerCertificate=False;Connection Timeout=30; |
| JwtSecretKey__PRIVATE_KEY | <PRIVATE_KEY> |
| JwtSecretKey__PUBLIC_KEY | <PUBLIC_KEY> |
| JwtSecretKey__ISSUER | < ISSUER > |
| JwtSecretKey__AUDIENCE | < AUDIENCE > |
| JwtSecretKey__TTL | <JWT_TTL> |
Follow the swagger api documentation to explore various service endpoints at: (doc)[http://localhost:8080/swagger]
Note: launching project through
Visual StudioIDE opens service's swagger documentation by default.





