IBM-Cloud / terraform-provider-ibm

https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs
Mozilla Public License 2.0
341 stars 672 forks source link

Feature request: use configuration tokens from bx CLI #407

Open zenitraM opened 6 years ago

zenitraM commented 6 years ago

Right now, you have to manually set up both the Bluemix and SoftLayer API keys either manually on the provider definition, or passing them via environment variables, which makes setup a bit complicated (especially with complex Terraform trees that require the credentials to be passed around multiple places).

Other major cloud provider providers support reading the credentials from their respective CLI tooling (~/.aws/credentials) so that users don't need to setup anything apart from them (which is also made simpler as i.e bx and gcloud support logging in via a web-based Oauth flow).

Related to https://github.com/IBM-Cloud/terraform-provider-ibm/issues/133, I think.

jjasghar commented 6 years ago

This is a great UX feature request. Being GCP and AWS both already support this it’s safe to say it’s expected behavior.