Agent
The Agent
is the entry point into the Veramo framework. Using Veramo you create an Agent
and most of the functionality comes from plugins that you add to the configuration. We have included a set of plugins to get you started and they also serve as a guide to start writing your own plugins.
One of the most powerful features of Veramo plugin system is that it is composable. Every plugin has the ability to hook into other plugins making it a very flexibile and customisable architecture. You can learn more about our architecture here.
An Agent is responsibe for but not limited to:
- Creating Identifiers
- Resolving Identifiers
- Credential Issuance
- Credential Revocation
- Credential Exchange
- Secret Application Hot Sauce
The agent is the main class and when instantiated orchestrates the plugins; both core and custom. You can build plugins easily to support any standard you need and you can share or even sell & license them to others.
Methods defined in plugins are available on the agent instance eg:
If the agent is exposed as a REST interface the method will also be available using Open API. This is a cloud agent.
Configuration
An agent can be manually configured by installing plugins from npm, running a node application and creating a setup file to instatiate the agent class. You can also create a .yml
file with full configuration.
Here is a trimmed down version of the configuration file used for the standard cloud agent one click heroku deployment.