Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Indicio Proven is the world’s most advanced platform for decentralized identity using verifiable credentials and Open Badges 3.0.
It is designed to provide the widest possible range of options to build, deploy, scale, and manage verifiable credential ecosystems.
It is built to be interoperable and compatible with current and emerging global protocols and standards for decentralized identity, including the European Union’s new standards for digital identity (eIDAS) and digital wallets (EUDI).
It’s easy to implement — a platform that can work with your existing systems, and it is configurable in days rather than months.
And it’s easy to scale from simple use cases to managing national and global identity verification.
Verifiable credentials are a powerful new way to authenticate identity and data. As Gartner Research notes in its 2024 Market Report for Decentralized Identity, they represent “magnitudes of improvement in terms of efficiency, cost and assurance.”
Indicio Proven allows you to build in a way that works best for you, with flexible deployment options, including on premises, in Amazon Web Services, Azure, Google Marketplace, Oracle, or a provider of your choice.
The software needed to create, issue, and verify credentials.
The software to download, store, and use credentials on mobile devices.
Flexible template for creating credentials.
Make use of a robust and stable distributed ledger, professionally managed by Indicio, choose the provider that works best for you, or have us build your own distributed ledger network.
Verifiable credentials can hold all kinds of valuable information in a way that any attempt to alter that information breaks the credential.
Instant, cryptographic proof of who issued a credential, and that the person presenting it is the rightful owner — an identity fraud killer.
You are always able to verify who you share data with before sharing it — and they you.
Data is shareable across disparate systems without direct integration.
Unlocking efficiency and savings across industries and sectors
A complete end-to-end solution, Proven is designed to provide the widest possible range of options to build, deploy, scale, and manage verifiable credential ecosystems, and is interoperable and compatible with current and emerging global protocols and standards for decentralized identity, including the European Union’s new standards for digital identity (eIDAS) and digital wallets (EUDI).
It’s easy to implement and scale, from simple use cases to managing national and global identity verification, and unlike many digital credential solutions that claim to be decentralized, with Indicio technology, you are always in full control of your data.
Verifiable credentials can hold all kinds of valuable information in a tamper-proof way, as any attempt to alter that information breaks the credential.
Instant, cryptographic proof of who issued a credential, and that the person presenting it is the rightful owner — an identity fraud killer.
Mutual authentication allows you to always able to verify who you are sharing data with before sharing it — and they you.
Data is shareable across disparate systems without direct integration.
Data is immediately actionable — if you trust the source of the credential, you can trust the data.
Data is more secure — no need for third parties to store the data in centralized databases to manage authentication.
Takes the hassle out of data privacy compliance — a person is in control of their data and can share it by consent.
Protect biometric systems and data from AI deepfakes.
Indicio Proven is the most advanced solution for decentralized identity using verifiable credentials and Open Badges 3.0. It gives you maximum speed and flexibility to build, launch, scale, and manage verifiable credential ecosystems.
It’s built for interoperability. Indicio Proven works with existing and emerging global standards, including EU eIDAS and EUDI digital wallets.
It’s fast to implement. Integrate Proven with your current systems and can be configured in days—not months.
It’s easy to scale. Go from a simple pilot to national or global identity verification without starting over.
Issuer & Verifier Agents The software needed to create, issue, and verify credentials.
Mobile App & Mediator The software to download, store, and use credentials on mobile devices.
Verifiable Credential Schema Flexible template for creating credentials.
Verifiable Data Registry or Network Make use of a robust and stable distributed ledger, professionally managed by Indicio, choose the provider or registry technology that works best for you, or have us build your own network.
Technical support & training Indicio Proven includes personalized onboarding, comprehensive documentation, and expert-led training to ensure your team is set up for success at every stage.
Learn how easy it is to get started, use, and generate value using Indicio Proven!
Authenticate with base API key
Endpoints for sending and retrieving basic messages
Endpoints for issuing and retrieving credentials
Endpoints for managing the Transaction Author Agreement (TAA)
Endpoints for managing connections
Endpoints for managing contexts
Endpoints for creating and managing invitations
Endpoints for email verification
Endpoints for creating and managing Open ID for verifiable credential issuance
Endpoints for creating and managing Open ID for verifiable presentations
Endpoints for managing status lists
Data is immediately actionable — if you trust the source of the credential, you can trust the data.
Data is secure — no need for third parties to store the data in centralized databases to manage authentication.
Takes the hassle out of data privacy compliance — a person is in control of their data and can share it by consent.
Verifiable credentials can protect biometric data from AI deepfakes.
The following sections are an engineering focused API guide to Indicio Proven.
The Indicio proven API is secured using an API key, which must be included in the request header as x-api-key.
To add the API key, click the "Authorize" button and enter your API key.
Verifiable credentials are a breakthrough. Gartner calls them “magnitudes of improvement in terms of efficiency, cost and assurance” in its 2024 Market Report for decentralized identity.
Deploy your way. Use Indicio Proven on premises, in AWS, Azure, Google Cloud, Oracle, or with any provider you choose.


Endpoints for fetching governance files
Endpoints for managing Decentralized Identifiers (DIDs)
Endpoints for managing presentations
Endpoints for managing verifications
Endpoints for managing settings

Field Type: String
Description: local-part "@" domain, or what an end user understands as an email address
Field Type: String
Description: The domain portion identifies the point to which the mail is delivered.
Field Type: Unix timestamp UTC
Description: Date/time email address was verified
Field Type: String
Description: The local-part portion is a domain dependent string. In addresses, it is simply interpreted on the particular host as a name of a particular mailbox.
Some attributes are part of the underlying ARIES Credential Protocol. For example the following values are associated with the credential
"schema_id": string, identifier of schema
"cred_def_id": string, identifier of credential definition, which includes the issuer's DID
Indicio Proven™ provides the tools to establish a Trusted Digital Ecosystem (TDE). You can immediately issue, verify, and manage credentials. While the options are almost limitless, this tutorial will lead you through a simple workflow that illustrates some of Proven’s core capabilities.
In order to interact with Proven, please download and install the free Holdr+ wallet from either the or the .
Swipe past the first two images and click Get Started on the third image as shown below.
Read and accept the Terms of Use and the Privacy Policy. Check the box verifying you've read, understand, and accept the terms.

{
"schema_name": "Email",
"schema_version": "1.0",
"attributes": [
"address",
"domain"
"verified_at",
"local_part",
]
}
Indicio Test: Q7CyqfHss9RPK4hjwyZT32:2:Email:1.0
Indicio Demo: 4rZRryzpji8LUwuvKRVdzU:2:Email:1.0
Indicio Live:
Click Continue for both the Terms and the Privacy policies.
Enter First Name and Last name (first image below).
Choose a PIN (second image).
When you are done, you will see your empty wallet home screen (third image).
The next step is to log in to Proven.
Visit: https://your.url.com/admin
Username: admin
Password: 123!@#!@#QWEqwe
On the Proven UI home page, select a credential to issue from the top drop down and click on Issue.
We selected Employment because it looks similar to a lot of different types of credentials.
Proven will display a QR code that your mobile wallet can use to connect after you've selected a credential.
In the Holdr+ wallet, click on the Connect button found in the bottom center of the screen.
Click Scan a code.
Scan the QR code.
You will see a new connection added to your Holdr+ home screen.
After connecting, Proven will display a form with all of the different attributes for the credential you selected. Fill in these fields and click Send. Entering fake data is acceptable.
Proven displays a success message that says a credential offer was sent.
Holdr+ will display the offer on your home screen. Click View to see the details.
Click on the card to see the credential details.
Click Accept to add the credential to your wallet.
You can see the credential on your wallet screen.
After accepting the credential, Proven displays a success message.
Click on a credential in your Holdr+ wallet to view the details at any time.
View the list of issued credentials by clicking Credentials in the left menu.
Click on a credential in the list to view its details. General credential information and a list of attributes and their values are displayed on the credential details screen.
Sign out of Proven by clicking on the icon in the top right corner of the screen.

Field Type: Alpha-Numeric
Description: An id that uniquely identifies an institution
Field Type: String
Description: Type of account access
Field Type: Unix timestamp UTC
Description: Unix Timestamp representing the date the account was established.
Field Type: String
Description: Username is a sequence of characters that identifies a user
Field Type: Alpha-Numeric
Description: An id that uniquely identifies an account
Field Type: String
Description: User's first and middle names
Field Type: Unix timestamp UTC
Description: Credential's date of issuance
Field Type: Unix timestamp UTC
Description: User's date of birth
Field Type: String
Description: Institution's name
Field Type: String
Description: User's family last name or surname
Field Type: Integer
Description: User's phone number
Field Type: String
Description: User's email
Some attributes are part of the underlying ARIES Credential Protocol. For example the following values are associated with the credential
"schema_id": string, identifier of schema
"cred_def_id": string, identifier of credential definition, which includes the issuer's DID
Field Type: Alpha-Numeric
Description: Postal code of address of employer
Field Type:
Description:













Field Type: Alpha-Numeric
Description: Postal code of address of employment
Field Type: String
Description: Name of the country of employment
Field Type: String
Description: Employment address
Field Type: String
Description: Employment state, province, or region code
Field Type: String
Description: First and middle names of the employee
Field Type: String
Description: City of employer
Field Type: String
Description: Employer's address
Field Type: String
Description: Employment city
Field Type: Unix timestamp UTC
Description: Date of the first working day
Field Type: String
Description: Family last name or surname
Field Type: String
Description: Name of employer's country
Field Type: String
Description: Employer's state, province or region code
Field Type: String
Description: Employer's name
Field Type: String
Description: Employment role
Field Type: String
Description: Employment role description
Some attributes are part of the underlying ARIES Credential Protocol. For example the following values are associated with the credential
"schema_id": string, identifier of schema
"cred_def_id": string, identifier of credential definition, which includes the issuer's DID
{
"schema_name": "Banking_Account",
"schema_version": "1.0",
"attributes": [
"institution_id",
"account_access_type",
"account_established_date",
"username",
"account_id",
"given_names",
"credential_issued_date",
"date_of_birth",
"institution_name",
"surnames",
"phone_number",
"email"
]
}
Indicio Test: Q7CyqfHss9RPK4hjwyZT32:2:Banking_Account:1.0
Indicio Demo: 4rZRryzpji8LUwuvKRVdzU:2:Banking_Account:1.0
Indicio Live:


{
"schema_name": "Employment",
"schema_version": "1.0",
"attributes": [
"employer_postal_code",
"employment_type",
"employment_postal_code",
"employment_country",
"employment_address",
"employment_region",
"employee_given_names",
"employer_city",
"employer_address",
"employment_city",
"employment_start_date",
"employee_surnames",
"employer_country",
"employer_region",
"employer_name",
"employment_role",
"employment_role_description"
]
}
Indicio Test: Q7CyqfHss9RPK4hjwyZT32:2:Employment:1.0
Indicio Demo: 4rZRryzpji8LUwuvKRVdzU:2:Employment:1.0
Indicio Live:
This tutorial goes through a series of steps to exercise a few of the key features of the Proven API and help you begin to construct your own workflows.
To connect, one agent must issue an invitation to the other. Generally, the server agent issues an invitation to the mobile agent by displaying an invitation URL encoded in a QR code.
Use the following API endpoint: .
Set your x-api-key header to: 9^2m@qw2w885dKXxaup6TQ&CQT4@=RNW (or your production API key).
Submit the following as the POST body:
The API will respond with something similar to the following:
Once you have an invitation, use it to establish a connection between the two agents.
Use the invitation_url from the API response and provide it to a connecting agent such as Holdr+ using Postman:
When working with Postman, you can copy the invitation_url and use a website such as to create and display a QR code that mobile agents like Holdr+ can read.
Use Holdr+ to read the QR code by clicking on Connect in the middle of the bottom menu and pointing the camera at the QR code.
After the connecting agent reads the QR code and connects, you should see the most recent connection in Proven under Contacts.
After establishing a connection, perform the first of two key operations by issuing a credential.
Send a credential offer to a particular contact using the credentials API.
Use the following API endpoint: .
Set your x-api-key header to: 9^2m@qw2w885dKXxaup6TQ&CQT4@=RNW (or your production API key).
Submit the following as the POST body (notice the invitation_id OR contact_id should match what you used in the invitations API call above):
The API will respond with the following message:
The connected agent will receive a credential offer. In Holdr+, you will see a notification on the home screen. Click on it to view the offer details and to click Accept or Decline.
Accept the credential offer so that you can use it in the verification step.
After establishing a connection, the second key operation to perform is to verify a credential. In this tutorial, you will verify the credential you just issued in the previous step using the verifications API.
Use the following API endpoint: .
Set your x-api-key header to: 9^2m@qw2w885dKXxaup6TQ&CQT4@=RNW (or your production API key).
Submit the following as the POST body (notice the invitation_id OR contact_id should match what you used in the invitations API call above):
The API will respond with something similar to the following:
The connected agent will receive a presentation request. In Holdr+, you will see a notification on the home screen that you can click to view the request details and to click Accept or Decline.
Accept the request to send your credential information so that you can view it in the next step.
After requesting the presentation of a credential from the connected agent (and sharing it if you are the one controlling the connected agent), you can request the verification result.
If the user responds quickly or you set a long timeout, it is possible to get the presentation data back in the verification request itself. However, in most cases, you have to request the data at a later time.
Request the result of a verification from the verifications API using the GET method and a URL that contains the verification ID number. For example, the verification_id is 3 as seen in the response in the section.
Use the following API endpoint with the correct ID in the URL: .
Set your x-api-key header to: 9^2m@qw2w885dKXxaup6TQ&CQT4@=RNW (or your production API key).
The API will respond with something similar to the following:
Note the result_data. You can now see the value of each of the attributes that you requested and use them for other credentials or in other parts of your existing or new systems.
Webhooks provide real-time notifications about events on Proven agents. They are delivered as HTTP POST requests to a configured endpoint.
Field Type: String
Description: Customer's first and middle names
Field Type: M for male, F for female, or X for not specified
Description: Individual's sex.
Payload Format:
Description: This is triggered when a connection is fully established.
Event Type: connection:completed
Payload Example:
Description: This is triggered when a credential is successfully issued.
Event Type: credentials:done
Payload Example:
Description: This is triggered when a presentation is successfully verified.
Event Type: presentation:verified
Payload Example:
Description: This is triggered when a credential is successfully issued.
Event Type: oid4vc-credential:issued
Payload Example:
Description: This is triggered when a presentation is successfully verified.
Event Type: presentation:verified
Payload Example:
Description: This is triggered when a presentation is successfully verified.
Event Type: webhook:basic-message
Payload Example:
Header: x-api-key (optional)
Example: x-api-key: 24680AEIOUY
Use the x-api-key header (recommended).
Use HTTPS for all endpoints.
Verify request signatures if available.
Validate JSON schema of incoming payloads.
Header
Example Value
Description
Content-Type
application/json
Request content type
X-API-Key
24680AEIOUY
Authentication key
User-Agent
Field Type: String
Description: Name of the credit score agency
Field Type: Unix timestamp UTC
Description: Date of experiation for id.
Field Type: String
Description: Previous employer's name of a customer
Field Type: Yes or No
Description: Indicate whether extended due diligence has been performed.
Field Type: Unix timestamp UTC
Description: Date of Birth
Field Type: String
Description: Rate of risk
Field Type: Yes or No
Description: Indicate whether standard due diligence has been performed.
Field Type: Alpha-Numeric
Description: Postal code of a customer address
Field Type: Yes or No
Description: Mark if an account is verified or not
Field Type: Integer
Description: Annual volume of a customer's income
Field Type: Integer
Description: Current amount of accounts balances
Field Type: String
Description: Current employer's name of a customer
Field Type: Unix timestamp UTC
Description: Credential's date of issuance
Field Type: String
Description: Type of an identity document
Field Type: String
Description: Customer address proving method
Field Type: Yes or No
Description: Mark if the previous employment of a customer is verified or not
Field Type: Unix timestamp UTC
Description: Date of the first working day
Field Type: Alpha-Numeric
Description: A number that must uniquely identify a particular document issued to a customer.
Field Type: Unix timestamp UTC
Description: Date of the first working day at the previous place of work
Field Type: Yes or No
Description: Mark if the current employment of a customer is verified or not
Field Type: String
Description: Family last name or surname
Field Type: Integer
Description: Customer's phone number
Field Type: String
Description: Customer's email
Field Type: String
Description: Customer state, province or region code
Field Type: Integer
Description: Customer credit score
Field Type: Yes or No
Description: Mark the status if blacklists checked or not
Field Type: Integer
Description: Average amount of accounts balances for 6 month
Field Type: String
Description: Customer's street address
Field Type: Yes or No
Description: Mark if customer address is verified or not
Field Type: String
Description: Customer income currency
Field Type: String
Description: Customer city name
Field Type: Yes or No
Description: Mark if customer income is verified or not
Field Type: String with encoded .jpg or .jp2 passport image
Description: A color photo of customer
Some attributes are part of the underlying ARIES Credential Protocol. For example the following values are associated with the credential
"schema_id": string, identifier of schema
"cred_def_id": string, identifier of credential definition, which includes the issuer's DID
{
"contact_id": "",
"alias": "API Invitation",
"invitation_type": "CV1",
"invitation_mode": "once",
"accept": "auto",
"public": false,
"invitation_role": "Holder",
"invitation_label": "CV1",
"invitation_status": "active",
"invitation_description": "Invitation created through API",
"invitation_active_starting_at": null,
"invitation_active_ending_at": null,
"uses_allowed": ""
}{"invitation_url":"https://proven.mediator.indiciotech.io?c_i=eyJAdHlwZSI6ICJkaWQ6c292OkJ6Q2JzTlloTXJqSGlxWkRUVUFTSGc7c3BlYy9jb25uZWN0aW9ucy8xLjAvaW52aXRhdGlvbiIsICJAaWQiOiAiNmQ0Y2QxZjYtNWJmMi00MjQ3LTg1ZmQtY2UxNzk5MjYyNDY3IiwgInJlY2lwaWVudEtleXMiOiBbIkFjOTFEWHE2ZEZzWXBZcmMyVlMzWDRrUnhHWGZtaGhaVXo1NUpSUkdSdkF5Il0sICJyb3V0aW5nS2V5cyI6IFsiRXJLRGVkNkQ1Tm9nUXpMVlBwczlrcFNXYWdxTndiVlE4RXpIcGdoTHE4UlQiLCAiMkRBQjZNU2V2bnFjc2ZoMzJIOEFrdlBIcHNzVmY3Wnl0UlZHOThTdXZXUjUiXSwgImxhYmVsIjogIlByb3ZlbiIsICJzZXJ2aWNlRW5kcG9pbnQiOiAiaHR0cHM6Ly9wcm92ZW4ubWVkaWF0b3IuaW5kaWNpb3RlY2guaW8ifQ==","invitation_id":52,"contact_id":""}{
"invitation_id": 52,
"contact_id": "",
"schema_id": "Gj39gdivhMneKBaamMsX7P:2:User:1.0",
"attributes": [
{
"name": "user_email",
"value": "mike@indicio.tech"
},
{
"name": "username",
"value": "mike.ebert"
},
{
"name": "user_id",
"value": "1"
},
{
"name": "user_roles",
"value": "admin"
}
]
}{
"success": "Credential was offered"
}{
"invitation_id": 52,
"contact_id": "",
"schemas": [
{
"schema_id": "Gj39gdivhMneKBaamMsX7P:2:User:1.0",
"schema_attributes": [
"user_email"
]
}
],
"timeout": "10",
"rule": "no rule"
}[
{
"verification_id": 3,
"connection_id": "27194181-8bf5-4207-aad3-51e7ad7bbea5",
"contact_id": null,
"invitation_id": 52,
"schema_id": "Gj39gdivhMneKBaamMsX7P:2:User:1.0",
"schema_attributes": [
"user_email"
],
"timeout": 10,
"rule": "no rule",
"meta_data": null,
"complete": false,
"result": false,
"result_string": "Pending",
"result_data": null,
"presentation_exchange_id": [
"911fe7d1-1485-4997-99d8-ef858c9eab64"
],
"error": "",
"created_at": "2024-01-16T21:05:23.816Z",
"updated_at": "2024-01-16T21:05:27.000Z"
}
]{
"verification_id": 3,
"connection_id": "27194181-8bf5-4207-aad3-51e7ad7bbea5",
"contact_id": null,
"invitation_id": 52,
"schema_id": "Gj39gdivhMneKBaamMsX7P:2:User:1.0",
"schema_attributes": [
"user_email"
],
"timeout": 10,
"rule": "no rule",
"meta_data": null,
"complete": true,
"result": true,
"result_string": "Verified",
"result_data": [
{
"name": "user_email",
"value": "mike@indicio.tech"
}
],
"presentation_exchange_id": [
"911fe7d1-1485-4997-99d8-ef858c9eab64"
],
"error": "",
"created_at": "2024-01-16T21:05:23.816Z",
"updated_at": "2024-01-16T21:05:33.964Z"
}node-fetch/1.0
Client identifier
Content-Length
1584
Request body size in bytes
Accept-Encoding
gzip,deflate
Supported compression methods


{
"event": "event_type",
"webhook": {
// Event-specific data
}
}{
"event": "connection:completed",
"webhook": {
"connection_id": "13eeacd4-0c4e-495e-81cc-d66c6eeb8545",
"invitation_key": "2St9MAnpToLcnUxhfskNBYgNxzS4vzAy42kSWPF8AY9e",
"invitation_msg_id": "7f7392eb-a334-43c9-bdb0-b1a109de1f91",
"contact_id": null,
"purpose": "invitation purpose",
"wallet_id": "f161e7a3-9a88-4f2c-a988-cc9cf3fbea2f",
"discovered_features": [
{
"pid": "https://didcomm.org/present-proof/2.0",
"roles": [
"prover",
"verifier"
]
},
// ... additional protocol features
]
}
}{
"event": "credentials:done",
"webhook": {
"state": "done",
"connection_id": "13eeacd4-0c4e-495e-81cc-d66c6eeb8545",
"cred_ex_id": "794657e2-187e-4642-b5f2-77dd27138a49",
"thread_id": "d92933ef-74d8-4e53-9d4a-6526feb991c5",
"wallet_id": "f161e7a3-9a88-4f2c-a988-cc9cf3fbea2f",
"role": "issuer",
"initiator": "self",
"created_at": "2025-03-13T22:14:41.138935Z",
"updated_at": "2025-03-13T22:15:02.479961Z",
"credential_id": null
}
}{
"event": "presentation:verified",
"webhook": {
"state": "done",
"connection_id": "13eeacd4-0c4e-495e-81cc-d66c6eeb8545",
"pres_ex_id": "7ec0d756-58e8-402d-9688-2dc4cd48cf17",
"thread_id": "00b7fe05-79a1-44a8-91bd-8f0fe47f249d",
"wallet_id": "f161e7a3-9a88-4f2c-a988-cc9cf3fbea2f",
"role": "verifier",
"initiator": "self",
"verified": "true",
"created_at": "2025-03-13T22:15:04.202161Z",
"updated_at": "2025-03-13T22:15:14.343137Z"
}
}{
event: 'oid4vc-credential:issued',
webhook: {
exchange_id: 'd3e347d2-e6df-45cf-bb02-27a929311260',
supported_cred_id: '413f8b60-6587-40bd-95ee-58797c3d6543',
credential_subject: {
given_name: 'Alice',
family_name: 'Smith',
something_nested: { key1: { key2: { key3: 'something nested' } } },
source_document_type: 'id_card',
age_equal_or_over: {
'12': true,
'14': true,
'16': true,
'18': true,
'21': true,
'65': false
}
},
verification_method: 'did:sov:NQ6iZJjvwdMzedXHzxX1vf#key-1',
state: 'issued',
issuer_id: 'did:sov:NQ6iZJjvwdMzedXHzxX1vf',
code: 'Naqioo54ryqIAbNbfcWYTg',
token: 'eyJ0eXAiOiAiSldUIiwgImtpZCI6ICJkaWQ6c292Ok5RNmlaSmp2d2RNemVkWEh6eFgxdmYja2V5LTEiLCAiYWxnIjogIkVkRFNBIn0.eyJpZCI6ICJkM2UzNDdkMi1lNmRmLTQ1Y2YtYmIwMi0yN2E5MjkzMTEyNjAiLCAiZXhwIjogMTc0MjA3NDM2Mn0.JffFZI7MgkWyZDLckUpY75flch4HdMqIHnUh1suHAoOOjjQ0OD9nNCNChNl5uCHrWZnrxsT9nQl-npZGqGDIDA'
}
}{
event: 'oid4vc-presentation:verified',
webhook: {
pres_def_id: 'b1c679d4-6edb-4d22-ba65-553dd7f6ef0a',
presentation_id: '28e70110-57b4-494e-b13b-aa728eac88c4',
request_id: '00f70502-0618-4b9e-af9f-e8af07f6edcd',
matched_credentials: {
'ID Card': {
something_nested: { key1: { key2: { key3: 'something nested' } } },
source_document_type: 'id_card',
age_equal_or_over: {},
sub: 'did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IkFlRzUyZk9oVnliN2VsYWtxVEFwc25ab2RCMkhuRGQ0YzE0d2NtRTRsOWMiLCJ5IjoiLW5VTmljSi0yUVV0UTNaVjBSc0NMMzNEVmVtcFNNUXBheG04VWQ0ZXlSayJ9',
cnf: {
kid: 'did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IkFlRzUyZk9oVnliN2VsYWtxVEFwc25ab2RCMkhuRGQ0YzE0d2NtRTRsOWMiLCJ5IjoiLW5VTmljSi0yUVV0UTNaVjBSc0NMMzNEVmVtcFNNUXBheG04VWQ0ZXlSayJ9#0'
},
vct: 'testCard',
iss: 'did:sov:NQ6iZJjvwdMzedXHzxX1vf',
iat: 1741987962,
given_name: 'Alice',
family_name: 'Smith'
}
},
state: 'presentation-valid'
}
}{
event: 'basic-message:received',
webhook: {
connection_id: '9775b821-be93-4980-94d9-e3deaf6698d3',
message_id: '4a977851-e5be-40fd-b3d6-3e01ae249c77',
content: 'New',
state: 'received',
sent_time: '2025-03-14T02:28:57.839Z',
locale: 'en',
wallet_id: '122b480d-2813-42b5-9146-2d359a5dd807'
}
}{
"schema_name": "KYC",
"schema_version": "1.0",
"attributes": [
"given_names",
"gender_legal",
"credit_score_agency",
"government_id_expiration",
"employment_previous_employer",
"edd_performed",
"date_of_birth",
"risk_rating",
"sdd_performed",
"postal_code",
"accounts_verified",
"income_annual",
"accounts_sum_of_balances_current",
"employment_current_employer",
"credential_issued_date",
"government_id_type",
"proof_of_address_method",
"employment_previous_verified",
"employment_current_start_date",
"government_id_number",
"employment_previous_start_date",
"employment_current_verified",
"surnames",
"mobile_phone_number",
"email",
"state_province_region",
"credit_score",
"blacklists_checked",
"accounts_sum_of_balances_6_month_average",
"street_address",
"proof_of_address_verified",
"income_currency",
"city",
"income_verified",
"photograph"
]
}
Indicio Test: Q7CyqfHss9RPK4hjwyZT32:2:KYC:1.0
Indicio Demo: 4rZRryzpji8LUwuvKRVdzU:2:KYC:1.0
Indicio Live:
Indicio Proven™ provides the tools to establish a Trusted Digital Ecosystem (TDE). Out of the box, you can issue, verify, and manage user credentials. Once you have a user credential, other workflows become possible because you can trust you are working with a known person or agent. The issuer’s role is to send invitations to the contacts to offer them user credentials. The issuer also manages contacts.
After logging into the Admin screen, you will land on the home page. To issue yourself a User credential first select the User credential from the dropdown list. If the user credential does not appear, then a browser refresh might be required. Then click Issue. Scan the displayed QR code with your mobile identity wallet app. Complete the form, then click Send. Accept the offered credential on your mobile device.
This selection just shows a list of all invitation QR codes that have been generated by this instance of Proven.
Contacts are connections between the Proven Issuer and other agent applications. Not all software includes an editable label; therefore, some contacts will show the name of the software rather than the name of the person. The following information is displayed when first clicking into Contacts:
Contact Name: The name of the mobile app user
Connection Status:
Invite: an invitation has been sent
Request: the second party has received the invite and is requesting a connection.
Response: the system has responded with details to finish setting up the connection.
Active
Created At: the date and time the invitation was sent.
Click on a specific contact to view more information. You can use this interface to issue credentials to Users who have connected to Proven using the main URL. At the bottom of the screen, there is a section of all the credentials issued to a user. To view more detailed information on any issued credential, click on it. This displays things such as the credential name, ID, state, and date created. It also displays certain attributes, such as the different parts of the user credential and the date the credential was validated.
A credential is encrypted data. When the Credentials tab is displayed it shows one of the following in the Status column:
Offer Sent: A credential is created, and a connection is sent to the mobile app user
Credential Acked: The mobile app user has acknowledged the offer and sent a request for a credential.
Credential Issued: the system has created a credential
Click on any credential to view more information
A credential can be issued by using the Workflow section on the Home page or a similar method on the selected Contact page. Both methods offer a drop-down menu to choose the credential, but the Workflow section requires establishing a connection via the displayed QR code after selecting the credential from the menu. Subsequently, a form appears for the user to provide attribute values for the selected credential. After submitting the form, the credential will be issued.
It's important to note that while most credentials follow this flow, some credentials (e.g. Email) may require additional steps before issuance.
Users have access to the Proven Issuer admin system and can be created by anyone with the Admin role. Idicio uses a third party, Kekcloak to manage users. To manage users, follow the steps below.
Log in to Keycloak. The address is https://yourURL/identiy.
Change the realm to Indicio Proven. (Image 1)
Click on Users. (Image 2)
Click Add user. (Image 2)
Invitations are only valid for 24 hours after they are issued. If the new user doesn’t sign in within that time period, press the envelope in the Resend column to reissue the invite. Usernames are established as new users log in for the first time.
You can edit the following items for users. Refer to the Create New Users section for help.
Log in to Keycloak.
Click Users in the left menu.
Click on the user you wish to edit.
Edit the user’s name or email.
If you wish to delete a user, follow the steps below:
Log in to Keycloak.
Click Users in the left menu.
Click on the three vertical dots found to the right of the user.
Click Delete.
Groups define how user access is managed. Each wallet (aka agent) has its own group. A user be assigned to the correct group to have access to the wallet.
Log in to Keycloak.
Go to Groups found in the left menu.
Click Create group.
Assign a Name.
In Settings, an admin can customize the screen to match the branding of the organization. Below are the options and descriptions:
Organization Details:
Organization name: as it appears below the logo on the left
Website title: name as it appears on the browser’s tab
Change Logo: This takes any properly formatted image file which is transparent or has a background that matches the admin system background (the default background color is white, #ffffff):
Click Save when all desired changes are made
Field Type: text
Description: Type of record being issued.
Examples: DRIVING LICENSE, LEARNING PERMIT, IDENTIFICATION CARD, or COMERRICAL DRIVER's LICENSE
Field Type: text
Description: Family last name or surname
Field Type: text
Description: First and middle names
Field Type: Unix timestamp UTC
Description: Date of Birth
Field Type: Unix timestamp UTC
Description: Date of issuance for Driver's License
Field Type: Unix timestamp UTC
Description: Date of experiation for Driver's License
Field Type: text
Description: The authorized agent orgnization that issues driver licenses and/or idnetification cards
Field Type: Alpha-Numeric
Description: An id that uniquely identifies the individual by the issuing authority
Field Type: numeric
Description: A number that must uniquely identify a particular document issued to an individual.
Field Type:
Description: A color photo of the individual
Field Type:
Description: The signature of the individual
Field Type: text
Description: Street address including apartment number of individual
Field Type: text
Description: City of individual
Field Type: text;
Description: State, province, or region code of individual
Field Type: Alpha-Numeric
Description: Postal code of address of individual
Field Type: text;
Description: Code of country of address of individual
Field Type: text; comma separated list with space
Description: Vehicle types the driver is authorized to operate
Example: A, D
Field Type: text; comma separated list with space
Description: Codes specifying additional privileges granted to the individual
Example: M, S
Field Type: text; comma separated list
Description: Codes used to indicate restrictions or conditions that apply to the individual. If no restrictions or conditions apply to the individual, "NONE" shall be indicated.
Example: corrective lenses, sunrise to sunset driving only
Field Type: M for male, F for female, or X for not specified
Description: Individual's sex
Field Type: numeric
Description: The individual's height in inches. It is recommended that if height_cm exists, that height_inches exist.
Example: 73
Field Type: numeric
Description: The individual's height in cm. It is recommended that if height_inches exists, that height_cm exist.
Example: 185
Field Type: text
Description: The individual's eye color
Example: brown
Field Type: text
Description: The individual's hair color
Example: brown
Field Type: text
Description: The individual's place of birth
Example: New York, USA
Field Type: Colon, semicolon list with spaces. Date is stored in Unix timestamp UTC.
Description: Category date of first issue
Example: D:unavail ; C:1633932000
Field Type: Colon, semicolon list with spaces. Date is stored in Unix timestamp UTC.
Description: Category date of expiry
Example: D:1633932000 ; C:1633932000
Field Type: numeric
Description: The individual's weight in pounds. It is recommended that if weight_kilograms exists, that weight_pounds exist.
Example: 185
Field Type: numeric
Description: The individual's height in cm. It is recommended that if weight_pounds exists, that weight_kilograms exist.
Example: 84
Field Type: text
Description: The individual's race
Field Type: Alpha-Numeric
Description: Letters and/or numbers that identifies when, where, and by whom the license / ID card was made.
Field Type: Use the appropriate two-character code
Description: The issuing jurisdiction. The may provide examples of issuing jurisidictions.
Field Type: text
Description: If the individual is an Organ Donor. ORGAN DONOR is to be explictly spelled out so there is no ambiguity to the individual their status, otherwise the field should be left blank.
Example: ORGAN DONOR
Field Type: text
Description: The word "VETERAN" is required.
Example: VETERAN
Field Type: text
Description: F = compliant. (Required for DHS Compliant licenses)
Example: F
Field Type: MMDDCCYY
Description: (Required for DHS Compliant licenses)
Example: 09302010
Field Type: Unix timestamp UTC
Description: Hazmat endorsement expiration date
Field Type: text
Description: (Required for DHS Compliant licenses)
Example: 1
Some attributes are part of the underlying ARIES Credential Protocol. For example the following values are associated with the credential
"schema_id": string, identifier of schema
"cred_def_id": string, identifier of credential definition, which includes the issuer's DID

{
"schema_name": "Drivers_License",
"schema_version": "1.0",
"attributes": [
"weight_kilograms",
"authority",
"veteran_indicator",
"postal_code",
"surname",
"state_province_region",
"weight_pounds",
"eye_color",
"date_of_birth",
"category_date_of_first_issue",
"endorsements",
"restrictions",
"compliance_type",
"vehicle_classifications",
"organ_donor",
"sex",
"height_cm",
"race",
"portrait",
"height_inches",
"signature",
"hair_color",
"street_address",
"country",
"category_date_of_expiry",
"document_discriminator",
"issuing_jurisdiction",
"given_names",
"hazmat_endorsement_expiration_date",
"limited_duration_document_indicator",
"date_of_issue",
"card_revision_date",
"place_of_birth",
"city",
"document_type_indicator",
"customer_identifier",
"date_of_expiration",
"audit_information"
]
}
Indicio Test: Q7CyqfHss9RPK4hjwyZT32:2:Drivers_License:1.0
Indicio Demo:
Indicio Live: Q3ruoz76i4mrtaqrEfvCt:2:Drivers_License:1.0Enter the Username. (Image 3)
The other fields are optional, but may be useful: (Image 3)
First name
Last name
Click Create. (Image 3)
Click the Credentials tab. (Image 4)
Click Set password. (Image 4)
Enter the information in the box that opens: (Image 5)
Password
Password confirmation
Turn on Temporary. This requires the user to reset his or her password when they log in the first time.
Click Save.
Click the Role Mapping tab. (Image 6)
Click Assign Role. (Image 6)
Select Filter by Realm Role from the drop-down. (Image 7)
Click on all desired roles: (Image 7)
admin:
This role can do all regular agent functions: connections, DID creation, credential issuance and presentation, messaging, governance file management, schema management
This role can also create and revoke API keys (only for their own wallet(s); in contrast, super-admins can create/revoke API keys for any subwallet)
offline_access: This is a KeyCloak role and Indicio does not make use of it.
super-admin:
This role is for management of multitenancy
Super admins can create subwallets, query all subwallets, and create and revoke API keys for all subwallets
Highest level of privilege
technician:
This role is a reduced version of admin privileges; it can do messaging, connections (can't delete a contact), credential issuance (can't delete a received credential), credential presentation, can't manage governance files, can't create a did, can manage invitations (can't delete an invitation), can't manage schemas (only read them), can't manage settings, can't manage its own API keys
Overall, can't delete resources. A technician can do issuance and presentations, but an admin role is needed for the full issuance setup if a new schema needs to be created
Regarding the differences between Admin and Technician roles, Simon is a better resource than me since he wrote that code
uma_authorization: This is a KeyCloak role and Indicio does not make use of it.
Click Assign. (Image 7)
Click on the Groups tab. If a group doesn't exist, you may need to create a group.
Click Join Group.
Select any groups applicable. (Image 8)
Click Join. (Image 8)
Add or remove roles.
Add or remove groups.
Click on the group you just created.
Select the Members tab.
Click Add members.
Add any desired users in the dialog that appears. These are the users that should have access to the wallet that will be associated with this group
Click Add.
Go to Attributes tab.
Click Add attributes.
Key: proven_group_id
value: [WalletNameHere]
Click Save.
Change logo: on email stream and on the left.
Change logo 192 x 192: used when a mobile device is used instead of a desktop.
Change logo 512 x 512: used for mobile devices.
Update favicon.io: image found next to the name in the browser’s tab.
Web App Manifest: The web app manifest provides app information to devices which treat the admin portal as a single-page application (such as mobile devices).
Short name
Full name
Theme color
Background color
SMTP Configuration: This is the email account used when sending credentials and invitations to users. It must be set up before any credential invitations can be issued. If your company has a no-reply email, it is acceptable to use it here.
Host: mandatory field — the hostname or IP address to connect to (defaults to ‘localhost’).
Mail Username: mandatory field — the username (for Gmail accounts, mail username must be the same as the user email, e.g., johndoe@example.com).
User email: mandatory field — the user email
User password: mandatory field — the password for the email account (or an app password if a Gmail account is used)
Port: optional field — the port which the email system uses to accept email sending requests (defaults to 587 if Encryption Type is false or 465 if true).
Encryption: optional field — if true, the connection will use TLS when connecting to server. If false, (the default), then TLS is entered if the server supports the STARTTLS extension. In most cases, set this value to true if you are connecting to port 465. For port 587 or 25 keep it false.
Theme: The theme changes the colors of the different elements. Below is a list of the possibilities and the elements affected:
Primary color: action buttons (submit, confirm, save, edit, etc.), current tab color, and username.
Secondary color: hover-over tab, tooltip symbols.
Tertiary color: home page hover-over color.
Neutral color: disabled buttons and form elements.
Negative color: warnings that pop up, delete buttons, cancel buttons.
Warning color: undo buttons.
Positive color: successes that pop up.
Text color: all text with the exception of tooltips.
Text light: text on buttons
Border: most of the border lines found in the application; it uses a full CSS declaration, such as “1pxsolid #ddd.”
Drop shadow: some of the various boxes in the application; they require a full CSS declaration, such as “3px 3px 3px rgba(0, 0, 0, 0.3).”
Primary background: background of all the boxes.
Secondary background: every other row of the tables.









Proven and the Holdr SDK provide the capability to issue, hold, and verify credentials in the mdoc/mDL format over a variety of protocols. The following documentation describes how to use Proven for the server portions of mdoc/mDL workflows.
There are currently four categories of APIs for working with mdoc/mDL credentials over OID4VC: Keys, Schemas, Issuance, and Verification. These categories of APIs should be approached sequentially, e.g. it doesn't work to use the verification APIs if you haven't configured keys.
Provision mDoc issuer key material so that you can securely issue mdoc and mDL credentials.
curl --location 'https://buckets4life.share.zrok.io/api/v1/oid4vci/setup/mdoc' \
--header 'x-api-key: HuNsaIP9w0LsM5vqRhWprqLShgWLvb2yMAyuYUjWqd4=' \
--header 'Content-Type: application/json' \
--header 'Cookie: sessionId=s%3AIxantPaS5ZGMmrHZDetRQHQIVTRBiNBL.DAjBpQO8pxrjJdM4jQUYJU%2FlxzGAGIJcUzM%2FM7zltk0' \
--data '{
"force": false
}'force {boolean}: Whether to force the creation of a new key or not. Use false for first-time initialization or in case you don't want to overwrite the key (if one exists). Use true to rotate the key.
key_id {string}: This string will allow you to identify the key that the system is using for mdoc, allowing you assess the state of the system (e.g., are we still using the same key as 6 months ago?). Useful to save. Sample: 8d3e8f18-5e7d-4f1a-a72b-1db2f1d0c001
cert_id {string}: This string will allow you to identify the certificate that the system is using to identify itself to other entities, allowing you to assess the state of the system (e.g. is this the endpoint or agent I think it is?). Useful to save. Sample: 6af84a3c-b6e9-4b1c-844a-6ce6a1f2d002
message {string}: Human readable text that describes the result of the operation (e.g., mDoc issuer keys provisioned successfully). Sample: mDoc issuer keys provisioned successfully.
Use this API to check whether the agent has been initialized with mdoc issuer key material and is ready to issue credentials.
No request body or parameters.
keys {array of objects}: The key(s) currently provisioned for mdoc issuance. Each object contains:
key_id {string}: The identifier of the provisioned key. Sample: 8d3e8f18-5e7d-4f1a-a72b-1db2f1d0c001
cert_id {string}: The identifier of the certificate associated with this key. Sample: 6af84a3c-b6e9-4b1c-844a-6ce6a1f2d002
Use this API to configure the system to issue credentials of a particular schema, i.e. set things up so you can issue mDLs, passports, national IDs, etc.
doctype {string} Required: The mdoc document type identifier (e.g., org.iso.18013.5.1.mDL).
label {string}: A human-readable name for this credential type (e.g., Mobile Driver's License).
description
agentRecord {object}: The record created in the agent.
supported_cred_id {string}: Unique identifier for this credential type in the agent. Sample: 9fd5ef9d-b8b8-4f52-b6a9-95b9ce4f6f8a
identifier {string}: The doctype string used as the credential type identifier. Sample: org.iso.18013.5.1.mDL
Optional query parameters:
doctype {string}: Filter results to a specific document type.
config_id {string}: Filter results to a specific configuration record.
Returns an array of configuration objects, each with the same fields as the dbConfig object in the POST response above.
Use this API to create a credential exchange and generate an offer that can be delivered to a holder's wallet.
supported_cred_id {string}: The ID of the registered credential type to issue, obtained from the Schema Setup step. Sample: 9fd5ef9d-b8b8-4f52-b6a9-95b9ce4f6f8a
credential_subject {object}: The claims to include in the credential. Keys should match the claims defined when the credential type was registered. For an mDL, common fields include family_name, given_name, birth_date, issue_date
offer {object}: The credential offer object, suitable for delivery to a holder's wallet.
credential_issuer {string}: The URL of the credential issuer. Sample: https://example/oid4vc/tenant/c286d1c7-c548-48d1-8580-76d3fe317bff
credentials {array of strings}: The credential type identifiers included in this offer. For an mDL this will be
Verification is a multi-step process. First, you create a presentation definition that describes what claims you want to verify. Then, you use that definition to create a presentation request, which generates a URI that can be delivered to a holder's wallet (e.g., as a QR code). Finally, after the holder responds, you retrieve the presentation results.
Use this API to define what credentials and claims you want to request from a holder.
pres_def {object}: The presentation definition object, following the DIF Presentation Exchange specification.
id {string}: An optional identifier for the presentation definition. If omitted, the system will generate one.
purpose {string}: A human-readable string describing the purpose of the verification request.
input_descriptors {array of objects}: One or more descriptors specifying what credentials and claims are required.
pres_def_id {string}: The system-generated identifier for this presentation definition. Save this — you will need it to create a presentation request. Sample: 42c870ae-b605-4121-b5e3-1e6bb3a00c6f
pres_def {object}: The presentation definition as stored, including any system-generated fields such as id.
wallet_id
Retrieve all presentation definitions registered for your wallet.
No request body or parameters.
Returns an array of presentation definition objects, each with the same fields as the POST response for creating a presentation definition above.
pres_def_id {string} (path parameter, required): The identifier of the presentation definition to retrieve.
Returns a single presentation definition object with the same fields as the POST response for creating a presentation definition above.
pres_def_id {string} (path parameter, required): The identifier of the presentation definition to delete.
Only an HTTP status response code is returned.
Use this API to generate a presentation request from a previously created presentation definition. The response includes a URI that can be rendered as a QR code or delivered as a deep link for the holder's wallet to scan.
pres_def_id {string}: The identifier of the presentation definition to use, obtained from Step 1. Sample: 42c870ae-b605-4121-b5e3-1e6bb3a00c6f
vp_formats {object}: The verifiable presentation formats to accept. For mdoc verification, use "mso_mdoc": { "alg": ["ES256"] }.
request_uri {string}: A URL-encoded openid4vp:// URI. This is typically rendered as a QR code or deep link for the holder's wallet to scan or tap. Sample: openid4vp://?client_id=did%3Ajwk%3A...&request_uri=https%3A//example/oid4vc/tenant/.../oid4vp/request/43050ce4-bfb4-4454-b5de-9bbd1c564a85
request {object}: The presentation request record.
After the holder's wallet responds to the presentation request, use this API to retrieve all of the results.
Optional query parameters:
sort-field {string}: The field to sort by (default updated_at).
sort-direction {string}: Sort direction, ASC or DESC (default DESC).
params {object}: The pagination and filter parameters applied to the query.
rows {array of objects}: The presentation records. Key fields on each record include:
presentation_exchange_id {string}: Unique identifier for the presentation exchange.
After the holder's wallet responds to the presentation request, use this API to retrieve a specific result.
presentation_exchange_id {string} (path parameter, required): The identifier of the presentation exchange to retrieve.
Returns a single presentation record with the same fields as described in the list response above.
Before issuing a credential, you will need to create the “blueprint” (AKA class, schema, credential-type, etc.). See the following code example.
format {string}: The format of the credential. Will always be vc+sd-jwt for issuing SD-JWTs.
id {string}: The name of the credential (unique to Proven).
defaultCertificate {object}: The certificate currently designated as the default for mdoc issuance.
cert_id {string}: The identifier of the default certificate. Sample: 6af84a3c-b6e9-4b1c-844a-6ce6a1f2d002
key_id {string}: The identifier of the key associated with this certificate. Sample: 8d3e8f18-5e7d-4f1a-a72b-1db2f1d0c001
subject_dn {string}: The subject distinguished name of the certificate. Sample: CN=Proven mDoc Issuer
issuer_dn {string}: The issuer distinguished name of the certificate. Sample: CN=Proven mDoc Issuer
trustAnchors {array}: The trust anchors configured for this issuer. Empty if none have been configured.
ISO 18013-5 Mobile Driver's Licensedisplay {array of objects}: Display metadata for the credential type, used for rendering in wallets and verifier UIs.
verification_method {string}: The verification method to use when signing credentials of this type.
issuer_id {string}: The DID or identifier of the issuer for this credential type.
claims_schema {object}: An object defining the namespaces and claims this credential type supports.
vc_additional_data {object}: Additional data to include in the credential.
cryptographic_binding_methods_supported {array of strings}: Cryptographic binding methods supported for this credential type.
cryptographic_suites_supported {array of strings}: Cryptographic suites supported for this credential type.
proof_types_supported {object}: Proof types supported for this credential type.
format {string}: The credential format. Always mso_mdoc for mdoc credentials.
display {array of objects}: Display metadata as stored in the agent.
format_data {object}: The doctype and claims as stored in the agent.
dbConfig {object}: The configuration record stored in the Proven database.
config_id {string}: Unique identifier for this configuration record. Sample: c4d8f7f2-f8d0-4d0b-93d0-9f9f31a5c003
wallet_id {string}: The wallet this configuration is associated with. Sample: wallet-123
doctype {string}: The document type identifier as provided in the request.
supported_cred_id {string}: Matches the supported_cred_id in agentRecord.
format {string}: The credential format. Always mso_mdoc.
label {string}: The human-readable label as provided in the request.
description {string}: The human-readable description as provided in the request.
created_at {string}: ISO 8601 timestamp of when the record was created.
updated_at {string}: ISO 8601 timestamp of when the record was last updated.
expiry_dateissuing_countryissuing_authoritydocument_numberdriving_privilegesun_distinguishing_signportraitdid {string}: The DID to associate with the credential subject.
verification_method {string}: The verification method to use for signing this credential. If omitted, the system uses the verification method configured for the credential type.
pin {string}: An optional user PIN for the credential offer, adding an extra layer of security to the issuance flow.
label {string}: A human-readable label for this credential exchange.
connection_id {string}: The connection ID to associate with this credential exchange.
["org.iso.18013.5.1.mDL"]grants {object}: The grant types available for this offer. For mdoc/mDL issuance, this will contain a pre-authorized code grant.
urn:ietf:params:oauth:grant-type:pre-authorized_code {object}: The pre-authorized code grant.
pre-authorized_code {string}: The pre-authorized code the holder's wallet uses to retrieve the credential. Sample: iQ7DWmf2vjogMtQ_bdrDQg
user_pin_required {boolean}: Whether the holder is required to supply a PIN to redeem the offer.
credential_offer {string}: A URL-encoded openid-credential-offer:// URI. This is typically rendered as a QR code or deep link for the holder's wallet to scan or tap.
exchange {object}: The credential exchange record created by this request.
exchange_id {string}: Unique identifier for this exchange. Sample: 921786c9-dd65-473a-bebf-e5283d689c96
supported_cred_id {string}: The credential type ID used for this exchange, matching the value from the request.
credential_subject {object}: The claims as provided in the request.
verification_method {string}: The verification method that will be used to sign the credential. Sample: did:key:zDnaevgeiLuxFHYTHCHb1eAr489xPuCy3pDamtiGe5pWPvU41#zDnaevgeiLuxFHYTHCHb1eAr489xPuCy3pDamtiGe5pWPvU41
issuer_id {string}: The DID of the issuer. Sample: did:key:zDnaevgeiLuxFHYTHCHb1eAr489xPuCy3pDamtiGe5pWPvU41
state {string}: The current state of the exchange. Will be created immediately after issuance is initiated.
created_at {string}: ISO 8601 timestamp of when the exchange was created.
updated_at {string}: ISO 8601 timestamp of when the exchange was last updated.
id {string}: An identifier for this input descriptor. For mdoc, typically the doctype (e.g., org.iso.18013.5.1.mDL).
format {object}: Specifies the credential format. For mdoc verification, use "mso_mdoc": { "alg": ["ES256"] }.
constraints {object}: Defines the constraints on the requested claims.
limit_disclosure {string}: Set to "required" to ensure only the requested claims are disclosed.
fields {array of objects}: The specific claims to request. Each field has a path array using JSONPath notation. For mdoc claims, use the namespace-qualified syntax: $['org.iso.18013.5.1']['claim_name'].
c286d1c7-c548-48d1-8580-76d3fe317bffcreated_at {string}: ISO 8601 timestamp of when the record was created.
updated_at {string}: ISO 8601 timestamp of when the record was last updated.
request_id43050ce4-bfb4-4454-b5de-9bbd1c564a85pres_def_id {string}: The presentation definition used for this request.
vp_formats {object}: The verifiable presentation formats as provided in the request.
created_at {string}: ISO 8601 timestamp of when the request was created.
updated_at {string}: ISO 8601 timestamp of when the request was last updated.
presentation {object}: The presentation exchange record created by this request.
presentation_id {string}: Unique identifier for this presentation exchange. Use this to poll for results. Sample: 5e871b45-3821-4a94-8695-303517939afb
pres_def_id {string}: The presentation definition used.
request_id {string}: The request that initiated this presentation exchange.
state {string}: The current state of the presentation. Will be request-created immediately after the request is made.
created_at {string}: ISO 8601 timestamp of when the presentation exchange was created.
updated_at {string}: ISO 8601 timestamp of when the presentation exchange was last updated.
page-size {integer}: Number of results per page (default 20).current-page {integer}: The page number to retrieve (default 1).
item-count {integer}: The total number of items.
state-filter {string}: Filter results to a specific state (e.g., done, request-created).
contact-id {string}: Filter results to a specific contact.
state {string}: The current state (e.g., request-created, done).
verified {boolean}: Whether the presented credentials were successfully verified.
role {string}: The role in the exchange (e.g., verifier).
presentation {object}: The presented credentials, if available.
created_at {string}: ISO 8601 timestamp of when the record was created.
updated_at {string}: ISO 8601 timestamp of when the record was last updated.
count {integer}: The total number of presentation records.
curl --location 'https://buckets4life.share.zrok.io/api/v1/oid4vci/status/mdoc' \
--header 'x-api-key: HuNsaIP9w0LsM5vqRhWprqLShgWLvb2yMAyuYUjWqd4='curl --location 'https://buckets4life.share.zrok.io/api/v1/oid4vci/credentials-supported/mdoc' \
--header 'x-api-key: HuNsaIP9w0LsM5vqRhWprqLShgWLvb2yMAyuYUjWqd4=' \
--header 'Content-Type: application/json' \
--header 'Cookie: sessionId=s%3AIxantPaS5ZGMmrHZDetRQHQIVTRBiNBL.DAjBpQO8pxrjJdM4jQUYJU%2FlxzGAGIJcUzM%2FM7zltk0' \
--data '{
"doctype": "org.iso.18013.5.1.mDL",
"label": "Mobile Driver'\''s License",
"description": "ISO 18013-5 Mobile Driver'\''s License"
}'
curl --location 'https://buckets4life.share.zrok.io/api/v1/oid4vci/credentials-supported/mdoc' \
--header 'x-api-key: HuNsaIP9w0LsM5vqRhWprqLShgWLvb2yMAyuYUjWqd4='curl --location 'https://buckets4life.share.zrok.io/api/v1/oid4vci/issue' \
--header 'x-api-key: HuNsaIP9w0LsM5vqRhWprqLShgWLvb2yMAyuYUjWqd4=' \
--header 'Content-Type: application/json' \
--header 'Cookie: sessionId=s%3AIxantPaS5ZGMmrHZDetRQHQIVTRBiNBL.DAjBpQO8pxrjJdM4jQUYJU%2FlxzGAGIJcUzM%2FM7zltk0' \
--data '{
"supported_cred_id": "9fd5ef9d-b8b8-4f52-b6a9-95b9ce4f6f8a",
"credential_subject": {
"family_name": "Doe",
"given_name": "Jane",
"birth_date": "1990-01-15",
"issue_date": "2026-03-10",
"expiry_date": "2031-03-10",
"issuing_country": "US",
"issuing_authority": "State DMV",
"document_number": "DL123456",
"driving_privileges": "A,B,C",
"un_distinguishing_sign": "USA",
"sex": "2",
"height": "170",
"eye_colour": "BLU",
"birth_place": "New York",
"resident_city": "Springfield",
"resident_state": "IL",
"resident_postal_code": "62701",
"resident_country": "US",
"nationality": "US",
"age_over_18": "true",
"portrait": ""
}
}'curl --location 'https://buckets4life.share.zrok.io/api/v1/oid4vp/presentation-definitions' \
--header 'x-api-key: HuNsaIP9w0LsM5vqRhWprqLShgWLvb2yMAyuYUjWqd4=' \
--header 'Content-Type: application/json' \
--header 'Cookie: sessionId=s%3AIxantPaS5ZGMmrHZDetRQHQIVTRBiNBL.DAjBpQO8pxrjJdM4jQUYJU%2FlxzGAGIJcUzM%2FM7zltk0' \
--data '{
"pres_def": {
"input_descriptors": [
{
"id": "org.iso.18013.5.1.mDL",
"format": {
"mso_mdoc": {
"alg": ["ES256"]
}
},
"constraints": {
"limit_disclosure": "required",
"fields": [
{
"path": ["$['\''org.iso.18013.5.1'\'']['\''given_name'\'']"]
},
{
"path": ["$['\''org.iso.18013.5.1'\'']['\''family_name'\'']"]
}
]
}
}
]
}
}'curl --location 'https://buckets4life.share.zrok.io/api/v1/oid4vp/presentation-definitions' \
--header 'x-api-key: HuNsaIP9w0LsM5vqRhWprqLShgWLvb2yMAyuYUjWqd4='curl --location 'https://buckets4life.share.zrok.io/api/v1/oid4vp/presentation-definitions/{pres_def_id}' \
--header 'x-api-key: HuNsaIP9w0LsM5vqRhWprqLShgWLvb2yMAyuYUjWqd4='curl --location --request DELETE 'https://buckets4life.share.zrok.io/api/v1/oid4vp/presentation-definitions/{pres_def_id}' \
--header 'x-api-key: HuNsaIP9w0LsM5vqRhWprqLShgWLvb2yMAyuYUjWqd4='curl --location 'https://buckets4life.share.zrok.io/api/v1/oid4vp/request' \
--header 'x-api-key: HuNsaIP9w0LsM5vqRhWprqLShgWLvb2yMAyuYUjWqd4=' \
--header 'Content-Type: application/json' \
--header 'Cookie: sessionId=s%3AIxantPaS5ZGMmrHZDetRQHQIVTRBiNBL.DAjBpQO8pxrjJdM4jQUYJU%2FlxzGAGIJcUzM%2FM7zltk0' \
--data '{
"pres_def_id": "42c870ae-b605-4121-b5e3-1e6bb3a00c6f",
"vp_formats": {
"mso_mdoc": {
"alg": ["ES256"]
}
}
}'curl --location 'https://buckets4life.share.zrok.io/api/v1/presentations' \
--header 'x-api-key: HuNsaIP9w0LsM5vqRhWprqLShgWLvb2yMAyuYUjWqd4='curl --location 'https://buckets4life.share.zrok.io/api/v1/presentations/{presentation_exchange_id}' \
--header 'x-api-key: HuNsaIP9w0LsM5vqRhWprqLShgWLvb2yMAyuYUjWqd4='format_data.cryptographic_binding_methods_supported {object}: Not currently in use; should be ignored.
format_data.display {object}: Not currently in use; should be ignored.
format_data.vct {object}: String or url that identifies the type of SD-JWT.
format_data.claims {object}: An object with the body of your credential. The mandatory (optional) field signifies if the field is required to issue the credential. The value_type (optional) is the data_type of the field. It can accept the following types: string, number, and image media types such as image/jpeg as defined in IANA media type registry for images (https://www.iana.org/assignments/media-types/media-types.xhtml#image). Other values may also be used.
vc_additional_data.sd_list {array}: Paths to values that can be asked for specifically and/or omitted. If the path to a value is not in the sd_list, then the value will be present each time that credential is presented.
supported_cred_id {string}: You will need this for the next step, so make sure to copy it.
After creating the credential supported, you will see a supported_cred_id. Make sure to copy it, as you will need it in the following step.
Now that you have your credential_supported record, you will be able to issue credentials using that credential_supported.
supported_cred_id {string}: This is the supported_cred_id you copied from the previous step.
credential_subject {object}: It should match your credential_supported.format_data.claims object from the previous step. However, instead of having an object with value_type or mandatory, you will have the key equal to the value.
In the response you will see an offer_uri. This can be either turned into a QR code or put into the SDK to accept the offer and receive the credential. If you hit the GET https://{{host}}/api/v1/oid4vci/exchanges endpoint, then you will be able to check on the status of your credential request.
Before you can present a credential, you will need to create the “blueprint” (AKA class, schema, credential-type, etc.). Use the following example to complete the step.
pres_def.purpose {string}: Enter a useful description of this presentation definition.
pres_def.id: This is a unique UUID for presentation definition.
pres_def.input_descriptors {array}: This is an array of credentials you will need for this presentation.
format will be the credential type
id must not conflict with other IDs in input_descriptors
name will be a human-friendly name for you
purpose will also be a human-friendly field for you
pres_def.input_descriptors.constraints.limit_discolsure {boolean}:
required : This indicates that the MUST limit submitted fields to those listed in the fields array (if present). are not required to implement support for this value, but they MUST understand this value sufficiently to return nothing (or cease the interaction with the ) if they do not implement it.
preferred: This indicates that the SHOULD limit submitted fields to those listed in the fields array (if present).
pres_def.input_descriptors.constraints.fields {array}: These are objects with the path to the values you would like to see when they are disclosed.
After creating the presentation definition, you will see a pres_def_id. Make sure to copy it, as you will need it in the following step.
Now that you have your presentation definition record, you will be able to present credentials using that presentation definition.
pres_def_id {string}: Copy the pres_def_id from the previous step.
Keep the rest of this request the same.
In the response, you will see a request_uri. This can be either turned into a QR code or put into the SDK to accept the presentation and send the credential. If you hit the GET https://{{host}}/api/v1/oid4vp/presentations endpoint, then you will be able to check on the status of your credential presentation.
This endpoint fetches a JSON-LD verification request record by using its verification_id.
The response body is an array of records. The following information is the data of each record:
Field name
Expected type/ values
Examples
Notes
verification_id
integer
10
Primary identifier for the verification request record
connection_id
string
e2aed3c4-c0a1-4711-902e-f0a9eba618da
Identifier that ties the used connection to the verification request record
contact_id
curl --location 'https://buckets4life.share.zrok.io/api/v1/oid4vci/credentials-supported' \
--header 'x-api-key: HuNsaIP9w0LsM5vqRhWprqLShgWLvb2yMAyuYUjWqd4=' \
--header 'Content-Type: application/json' \
--header 'Cookie: sessionId=s%3AIxantPaS5ZGMmrHZDetRQHQIVTRBiNBL.DAjBpQO8pxrjJdM4jQUYJU%2FlxzGAGIJcUzM%2FM7zltk0' \
--data '{
"format": "vc+sd-jwt",
"id": "IDCard",
"format_data": {
"vct": "ExampleIDCard",
"claims": {
"given_name": {
"mandatory": true,
"value_type": "string"
},
"family_name": {
"mandatory": true,
"value_type": "string"
},
"something_nested": {
"key1": {
"key2": {
"key3": {
"mandatory": true,
"value_type": "string"
}
}
}
},
"age_equal_or_over": {
"12": {
"mandatory": true,
"value_type": "boolean"
},
"14": {
"mandatory": true,
"value_type": "boolean"
},
"16": {
"mandatory": true,
"value_type": "boolean"
},
"18": {
"mandatory": true,
"value_type": "boolean"
},
"21": {
"mandatory": true,
"value_type": "boolean"
},
"65": {
"mandatory": true,
"value_type": "boolean"
}
}
}
},
"vc_additional_data": {
"sd_list": [
"/given_name",
"/family_name",
"/age_equal_or_over/12",
"/age_equal_or_over/14",
"/age_equal_or_over/16",
"/age_equal_or_over/18",
"/age_equal_or_over/21",
"/age_equal_or_over/65"
]
}
}'curl --location 'https://buckets4life.
share.zrok.io/api/v1/oid4vci/issue' \
--header 'x-api-key:
HuNsaIP9w0LsM5vqRhWprqLShgWLvb2yMAyuYUj
Wqd4=' \
--header 'Content-Type: application/json' \
--header 'Cookie:
sessionId=s%3AIxantPaS5ZGMmrHZDetRQHQIV
TRBiNBL.
DAjBpQO8pxrjJdM4jQUYJU%2FlxzGAGIJcUzM%2
FM7zltk0' \
--data '{
"supported_cred_id":
"4e1a5734-629d-41ae-abc1-345732ce75
ab",
"credential_subject": {
"given_name": "Alice",
"family_name": "Smith",
"something_nested": {
"key1": {
"key2": {
"key3": "something
nested"
}
}
},
"source_document_type": "id_card",
"age_equal_or_over": {
"12": true,
"14": true,
"16": true,
"18": true,
"21": true,
"65": false
}
}
}'curl --location 'https://buckets4life.share.zrok.io/api/v1/oid4vp/presentation-definitions' \
--header 'x-api-key: HuNsaIP9w0LsM5vqRhWprqLShgWLvb2yMAyuYUjWqd4=' \
--header 'Content-Type: application/json' \
--header 'Cookie: sessionId=s%3AIxantPaS5ZGMmrHZDetRQHQIVTRBiNBL.DAjBpQO8pxrjJdM4jQUYJU%2FlxzGAGIJcUzM%2FM7zltk0' \
--data '{
"pres_def": {
"purpose": "Present basic profile info",
"id": "<<put uuid_v4 here>>",
"input_descriptors": [
{
"format": {
"vc+sd-jwt": {}
},
"id": "ID Card",
"name": "Profile",
"purpose": "Present basic profile info",
"constraints": {
"limit_disclosure": "required",
"fields": [
{
"path": [
"$.vct"
]
},
{
"path": [
"$.given_name"
]
},
{
"path": [
"$.family_name"
]
},
{
"path": [
"$.something_nested.key1.key2.key3"
]
}
]
}
}
]
}
}'curl --location 'https://buckets4life.share.zrok.io/api/v1/oid4vp/request' \
--header 'x-api-key: HuNsaIP9w0LsM5vqRhWprqLShgWLvb2yMAyuYUjWqd4=' \
--header 'Content-Type: application/json' \
--header 'Cookie: sessionId=s%3AIxantPaS5ZGMmrHZDetRQHQIVTRBiNBL.DAjBpQO8pxrjJdM4jQUYJU%2FlxzGAGIJcUzM%2FM7zltk0' \
--data '{
"pres_def_id": "51bcd5fb-a95a-4650-808f-d9ed91847d51",
"vp_formats": {
"vc+sd-jwt": {
"sd-jwt_alg_values": [
"ES256",
"ES384"
],
"kb-jwt_alg_values": [
"ES256",
"ES384"
]
}
}
}'/api/v1/verifications/json-ld/<verification_id> - GET{
"verification_id": 1,
"connection_id": "e2aed3c4-c0a1-4711-902e-f0a9eba618da",
"contact_id": null,
"invitation_id": 1,
"context": [
"https://www.w3.org/2018/credentials#VerifiableCredential",
"https://www.w3.org/2018/credentials/v1",
"https://purl.imsglobal.org/spec/vc/ob/vocab.html#OpenBadgeCredential"
],
"attributes": [
"id",
"criteria"
],
"wallet_id": "407e6215-17c5-4c81-901e-d75d9cc1a75a",
"label": "your label here",
"timeout": 15,
"rule": "no rule",
"meta_data": null,
"state": "done",
"complete": true,
"result": false,
"result_string": "Not Verified",
"result_data": null,
"presentation_exchange_id": [
"52778677-a7be-4017-9b21-d146372f07e8"
],
"error": "",
"created_at": "2025-01-06T13:40:59.623Z",
"updated_at": "2025-01-06T13:41:02.640Z"
}The following document describes the major steps to integrate with Proven and incorporate verifiable credentials and decentralized identity into your software, solutions, and workflows. This guide covers all of the necessary information in recommended order and assumes you have general software development knowledge and only an introductory level understanding of decentralized identity technology.
This guide starts with an introduction to decentralized identity technology and guides you through architecting your solution. Next, set up a development environment, learn the API and SDK calls, and implement your integration. As your integration nears completion, configure your staging and production environments and test what you’ve developed. Finally, launch, evaluate, maintain, and update your solution.
Feel free to skip sections you already understand or to jump straight to what you want to learn. Remember, this is a guide to help you understand how your solution could be implemented, but you should consider your specific requirements, make adjustments, and customize as necessary.
Decentralized identity provides a way for people, organizations, devices, and even AI agents to identify themselves digitally.
It also provides a way to reliably trust the information presented by a person or device or a device that has a digital identity.
It does this by issuing digitally-signed data in the form of Verifiable Credentials that can be held in digital wallets.
The digital signatures ensure that the issuer of the Verifiable Credential can be cryptographically identified and verified and that the integrity of the data in the credential can be verified (i.e., that it hasn’t been altered).
Thus, if you trust the issuer of the credential, you can trust the information stored in the credential.
This enables digital identity and data to be shared and verified in a fully portable and seamless manner, without reference to certificate authorities, identity providers, or “phoning home” to the source of the data or cross-checking against the same data held in a centralized database.
One consequence of decentralized identity is that Verifiable Credentials allow data to be held by the owner (the holder) of the data, typically on their mobile device. This allows people to control who they share their data with and to share it in ways that, depending on the Verifiable Credential format, maximize privacy through selective disclosure and zero-knowledge proofs.
This means that decentralized identity solves key challenges for data privacy regulations, such as the European Union’s GDPR.
A Verifiable Credential holder can only share their data by consent. They can share data selectively or through zero-knowledge proofs to preserve privacy. This meets the GDPR minimization requirements for consent, data, and purpose (an organization explicitly receives consent from the data owner to use their data, limits the amount of personal data requested, and ties it to a specific use). By being able to verify data cryptographically without needing to centrally store that data, Verifiable Credentials also meet GDPR requirements for security.
There are two additional important elements to a credential ecosystem. The first of these is governance. Governance involves establishing and automating trust within a credential use case: Who are the trusted issuers of credentials? Who are the trusted verifiers? What information needs to be presented?
These rules are published in machine-readable files by the natural authority for the ecosystem.
The second element is how trust is operationally determined, or in other words, how is the cryptography to verify a credential facilitated? The information about credential issuers (such as DIDs and public keys), schemas, revocation, and the linkages between these data types needs to be stored in a trusted location called a Verifiable Data Registry. There are many ways to do this. Three of the most common ways include:
Blockchain distributed ledger. The advantage of using a distributed ledger is that it provides credential resilience and longevity.
Witness networks. Instead of using a network of nodes to run a ledger, a collection of devices can use other conventions or software to store, secure, and share registry info.
Other trust mechanisms. Some methods of storing registry information are simpler than ledgers or witness networks and establish trust in other ways. For example, hosting the information on a web server and using DNS infrastructure to establish trust is relatively straightforward. Depending on the server infrastructure, this may be less robust than a ledger or witness network.
In summary, decentralized identity removes the inherently vulnerable processes generally used to identify people and organizations online — processes otherwise known as centralized and federated identity.
With the vulnerabilities eliminated, identity and data can be easily and instantly shared and authenticated anywhere using fraud- and AI-resistant ways.
Now that you have learned about the basics of decentralized identity, you’re ready to architect your solution to incorporate decentralized identity and verifiable credentials.
Some of the key decisions that you need to make include which DID method(s), schema(s), credential format(s), and protocol(s) to use. You need to assess how many issuers and verifiers are required, how these software agents integrate with existing systems, what wallet(s) and application(s) to use, and a strategy for trust establishment.
DID methods are important because they are used to uniquely identify your software and set up the cryptography at the heart of decentralized identity. They are tied to your trust establishment mechanism. Sometimes they are also tied to credential formats and communication protocols due to the choices developers make when developing decentralized identity software packages.
Some popular choices include did:web and did:webvh, did:key, did:sov and did:indy, did:ion, and did:ethr.
It is important to note that some decentralized identity systems do not utilize DIDs for identifiers, cryptography, or trust establishment (e.g. mdoc/mDL).
One of the most important elements of your integration are the schemas of the verifiable credentials. A schema defines the attributes or data fields in a verifiable credential. These determine which “packets” of information you need to make reusable and verifiable around your system. For example, if you were working with an educational ecosystem, you might need schemas for student IDs, tuition receipts, class completion certificates, and diplomas.
Once you’ve identified which schemas you need, you’ll want to identify any existing schemas that you can or need to use. If a suitable or required schema doesn’t exist, you’ll need to create one, which involves specifying which attributes to include in the schema and naming it.
Sample User Schema:
For encoding your schema into credentials, you will need to select one or more credential formats. Each format has pros and cons that may make some formats more suitable than others for your specific use cases.
The choice of credential format may be influenced by factors such as regulatory requirements, jurisdictional constraints, privacy and data protection considerations, and interoperability requirements with existing ecosystems or partners. Indicio can assist in navigating these considerations and selecting formats that align with your technical and compliance needs.
There are currently four major verifiable credential formats in widespread use; but, like many other technologies, there will be future updates, additions, and competing specifications to consider. After integrating Proven into your solution, you’ll need to schedule a periodic review of available credential formats.
Mdoc refers to a mobile document, and mDL refers specifically to a mobile driver’s license as defined by the ISO/IEC 18013-5 standard. These formats are primarily used for government-issued digital identity documents, including driver’s licenses and other official credentials.
Implementing mdoc and mDL support is more complex than many other credential formats. It typically requires CBOR-based binary encoding, integration with certificate-based public key infrastructure (PKI), and conformance to ecosystem-specific trust frameworks. In addition, participation in many mdoc and mDL ecosystems may require formal approvals or certification processes, particularly for government and regulated deployments.
SD-JWT Verifiable Credentials are based on the JSON Web Token (JWT) standard and use selective disclosure mechanisms to allow holders to reveal only specific claims during presentation. The format is simpler to implement than some other credential types because it builds on widely adopted JWT tooling and web security primitives.
SD-JWT VCs are among the formats approved for use within the eIDAS 2.0 and EUDI Wallet ecosystems. However, they do not currently provide native support for zero-knowledge proofs or cryptographic unlinkability across presentations. As a result, deployments that require reduced correlation across repeated use often rely on issuing credentials in batches or using additional operational controls.
JSON-LD Verifiable Credentials are defined by the W3C Verifiable Credentials Data Model and use JSON-LD to represent credential data in a flexible, extensible format. They are commonly used in decentralized identity systems and support a wide range of credential types and use cases.
JSON-LD credentials can be issued to a holder and presented across systems without being bound to a single platform. However, in their base form, they do not provide native support for selective disclosure or zero-knowledge proofs. Implementations that require these privacy-preserving features typically rely on additional cryptographic extensions or alternative credential formats.
AnonCreds (Anonymous Credentials) are a credential format designed to provide strong privacy guarantees, including selective disclosure, zero-knowledge proofs, and cryptographic unlinkability across repeated presentations, making them well-suited for privacy-sensitive use cases. Many current implementations rely on supporting infrastructure such as distributed ledgers for credential metadata and revocation, as well as DIDComm-based communication protocols.
There are some major protocols in use with verifiable credentials, which are used for issuing credentials, requesting and sharing presentations, and, with DIDComm, performing other operations related to decentralized identity. Typically, implementations start with one or a small number of protocols. Additional protocols can be added later to improve system interoperability or when they’re needed for their unique capabilities. They can also be added to create implementations with novel properties.
OID4VC (OpenID for Verifiable Credentials) defines standardized protocols for both verifiable credential issuance (OID4VCI) and verifiable credential presentation (OID4VP). It builds on OpenID and OAuth flows that are already familiar to many developers, making integration straightforward. Because it leverages existing authentication patterns and infrastructure, OID4VC enables secure credential exchange with minimal additional overhead. One con to using OID4VC is that it does not establish a persistent connection, so additional interactions will require new URLs.
DIDComm includes protocols for issuance and verification, among others. DIDComm’s major strength is that it can maintain a persistent connection, which allows two connected agents to carry out additional operations and utilize established trust over time.
While implemented in different ways, these are all “proximity” protocols–protocols used when two software agents are within close range of each other. This is simultaneously their strength and weakness.
The Digital Credentials (DC) API is supported by both Android and iOS and allows for simpler verifiable credential support on websites.
After you have determined how to manage all of the previous considerations, you can plan for credential issuance in your solution. Generally speaking, you need one credential issuing agent for each distinct entity making verifiable statements. You also need to consider where in your workflow you need to collect and validate data and when it needs to be issued to a holder’s wallet. This will determine where code updates or additions will need to be made in your existing system.
The next step is to plan for credential verification in your solution. Again, generally speaking, you need one verifying agent for each entity that needs to verify credential data (through the use of verifiable presentations). For each verifier, determine which credentials and credential attributes you need. You need to decide where in your workflows the data needs to be verified and ingested so you can plan for updates or additions.
When considering your wallet and application strategy, there are several important questions to answer. Will you use an existing wallet (such as Holdr+)? Will you white-label an existing wallet? Will you build or modify an app to include wallet functionality using an SDK (such as Indicio’s Holdr SDK)? Do you need to support multiple apps or wallets?
Aside from the cryptography involved with issuing and verifying credentials, you also need a way to identify which parties are trusted. There are various ways to do this, including DIF Credential Trust Establishment, ToIP Trust Registries, x.509 certificate chains with VICAL, and OAuth.
To integrate with Proven, you will need to install your own copy of Proven and configure it to meet your specific needs. The following instructions are one way you can install Proven by yourself. If you need assistance or other installation options, please get in touch with us — Proven works with a wide variety of hosting options.
Follow the instructions in the GC Proven User Installation Guide to get a baseline Proven installed. Using the example instructions in the above document as a guide, add one or more schemas as needed for your application.
You might also need to add an invitation for use by your application. Use the following steps if needed:
Log in to the Proven UI.
Click INVITATIONS in the main menu.
Click the large + button in the lower right corner.
Fill in the fields. Start with the following common values, then adjust to your preferences as needed:
Congratulations, you now have an instance of Proven that you can use for learning, experimentation, and development!
Once you’ve architected your solution and configured an instance of Proven to use in development, it’s time to learn how to use Proven and the Holdr SDK.
The demonstrates how to connect, issue, and verify an AnonCreds credential using a Proven Agent and the Holdr+ Mobile Wallet application.
See for instructions to issue and verify an SD-JWT VC or JWT VC using a Proven Agent and then using the SDK.
See to view the API calls to issue and verify JSON-LD type credentials using a Proven Agent.
You can also refer to the to learn more about individual API calls.
The Holdr describes how to install, configure, and use the Holdr SDK.
Now that you have a solution architecture, a development system, and some experience with Proven and the Holdr SDK, you are ready to implement your integration.
We’ll describe a process that works well for us and then share some useful tips, hints, and information.
We like to follow these high-level steps during our integrations:
Publish schemas and configure your Proven agent(s) to use them.
Issue a test credential using dummy data to an existing wallet (such as Holdr+).
Use Holdr+ to present the test credential to your Proven verifier.
Write code in your existing system to retrieve and collect data for a credential and then call the Proven API to issue the credential to the existing wallet.
Keep the following tips and information in mind while you are integrating decentralized identity into your solution using Proven:
(Developer) licenses
Expiration - Proven licenses include an expiration date. To ensure that your solution is running within its license agreement and continues to function, make careful note of when your software license expires.
Renewal - Although your license includes a short grace period, you will have more success if you begin the renewal process before your grace period begins so that your renewed license is ready to go right when you need it.
Enforcement - Indicio Proven and the Indicio Holdr SDK will stop working after their license grace periods expire, usually after 60 days.
Now that your solution has been developed and integrated with Proven, it is time to build a staging environment for testing of a production-like environment (which can also be used for demonstrations). While it’s possible to use the Proven instance created for development for this purpose, we recommend using a different environment for staging so that development efforts do not compromise your efforts to test and demonstrate your solution.
The Proven Staging environment is built in the same way as instructed in the Configure Development Environment section. Be sure to add all schemas that were included and needed from your development environment and remember to incorporate any learnings that you have experienced along the way.
The Proven Staging environment should be nearly an exact replica of what you built for Development. If you are using Hyperledger Indy as your VDR, you will want to configure your staging environment to use a stable network (such as the Indicio DemoNet) or, for testing that is closer to production configuration, a production network (such as the Indicio MainNet). The schemas used in development can be reused and simply added to the Proven Staging instance as needed (although the schema ID may be different if you are using a different network than you did in development), but the invitations will be different.
Once you have completed the Staging phase, it’s time to begin the production phase.
The Proven Production environment is built the same as the Proven Staging environment but with a few additional recommended security hardening measures to ensure resilience, integrity, and operational reliability.
Proven Server Hardening Recommendations:
Secure passwords
Follow the instructions for setting up Proven to ensure that all passwords included in Proven are secure.
Firewall
Enforce a strict default-deny inbound policy.
Testing your verifiable credential solution and workflows should include standard testing procedures as well as tests to cover some unique decentralized identity considerations.
There are a number of testing practices that we recommend in order to ensure that a solution is complete, robust, and resilient.
We recommend unit, integration, and end-to-end (E2E) tests of your code to verify that new functionality works and that you don’t have regressions.
Conduct performance and security tests of your system.
Performance tests:
Load testing
Stress testing
Spike testing
Endurance testing
Scalability testing
Security tests:
Penetration testing
Vulnerability scanning
Fuzz testing
Risk assessments
Conduct user and acceptance tests to ensure the solution is usable and that you’ve delivered a satisfactory end product.
There are some unique considerations for testing solutions and workflows that include decentralized identity.
VDRs underpin the trust of your solution, so reliability, security, and compliance are especially important. This also means that it is riskier to “roll your own” implementation and the focus of your efforts should be on properly installing, configuring, and testing an existing registry solution. Some key things to test include correct operation, performance, availability, and data minimization. As some VDRs (such as Hyperledger Indy) use nonstandard ports, you will need to ensure that your firewall rules allow access to the VDR.
Schemas are crucial for semantic interoperability of issued credentials, so it is important that validation, governance, and interoperability are tested. Begin testing by ensuring the different parts of your system are using matching schema IDs.
Revocation allows trust in the system to increase because it provides a way to handle inaccurate or expired information. Testing for resilience, availability, and performance is especially crucial for revocation.
Because mediators provide stable endpoints and collect messages for your mobile software, making sure they are stable and performing well is crucial. Indicio can assist with generating load to test mediator capacity and stability.
If your solution is open to multiple parties, apps, or software versions, you’ll need to test the various combinations that could occur in real-world usage. Using official test suites is very useful for interoperability testing.
Certain deployments, particularly in regulated or government environments, may require a Data Protection Impact Assessment. Your organization can approach Indicio for guidance and assistance, including supporting documentation on processing purposes, data flows, and technical safeguards, as well as explanations of how verifiable credential-based designs support privacy-by-design and data minimization principles.
Governance defines how trust is established, enforced, and maintained over time within a verifiable credential ecosystem. At a minimum, your system should explicitly control which credential issuers are trusted and under what conditions their credentials are accepted.
Beyond issuer trust, governance considerations typically include policy enforcement, operational readiness, onboarding and offboarding of participants, transparency into trust decisions, and alignment with applicable legal and contractual frameworks. These elements should be clearly defined and validated before production deployment to ensure consistent and predictable behavior across environments.
If you have existing deployment and launch procedures in place, it is wise to continue using them. The following launch steps or considerations will help ensure that the additional decentralized identity integration also goes smoothly.
Consider a soft or incremental launch, where a limited set of users or features is introduced at one time in order to reduce the risk of the new launch.
Your technical team should be prepared to support the launch of your integrated solution by having monitoring configured, a support plan in place, and establishing rollback or contingency plans if anything goes wrong during or following the launch.
There is more to a successful launch than the technical rollout of new technology. Operations, support, customer service, and even marketing and sales departments should be aware of and prepare new processes and materials for the changes introduced with decentralized identity.
Change management so everyone involved, especially customer-facing employees, knows what has been updated and can guide users to successfully use the system.
Training materials for those with a role that requires more than simple awareness of the updated solution.
Quick start guides may be useful for employees or customers.
Full instructions are useful for documenting workflows and providing detailed guidance.
Collecting and analyzing data from monitoring systems allows you to gauge the solution’s performance.
After the solution has launched, it is also important to immediately and then periodically gather feedback from those using and supporting the system to gauge their impressions and identify any signs of trouble.
Security updates are regularly released for nearly all actively maintained software, and Proven and the software it relies on are no exception. We recommend establishing a monthly (at a minimum) cadence of applying security updates.
You will need to consider at least two major portions of your solution that might need to be updated:
Proven Updates: Updates to Proven will include improvements and new features that you might want to add to your solution. Regularly check for updates to Proven and consider if and when to upgrade to later versions.
Solution Updates: Your solution might need changes and improvements. Establish a regular evaluation of your solution and perhaps a roadmap for the development of improvements and upgrades.
Integrating Proven allows you to add powerful decentralized identity functionality to your solution using familiar patterns, such as APIs and SDKs, unit and integration tests, Docker and Kubernetes, and more. As with all guides, however, this guide cannot describe every situation, requirement, step, or potential solution. Contact us if you have questions or would like assistance integrating Proven into your solution.
string
contact123
Optional contact ID string used for processing the request record by known contact. Used with invitation_id, has first priority
invitation_id
integer
123
Optional integer used to process the request record by a connection tied to the invitation_id. Used with contact_id, has second priority
context
array
[“...”, “...”]
List of contexts used for the verification record
attributes
array
[...]
List of attributes to be verified
wallet_id
string
407e6215-17c5-4c81-901e-d75d9cc1a75a
Identifier that ties this record to an existing wallet
label
string
Label for the verification request record
timeout
integer
10
Number of seconds the initial request waited for a completed request record
rule
string
“no rule”
Rules for the verification request
meta_data
object
null
Metadata for the verification request record
state
string
done
Current state of the verification request record
complete
boolean
true
This field does not indicate a verified request record, only that the request record has finished its process.
result
boolean
true
Indicates a verified request record. This field should be used alongside “complete” to determine a successful request record.
result_string
string
Verified
Custom string for helping to define the state of the request
result_data
array
[...]
Contains the verified attributes
presentation_exchange_id
array
[...]
Contains unique IDs for each proof request
error
string
“Controller Error! ….”
Error message caught while processing the request record
created_at
timestamp
2025-01-06T11:51:10.169Z
Date/time this record was created
updated_at
timestamp
2025-01-06T11:51:10.169Z
Date/time this record was last updated

OOB Invitation: True
Protocol: DID Exchange 1.1
Alias: your choice, used to refer to the invitation within Proven
Invitation Mode: Multi
Uses: leave blank for no limit or enter a specific number (e.g. 5000) to cap how many times the invitation will be used
Accept: Auto
Public: False
Their Role: your choice, could be used to categorize connections
Their Label: your choice, usually used by other agents as a friendly name for this agent
Workflow Status: Active
Description: your choice, usually a short reminder of what this invitation was created for
Purpose: your choice, this is a unique “handle” to use when linking invitations to specific workflows or behavior
Active Starting Time: unused in this version
Active Ending Time: unused in this version
Once the invitation is created, click on the new invitation, then copy the new invitation URL into your application.
Configure the webhooks in your Proven verifier to send verifiable presentation data to your system’s new endpoints.
Now that real credential data can be used to create credentials and real presentation data can be ingested by your system, you can start working on your own wallet application instead of using Holdr+.
Create a white label version of Holdr+, add the Holdr SDK to your existing application, or begin coding a new application using the Holdr SDK.
Development tips & tricks
Source control - We recommend keeping your code in a source control solution to make sure that your code is versioned and backed up.
Backups - We also recommend performing periodic backups of the different parts of your solution to help provide a robust system that can survive most emergencies or disasters.
Indicio Support
For any support-related issues that you encounter, please feel free to directly contact anyone at Indicio that you already have contact with, or use our Indicio support email, support@indicio.tech, to share your issues and we will get back to you as soon as we can.
Testing during development
Unit/integration/E2E testing
Although there is a later section focused entirely on testing, it is wise to write many of your tests (both automated and test scripts for humans) during your development phase.
Happy/unhappy path testing
During the development process, it is also wise to record what successful and unsuccessful outcomes are possible and how to trigger those behaviors. Having repeatable test scripts to periodically check your system will be valuable.
Allow only the minimum required ports (e.g., 80, 443, 22 and possibly 8150 if needed for swagger API access).
Restrict SSH access to trusted IPs.
DDoS protection - Implement request-rate limiting on ingress with a cloud-native tool like Cloud Armor.
Monitoring
Implement real-time monitoring for at least the following:
CPU
memory
disk space
network behavior
Daily Checks
A daily smoke test helps ensure that your services are always available for your customers.
OS Security
Apply all OS security patches regularly
Access control
Limit the number of users with access to the server (but have at least two).
Enforce MFA for all admin accounts.
Backups
Automated daily backups.
FAQs provide guidance in an easy-to-digest format.
Signage is often necessary where solutions have a physical presence.
Promotion can be key to the success or failure of a new solution launch. If the public is unaware of or doesn’t understand the new offering, it may fail to meet utilization goals.
Marketing and sales materials are important for solutions that need to be sold before they are utilized by end users.
{
"attr_names": [
"user_email",
"username",
"user_id",
"user_roles"
],
"name": "User",
"version": "1.0"
}The Indicio Holdr SDK (Software Development Kit) supports Android and iOS platforms and provides holder capabilities that are compatible with many Aries protocols. Consumption of the Holdr SDK will allow an application to have its own Aries Askar wallet for holding digital credentials that conform to the Anoncreds specification, communicate with ledgers through IndyVDR, and generate zero trust proofs for information verification through Anoncreds-RS.
Did Exchange 1.0
Out Of Band 1.1
Coordinate Mediation 1.0
Pickup 2.0
Issue Credential 2.0
Present Proof 2.0
Did:Peer:1
Did:Peer:2
Did:Key
Anoncreds
Sudo Typescript syntax is used to express the API. Any parameter that could be undefined is optional in Kotlin and React Native. Due to limitations with Swift code generation, not all Swift functions have default parameters when a value is optional and will need to have nil provided explicitly. A function using the await keyword is async in React Native and Swift and suspended in Kotlin.
Starts the agent and connects to the default mediator if a mediation configuration is provided.
Stops all even listeners and websockets and properly closes the wallet’s database files, so the agent can be used later.
Deletes the agent and all data associated with it, essentially resetting the wallet.
Sends a didExchange request to the agent associated with the provided out-of-band record.
Completes the didExchange handshake by sending a complete message to the agent associated with the provided didExchangeId.
Used when the auto-accept connection is disabled on the agent. This function is used to complete the started didExchange process once an out-of-band invitation has been processed, and a didExchange record is created but not auto-accepted.
Used to send a trust ping to another agent to ensure we can reach the agent.
Waits until the provided didExchangeId reaches a state of Done or until the provided timeout is reached.
Retrieves all didExchange records.
Finds all records that have tags matching the given query.
Retrieves the record with the provided ID or throws a RecordNotFoundError.
Finds the record with the given ID or returns null if not found.
Deletes the record with the given ID or throws RecordNotFoundError if it does not exist.
Finds all records associated with the given out-of-band ID.
Finds the record associated with the provided Did.
Finds the record whose invitation contained the provided Did.
Creates an out-of-band invitation and corresponding out-of-band record that is returned.
Parses a URL encoded invitation into an OutOfBandInvitationMessage.
Processes the provided invitation and potentially starts or completes didExchange protocol.
Processes an invitation where the invitation message is not present and the agent is implicitly invited.
Accepts the invitation of an existing out-of-band record. It is not commonly used.
Finds the out-of-band record with the corresponding invitation ID, or returns null.
Finds the out-of-band record that corresponds to the invitation with the given ID that we have created, or returns null.
Retrieves all of the out-of-band records held by the agent.
Retrieves all out-of-band records that match the provided query.
Retrieves the record with the provided ID or throws RecordNotFoundError.
Finds the record with the given ID or returns null.
Deletes the record with the given ID or throws RecordNotFoundError if no such record exists.
Finds all credentials whose schema ID matches the provided schema ID.
Sends a proposal to the connection with the associated didExchangeId that we want the specified credential from.
Accepts the offer associated with the provided credential exchange record.
Accepts the issue credential and saves it to the agent's wallet.
Finds the record with the given ID or returns null.
Finds all credentials whose exchange state matches the provided state.
Finds all records whose state matches the given state and came from the connection associated with the given didExchangeId.
Retrieves all of the credentialExchangeRecords.
Finds the credential exchange record that has matching threadId and didExchangeId (optional) or returns null.
Retrieves the credential exchange record that has matching threadId and didExchangeId (optional): otherwise it throws RecordNotFoundError.
Attempts to auto-accept the proof with the provided ID from the provided didExchange connection, it will throw ProvenError if the proof cannot be satisfied.
Accepts the given proof using the provided credential selections, it will throw ProvenError if the credential selection is invalid or insufficient.
Retrieves a mapping of proof requests to valid credentials for the request that require further selection. Throws RecordNotFoundError if the proof cannot be satisfied with the agent's current credentials.
Finds credentials that satisfy the proof request and automatically selects valid credentials if there are multiple options. Throws RecordNotFoundError if the proof cannot be satisfied with the agent's current credentials.
Retrieves the proof records for a given connection from the didExchange ID.
Starts or resumes the mediation to the default mediator. Called in agent.start by default.
Instructs the agent to attempt to pick up messages from the provided mediator record or the default mediator if not provided.
Finds the default mediator if one is set, otherwise returns null.
Finds the default mediator’s record. If the default mediator is found but not granted, this will throw ProvenError.
Sets the default mediator.
Requests mediation from the given didExchange connection.
Retrieves the mediation record with the provided didExchange ID or throws RecordNotFoundError.
Finds the mediation record with the given didExchange ID or returns null if not found.
Retrieves all of the meditation records.
Finds the didExchange record for the default mediator or returns null if not found
Attempts to complete the mediation request from the provided didExchange record in the given time. If it doesn’t complete, it will throw CancellatinException.
Retrieves the routing for this mediator. This is not available in React Native.
Sends a basic message to another connection.
Finds a basic message record by ID.
Retrieves all basic messages.
Finds all basic messages with matching comments.
Finds all basic messages from the recipient.
Finds all basic messages that match the role.
React Native events take a callback function and return a function to remove the callback.
The events that can have a handler registered are:
registerDidExchangeHandler
registerProofsHandler
registerCredentialsHandler
registerAgentHandler
Directly retrieve the event flow and use Kotlin's flow API using the events API. There is also a provided co-routine context on the events object.
The events that can be retrieved in Kotlin are the following:
getDidExchangeEvents
getAgentEvents
getCredentialEvents
getEventBusEvents
The following methods wrap events so you can easily listen to them without a third-party library or if you are using Objective-C:
onDidExchangeStateChanged
onCredentialStateChanged
onTrustPingEvent
onAgentEvent
Swift
registerBasicMessageHandler
registerRecordHandler
registerWebSocketHandler
getMessageEvents (Events for all messages)
getProofEvents
getBasicMessageEvents
getTrustPingEvents
getWebSocketEvents
onRecordEvent
onProofEvent
onWebsocketEvent
onBasicMessageEvent
await agent.start(
timeout: 10_000 // Optional -- time limit in MS to connect to mediator
)await agent.stop()await agent.delete()const didExchangeRecord = await agent.didExchange.acceptOutOfBandInvitation(
outOfBandRecord: OutOfBandRecord, // Record id (String) in React Native
autoAcceptConnection: Boolean | undefined,
label: String | undefined,
alias: String | undefined,
routingParam: Routing | undefined // Not available in React Native
)const didExchangeRecord = await agent.didExchange.acceptResponse(
didExchangeId: String
)const didExchangeRecord = await agent.didExchange(
didExchangeId: String,
outOfBandId: String,
routingParam: Routing | undefined // Not available in React Native
)const trustPingMessage = await agent.didExchange.sendPing(
exchangeId: String,
responseRequested: Boolean,
returnRouting: Boolean
)const didExchangeStateChangedEvent: DidExchangeStateChangedEvent? = await agent.didExchange.returnWhenIsConnected(
didExchangeId: String,
timeOutMs: Number | Long
)const records: Array<DidExchangeRecord> = await agent.didExchange.getAll()const records: Array<DidExchangeRecord> = await agent.didExchange.findAllByQuery(
query: Query // Record<String, String> in React Native. Malformed Query will throw
)const record = await agent.didExchange.getById(
didExchangeId: String
)const record: DidExchangeRecord? = await agent.didExchange.findById(
didExchangeId: String
)await agent.didExchange.deleteById(
didExchangeId: String
)const records: Array<DidExchangeRecord> = await agent.didExchange.getAllByOutOfBandId(
outOfBandId: String
)const record: DidExchangeRecord? = await agent.didExchange.findByDid(
did: String
)const record: DidExchangeRecord? = await agent.didExchange.findByInvitationDid(
did: String
)const record = await agent.outOfBand.createInvitation(
label: String | undefined,
alias: String | undefined,
goalCode: String | undefined,
goal: String | undefined,
handShake: Boolean | undefined,
messages: Array<BaseMessage> | undefined,
multiUseInvitation: Boolean | undefined,
autoAcceptConnection: Boolean | undefined,
routingParam: Routing | undefined, // Not available in React Native
appendedAttachment: Array<Attachment> | undefined
)const message = agent.outOfBand.parseInvitation(
invitationUrl: String
)const invitationResponse = await agent.outOfBand.receiveInvitation(
invitation: OutOfBandInvitationMessage,
label: String | undefined,
alias: String | undefined,
autoAcceptConnection: Boolean | undefined,
reuseConnection: Boolean | undefined,
routingParam: Routing | undefined, // Not available in React Native
acceptInvitationTimeOutMs = Number | Long | undefined
)const invitationResponse = await agent.outOfBand.receiveImplicitInvitation(
label: String | undefined,
alias: String | undefined,
autoAcceptConnection: Boolean | undefined,
reuseConnection: Boolean | undefined,
routingParam: Routing | undefined, // Not available in React Native
acceptInvitationTimeOutMs: Number | Long | null,
did: String,
handShakeProtocol: Array<String> | null
)const invitationResponse = await agent.outOfBand.acceptInvitation(
outOfBand: String,
autoAcceptConnection: Boolean,
reuseConnection: Boolean,
label: String,
alias: String | null,
routingParam: Routing | null,
timeOutMs: Number | undefined
)const record: OutOfBandRecord? = await agent.outOfBand.findByReceivedInvitationId(
receivedInvitationId: String
)const record: OutOfBandRecord? = await agent.outOfBand.findByCreatedInvitationId(
createdInvitationId: String
)const records: Array<OutOfBandRecord> = await agent.outOfBand.getAll()const records: Array<OutOfBandRecord> = await agent.outOfBand.getAllByQuery(
query: Query // Record<String, String> in React Native. Malformed Query will throw
)const record = await agent.outOfBand.getById(
outOfBandId: String
)const record: OutOfBandRecord? = await agent.outOfBand.findById(
outOfBandId: String
)await agent.outOfBand.deleteById(
outOfBandId: String
)const records: Array<CredentialRecord> = await agent.credentials.findAllCredentialsBySchemaId(
schemaId: String
)const records: Array<CredentialRecord> = await agent.credentials.findAllCredentialsBySchemaId(
schemaId: String
)const record = await agent.credentials.acceptOffer(
credentialExchangeId: String,
autoAcceptCredential: Boolean | undefined,
comment: String | null | undefined
)const record = agent.credentials.acceptCredential(
credentialExchangeId: String
)const record: CredentialExchangeRecord? = await agent.credentials.findByRecordId(
credentialExchangeId: String
)const records: Array<CredentialExchangeRecord> = await agent.credentials.findAllByState(
state: CredentialState
)const records: Array<CredentialExchangeRecord> = await agent.credentials.findAllByStateAndDidExchangeId(
state: CredentialState,
didExchangeId: String
)const records: Array<CredentialExchangeRecord> = await agent.credentials.getAll()const record = await agent.credentials.findByThreadIdAndDidExchangeId(
threadId: String,
didExchangeId: String | null
)const record = await agent.proofs.autoAcceptProof(
proofId: String,
exchangeId: String
)const record = await agent.proofs.acceptProof(
proofData: PresentationData
)const creds = await agent.proofs.getCredentialsForProofRequest(
proofId: String,
exchangeId: String,
nonRevoked: Boolean | undefined
)const creds = await agent.proofs.autoSelectCredentialsForProofRequest(
proofId: String,
exchangeId: String,
nonRevoked: Boolean | undefined
)const records: Array<ProofRecord> = await agent.proofs.getProofRequestsForConnection(
didExchangeId: String
)await agent.routing.initialize()await agent.routing.initiateMessagePickup(
mediator: MediationRecord | null | undefined // Record id is used in React Native
)const record: MediationRecord? = await agent.routing.findDefaultMediator()const record: MediationRecord? = await agent.routing.discoverMediation()const record = await agent.routing.setDefaultMediator(
mediation: MediationRecord | String // Provide the record or the record id. React native only uses Id
)const record = await agent.routing.requestMediation(
didExchange: DidExchangeRecord | String // Provide the record or the record id. React native only uses Id
)const record = await agent.routing.getByExchangeId(
exchangeId: String
)const record: MediationRecord? = await agent.routing.findByExchangeId(
exchangeId: String
)const records: Array<MediationRecord> = await agent.routing.getMediators()const record: DidExchangeRecord? = await agent.routing.findDefaultMediatorExchange()const record: MediationRecord? = await agent.routing.provision(
didExchangeRecord: DidExchangeRecord,
timeOutMs: Number | Long | undefined
)const routing = await agent.routing.getRouting(
mediatorId: String,
useDefaultMediator: Boolean | undefined
)const sentMessageRecord = await agent.basicMessages.send(
didExchangeId: String, // ID of target
content: String, // Message content to be sent
locale: String = "en", // L10nDecorator version (defaults to "en")
comment: String? // Comment on message
)const basicMessage = await agent.basicMessages.findById(
basicMessageRecordId: String // Record ID to be retrieved
)const basicMessages = await agent.basicMessages.getAll()const basicMessages = await agent.basicMessages.findByComment(
comment: String // Comment to search for
)const basicMessages = await agent.basicMessages.findByDidExchangeId(
didExchangeId: String // Exchange ID to look for
)const basicMessages = await agent.basicMessages.findByRole(
role: BasicMessageRole // Role to look for
)const remove = agent.events.registerDidExchangeHandler((event) => {
console.log("Got a didExchange event")
})
remove() // cancels the event callback/ May not be defined if there were issues with agent initialization
val didExchange: DidExchangeEvents? = agent.events.getDidExchangeEvents()
agent.events.scope.launch {
didExchange.events.onEach{
println("Got a didExchange event")
}.collect() // Make sure to call collect or events will not be processed
}
let removeListener = agent.events.onDidExchangeStateChanged { event in
// Handle DidExchangeStateChangedEvent here
}
// Remove listener when no longer needed
removeListener(nil)
All “v1” APIs require an “x-api-key” header to be set on the request. The “x-api-key” is not just used for authorization; it’s also used to determine which wallet will complete the request.
Proven supports a multi-tenant environment by default, even if you only intend to use a single wallet for this installed agent. Each wallet is identified by a wallet ID. Because these wallet IDs are linked to the API key(s) you will create, you don’t have to pay close attention to the wallet ID when using the API.
Proven can support multiple instances and various configurations of decentralized identity software on a single machine. Each software installation is referred to as an agent, and each logical subdivision of the software is referred to as a wallet; in other words, one installation can be configured to act as several independent copies of decentralized identity software. This concept of having multiple software units running independently on the same machine is called multi-tenancy.
Proven manages multi-tenancy by associating each wallet with a user group and allowing the administrator to assign users to groups (and thereby wallets). Thus, each installation can have multiple wallets, multiple users per wallet, and multiple wallets per user.
Wallet authentication in Proven is handled via OpenID Connect, and the user's group is determined by the IAM service (Keycloak is the default for Proven). The IAM service provides the user's group and permissions, which Proven uses to determine the appropriate wallet for the user's operations.
To log in, navigate to http://your-domain-name.com/auth/login. You will be redirected from Proven to a Keycloak login page, where you will log in with the user “indicio” and password “adminadminadmin”. After successful authentication, you will be redirected back to Proven. Keycloak will pass an OpenID Connect token, which will log the user in automatically. You will then see the Proven dashboard with the user “indicio” logged in.
To manage wallets and their API keys, navigate to the Proven “Multi-tenancy” page. Click “Create Subwallet” to generate a new wallet.
To create an API key, select the wallet to which the new API key will belong from the drop-down menu and check the roles that the API key will have. After creation, store the API key and its ID securely (this is the only time that the API key will be available). To revoke an API key, use the API key ID and Wallet ID to indicate which API key will be revoked.
Proven-UI does not have any pages for managing users. To manage users, you must use the Keycloak admin console. The linking of users to wallets requires the group ID entered into Keycloak.
To add users to a new wallet, follow these steps:
Create a New Group in Keycloak:
Select the “Indicio Proven Realm”
Click on “Groups” in the left menu
Click on the “Create group” button and name the group. The group name must match the wallet name that was created
By following these steps, the new user group and its associated users will be created and associated with the specified wallet.
In addition to an administrative UI, Proven offers an API for the programmatic execution of agent operations. Its OpenAPI specification can be found at of the server you are working with.
Proven uses API keys to authenticate requests to the API and authorize the API user's access to the requested resource. Proven uses the API key to determine the user's group and permissions, which are used to determine the appropriate wallet for the user's operations.
To use API keys, you must set the following environment variable:
To create a new API key, you will need the base wallet API key. The base wallet API key is used to create wallets and their associated API keys. It can be found in the .env file as PROVEN_API_KEY.
Once you have the base wallet API key, you will need to be authorized before you can create new API keys.
Click the “Authorize” button at the top right of the page.
Enter the API key in the “Value” field.
Click the “Authorize” button.
Wallet API keys are used to authenticate requests to the Proven API. To create a new API key using Swagger, navigate to .
Create a new wallet if it is not already created.
Navigate to the API Keys tab and click the “Create API Key” button.
Enter the wallet_id for the wallet to which the API key will belong.
Click the “Create” button.
The API key will be displayed in the table. Copy the API key and store it securely.
API keys are not stored by Proven; after the first creation of the key, there is no way to retrieve it. If the API key is lost, a new one must be created. Proven API requests must include the key in the request headers.
API keys have associated roles, which determine multitenancy privileges in the following manner:
super-admin: Can create and revoke API keys for any wallet with any set of roles
admin: Can create and revoke API keys in their wallet for any set of roles that are the same or a subset of its own
technician and other limited roles: Have no multitenancy privileges
User Requests API Key: The user requests to generate an API key.
Generate Random String: The API generates an opaque random string using a secure random source.
Present API Key: The API presents the random string (API key) to the user.
Store API Key Securely: The user stores the API key securely.
Internal: Accessible using the Base API Key
Wallet creation
API Key creation and revocation
External: Accessible through the use of wallet API Keys (which are created by the Base API Key for a particular wallet) or by a User in the Proven UI (which accesses information via the Proven WS API)
This endpoint creates a Basic Message record that handles sending messages to currently active connection(s) or future active connection(s) until the request record reaches a completed state.
Response Body Information:
This endpoint fetches all Basic Message records.
Request Body Information:
No request body
The response body is an array of records. The following information is the data of each record:
This endpoint fetches a Basic Message record by its ID.
Request Body Information:
No request body
This endpoint fetches all connections, and includes parameters for pagination purposes.
No request body
The response body has three sections:
Params: The pagination and sorting parameters
"sort": “DESC”
"pageSize": "10"
"currentPage": 1
This endpoint fetches a connection record by its connection_id.
Request Body Information:
No request body
This endpoint saves a JSON-LD context file.
Credentials
This endpoint creates an Issuance request record that handles issuing credentials (JSON-LD) for currently active connection(s) or future active connection(s) until the request record reaches a completed state.
This endpoint fetches a credential (JSON-LD) Issuance request record by its request_id.
Request Body Information:
No request body
This endpoint creates an Issuance request record that handles issuing credentials (AnonCred) for currently active connection(s) or future active connection(s) until the request record reaches a completed state.
The response body is an array of records. The following information is the data of each record:
This endpoint fetches a credential Issuance record by its request_id.
Request Body Information:
No request body
This endpoint fetches all Credential records.
Request Body Information:
No request body
The response body is an array of records. The following information is the data of each record:
This endpoint fetches a Credential record by its credential_definition_id.
Request Body Information:
No Request body
This endpoint creates a new decentralized identifier (DID).
Request Body Information:
No request body
This endpoint sets a public decentralized identifier (DID).
Request URL Parameters Information:
Request Body Information:
No request body
Sample URLs:
This endpoint verifies multiple email addresses using the SMTP configurations.
This endpoint creates a new invitation of type OOB or CV1.
Invitation with connection reuse:
Invitation without connection reuse:
Invitation with multi-use:
This endpoint accepts an invitation of type CV1 or OOB.
This endpoint fetches all invitations, and includes parameters for pagination purposes.
Requests URL Parameters Information:
URL parameters should be hyphen-separated in case they ever interact with a system that needs to be search-engine-indexed.
Response Body Information:
The Response Body has three sections:
Params: The pagination and sorting parameters:
"sort": “DESC”
pageSize": "10"
"currentPage": 1
This endpoint fetches a single invitation record by its invitation_id.
Request Body Information:
No Request Body
This endpoint updates an existing invitation record by using its invitation_id.
Request Body Information:
The following fields can be selectively provided:
This endpoint deletes an invitation record by providing its invitation_id.
This endpoint fetches all presentation records.
Request Body Information:
No Request Body
The response body is an array of records. The following information is the data of each record:
This endpoint fetches a presentation record by its presentation_exchange_id.
This endpoint fetches the Transaction Author Agreement (TAA) from the ledger configured in the Proven environment (.env) file.
Request Body Information:
No Request Body
This endpoint accepts the Transaction Author Agreement (TAA) using the provided TAA data.
This endpoint creates a Verification (AnonCred) request record that handles verifying credentials for currently active connection(s) or future active connection(s) until the request record reaches a completed state.
The response body is an array of records. The following information is the data of each record:
This endpoint allows you to retrieve an AnonCred verification request record by its ID.
This endpoint creates a Verification (JSON-LD) request record that handles verifying credentials for currently active connection(s) or future active connection(s) until the request record reaches a completed state.
The response body is an array of records. The following information is the data of each record:
This endpoint fetches a JSON-LD verification request record by using its verification_id.
The response body is an array of records. The following information is the data of each record: