trustee
trustee copied to clipboard
AS: accessing configuration from verifiers
I would like to use the AS configuration file to describe the parameters for my verifier.
Something like:
{
"//": "global AS config"
"work_dir": "...",
"//": "per-verifier stanzas"
"verifiers": {
"cca": {
"veraison": {
"endpoint": "https://veraison.example/challenge-response/v1/newSession",
"api-token": "/path/to/api/token.jwt"
"tls-config": {
"ca-certs": "/path/to/ca.pem",
"//": "etc."
}
}
}
}
}
At present, this is not supported. Is that a conscious design decision, or is it because no one had this need before?
A (less intrusive) alternative would be to have a separate configuration file and pass it to my verifier in an environment variable.
Would such an approach be preferable?