Cannot resolve variable 'env:MYVAR' (enableSubstitutionInVariables=true)
See original GitHub issueHi,
- I had setup env variable in docker container running keylcoak.
- I had setup audience mapper:
"name" : "test.${env:MYVAR}.test.local", "protocol" : "openid-connect", "protocolMapper" : "oidc-audience-mapper", "consentRequired" : false, "config" : { "id.token.claim" : "true", "access.token.claim" : "true", "included.custom.audience" : "test.${env:MYVAR}.test.local" } - Running import triggers:
4341 --- [ main] d.a.k.config.KeycloakConfigRunner : Cannot resolve variable 'env:MYVAR' (enableSubstitutionInVariables=true).
Is it something that I misuderstood and doing wrong?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Variable substitution not working? · Issue #240 - GitHub
I'm trying to use variable substitution to script out a realm.json file for automated deployments, but the CLI doesn't substitute environment ...
Read more >Issue in overriding config with env variables in dropwizard
1 Answer 1 ... Your environment variables are not propagated. There is no automatic propagation from your system to the IDE you were...
Read more >Substituting variable values | Cloud Build Documentation
Substitutions are helpful for variables whose value isn't known until build time, or to re-use an existing build request with different variable values....
Read more >Maven: cannot resolve environment variables : IDEA-96358
The problem persists in 2018.2 - environment variable properties should be ignored in non-active profiles.
Read more >Serverless Framework Variables
opt:stage, 'dev'}.json):CREDS} variable and it will resolve the ... To reference environment variables, use the ${env:SOME_VAR} syntax in your ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’m looking at your url, do you execute
keycloak-config-clioutside of the container?Since the
var-substitutionis resolved locally, the env var needs to be available where var-substitution runs.@todeb any improvements to the docs to avoid such a misunderstanding?