A quick demonstration of using an external service for signing JSON-LD creds.
The External Provider component is added to ACA-Py in PR #2835.
The KMS Service used by this demo can be found here: dbluhm/mini-kms.
docker-compose build
docker-compose run demo
docker-compose down -v # Stop and clean up when you're done
You should be able to observe two requests to the kms
service by running:
docker-compose logs kms
There should be one request to the key generation endpoint and one to the signing endpoint.
Logs from the ACA-Py instance may also be of interest:
docker-compose logs issuer
See the package init for an example of instantiating and loading the External Provider in ACA-Py.
See provider.py to see the implementation of the External Provider itself.