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

Add possibility to pass custom environment variables to hooks #166

Closed
dol opened this issue Jun 3, 2016 · 1 comment
Closed

Add possibility to pass custom environment variables to hooks #166

dol opened this issue Jun 3, 2016 · 1 comment

Comments

@dol
Copy link

dol commented Jun 3, 2016

It would be very useful to have the possibility to pass custom environment variables to the hooks.

$ cat desired/mydomain.com
satisfy:
  names:
    - mydomain.com

request:
  challenge:
    env:
      - DNS_PROVIDER=cloudflare
      - DNS_PROVIDER_KEY=myuser
      - DNS_PROVIDER_KEY=apikey

In the hook script the environment variable could be used to perform a request to a specific provider with the given credentials.
The idea comes from TravisCI.

hlandau added a commit that referenced this issue Aug 7, 2016
Fixes #166.

©! I hereby licence these changes under the licence with SHA256 hash
©! fd80a26fbb3f644af1fa994134446702932968519797227e07a1368dea80f0bc.
hlandau added a commit that referenced this issue Sep 15, 2016
Fixes #166.

©! I hereby licence these changes under the licence with SHA256 hash
©! fd80a26fbb3f644af1fa994134446702932968519797227e07a1368dea80f0bc.
@dol
Copy link
Author

dol commented Sep 15, 2016

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants