Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*: expand environment variables in config #627

Merged
merged 1 commit into from
Oct 25, 2016

Conversation

ericchiang
Copy link
Contributor

Allow users to define config values which are read form environemnt
variables. Helpful for sensitive variables such as OAuth2 client IDs
or LDAP credentials.

Allow users to define config values which are read form environemnt
variables. Helpful for sensitive variables such as OAuth2 client IDs
or LDAP credentials.
@rithujohn191
Copy link
Contributor

LGTM

@ericchiang ericchiang merged commit ff98164 into dexidp:dev Oct 25, 2016
@ericchiang ericchiang deleted the dev-expand-envs-in-config branch October 26, 2016 17:16
ericchiang pushed a commit to ericchiang/dex that referenced this pull request Nov 4, 2016
Bcrypt'd hashes have "$" characters in them. This means that dexidp#667
(accepting actually bcrypted values) combined with dexidp#627 (expanding
config with environment variables) broke the example config.

For now, allow storages and connectors to expand their configs from
the environment, but don't do this anywhere else.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants