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

Test Suite for Issuers that implement the VC HTTP API
https://w3c-ccg.github.io/vc-api-issuer-test-suite/
0 stars 7 forks source link

VC-API Implementations Secret #31

Open tsnyder-gs1us opened 2 years ago

tsnyder-gs1us commented 2 years ago

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?

mkhraisha commented 2 years ago

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.