SAP’s Decentralized Identity Verification service provides a secure and efficient way to manage digital identities. After subscribing to SAP's Decentralized Identity Verification, you gain access to the Decentralized Identity Verification Provisioning (DIV Provisioning) service, which allows partners to manage multiple SSI Wallets called Decentralized Identity Verification (DIV).
This blog post will guide you through the process of creating a tenant of the DIV using SAP’s provisioning admin dashboard or API.
Prerequisites
Before creating a DIV tenant, ensure that:
Provisioning a Decentralized Identity Verification Tenant
The Administration Dashboard allows administrators to create and manage Decentralized Identity Verification tenants easily. Follow these steps to create a new tenant:
For automation and integration purposes, you can create a Decentralized Identity Verification Tenant using SAP’s API. Follow these steps:
POST {authUrl}/oauth/token HTTP/1.1
Authorization: Basic {clientid} {clientsecret}
Content-Type: application/x-www-form-urlencoded
grant_type=client_credentialsThe response will include an access token, which must be used in API requests.
2. Send an API Request to Create a Tenant:
Use the following API endpoint:
POST {provisioningSrv}/api/v1.0.0/operations
Content-Type: application/json
Authorization: Bearer {token}
{
"entity": "customer-wallet",
"action": "provision",
"payload":{
"customerName": "Customer 1",
"customerId": "1",
"divWalletServiceName" : "main",
}
}
3. Handle the API Response:
This is an asynchronous operation. The response will include an operation ID, which can be used to verify the provisioning status. You can use the following API call to check the status of the operation:
GET {provisioningSrv}/api/v1.0.0/operations/{operationId}
Content-Type: application/json
Authorization: Bearer {token}
{
}Once the operation completes, you will receive credentials to work with the tenant API and a link to the tenant's Administration Dashboard.
4. Usage of newly Created Tenant
After the tenant is created, the service key required to interact with the tenant is returned via the operation status API call. The condensed sample response is provided in the following chapter. To authenticate, three parameters are required, and the response also includes the service URL to access the wallet APIs.
GET {provisioningSrv}/api/v1.0.0/operations/{operationId}
Content-Type: application/json
Authorization: Bearer {token}
{
}Response:
{
"operationId":"597f3cec-b025-4517-92da-782e76e34314",
"status":"completed",
"data":{
"customerId":"1",
"customerName":"Customer 1",
"customerWalletId":"d5233c5d-9908-44cb-83ee-25637ef21a15",
"serviceKey":{
"uaa":{
"clientid":"…",
"clientsecret":"…",
"url":"https://2-lvkhpmn8.authentication.eu10.hana.ondemand.com",
},
"url":"https://dis-integration-service.eu10.div.cloud.sap"
}
}
}The following API call demonstrates how the service key, provided by the provisioning service, can be used for authentication and to interact with the tenant. By including the service key and the authentication URL.
POST { data.serviceKey.uaa.url }/oauth/token HTTP/1.1
Authorization: Basic { data.serviceKey.uaa.clientid } { data.serviceKey.uaa.clientsecret }
Content-Type: application/x-www-form-urlencoded
grant_type=client_credentialsThe API will return a token, which can then be used in the Authorization header of subsequent API calls to securely interact with the tenant.
GET {data.serviceKey.url}/api/v2.0.0/applications
Content-Type: application/json
Authorization: Bearer {token}
{
}
Conclusion
Creating a DIV Tenant in SAP’s Decentralized Identity Verification service is straightforward using either the Provisioning Admin UI or the API. This process ensures that organizations can efficiently manage self-sovereign identity (SSI) wallets while leveraging SAP’s Decentralized Identity Verification.
Next step:
Preparing an SSI Wallet for a Catena-X Participant in a Dataspace
Read more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 46 | |
| 41 | |
| 38 | |
| 31 | |
| 28 | |
| 28 | |
| 26 | |
| 24 | |
| 24 | |
| 23 |