w3c-ccg / vc-api-issuer-test-suite

Test Suite for Issuers that implement the VC HTTP API

Home Page:https://w3c-ccg.github.io/vc-api-issuer-test-suite/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VC-API Implementations Secret

tsnyder-gs1us opened this issue · comments

When running the test suite locally how does a user get access to the client secret for a VC-API Implementation? For example in the Transmute Configuration file there is an environment variable called - CLIENT_SECRET_PLATFORM_TRANSMUTE_INDUSTRIES.
https://github.com/gs1us-technology/vc-api-test-suite-implementations/blob/main/implementations/Transmute.json

We are working on own VC-API Implementation and trying to better understand the process for how the test suite gets access to the defined secret keys?

You would provide it to the test suite as an env variable, so if your example implementation has CLIENT_SECRET_EXAMPLE if you provide export an env variable with export CLIENT_SECRET_EXAMPLE=yoursecret that should work.