This guide shows you how to configure your Vidos resolver service to support different DID methods and customize its behavior. You'll learn to enable and disable DID methods, test configuration changes, and optimize your resolver for your specific use cases.
Before configuring your resolver service, ensure you have:
By following this guide, you'll be able to:
Navigate to your resolver configuration settings in the dashboard.
Navigate to Resolvers in your dashboard.
Click "View" next to your resolver instance.
Find the "Configuration" section on the instance details page.
Review the currently enabled DID methods.
The configuration shows which DID methods are currently enabled in your instance (such as key, web, jwk, ethr, cheqd, ion).
Learn how to enable and disable different DID methods based on your requirements.
key
method).Verify your configuration changes work as expected. After disabling a DID method (e.g., key
):
did:key:z82LkvjLm5cfkWTvkm3RwyWNKb5awAXKRFZUDGjUhaXRAPE1Yx667dVszpiJTXMQsHRuZHN
After re-enabling the DID method:
key
method in configuration.did:key:z82LkvjLm5cfkWTvkm3RwyWNKb5awAXKRFZUDGjUhaXRAPE1Yx667dVszpiJTXMQsHRuZHN
Learn how to modify the content type format of DID resolution responses to meet your application requirements.
First, resolve a DID to see the current response format:
did:key:z82LkvjLm5cfkWTvkm3RwyWNKb5awAXKRFZUDGjUhaXRAPE1Yx667dVszpiJTXMQsHRuZHN
application/did+ld+json
format with JSON-LD context.Modify the response type to return standard JSON instead of JSON-LD:
contentType
setting (currently set to application/did+ld+json
).application/did+json
.Verify the response format has changed:
did:key:z82LkvjLm5cfkWTvkm3RwyWNKb5awAXKRFZUDGjUhaXRAPE1Yx667dVszpiJTXMQsHRuZHN
@context
field.Content-Type
header shows application/did+json
.Return to the default JSON-LD format:
contentType
setting back to application/did+ld+json
.By following this configuration guide, you can customize your Vidos resolver service to meet your specific requirements while maintaining optimal performance and reliability.