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

Allow to use ~/.ovh.conf file to setup provider #10

Closed
mcanevet opened this issue Dec 20, 2017 · 1 comment
Closed

Allow to use ~/.ovh.conf file to setup provider #10

mcanevet opened this issue Dec 20, 2017 · 1 comment

Comments

@mcanevet
Copy link
Contributor

mcanevet commented Dec 20, 2017

OVH provides an ovh-cli tool that stores the credentials in ~/.ovh.conf in that format:

[default]
endpoint=ovh-eu

[ovh-eu]
application_key=<my_application_key>
application_secret=<my_application_secret>
consumer_key=<my_consumer_key>

[ovh-cli]

It would be great if the OVH provider could fetch credentials from this file.
For example:

provider "ovh" {
  profile = "ovh-eu"
}

Juste like the aws providers allows:

provider "aws" {
  profile = "my_profile"
}
@pvalois
Copy link

pvalois commented Feb 10, 2020

error is "profile ="
the correct syntax is :
endpoint : "ovh-eu"

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

2 participants