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

Environment variable support for API & Secret keys #19

Closed
case opened this issue Jul 21, 2020 · 2 comments
Closed

Environment variable support for API & Secret keys #19

case opened this issue Jul 21, 2020 · 2 comments

Comments

@case
Copy link

case commented Jul 21, 2020

Could you add support for setting API and Secret keys via environment variables? I see this in your provider_test.go file already, but not in the actual provider functionality.

@nkatarmal-crest
Copy link
Contributor

It's already there, name of env variables are apikey and secretkey .

@robertomoutinho
Copy link

DefaultFunc: schema.EnvDefaultFunc("apikey", nil),

In theory the EnvDefaultFunc should be able to capture the environment variable apikey and secretkey... it would be great if they updated their docs and followed the uppercase convention when naming their env var inputs

RutvikS-crest added a commit that referenced this issue Sep 6, 2022
Use Terraform provider environment variable convention - fixes #19
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

No branches or pull requests

3 participants