mirror of
https://github.com/ovh/ovhcloud-cli.git
synced 2026-01-11 19:46:33 +00:00
doc: Display interactive login first in readme
Signed-off-by: Arthur Amstutz <arthur.amstutz@corp.ovh.com>
This commit is contained in:
parent
8a58508686
commit
2aa7c5aed2
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
|
@ -143,6 +143,12 @@ OVHcloud CLI requires authentication to be able to make API calls. There are sev
|
|||
|
||||
Check out the [authentication page](./doc/authentication.md) for further information about the configuration and the authentication means.
|
||||
|
||||
* Interactive login:
|
||||
```sh
|
||||
# Log in and create API credentials (interactive)
|
||||
ovhcloud login
|
||||
```
|
||||
|
||||
* Using a configuration file:
|
||||
|
||||
Default settings can be set using a configuration file named `.ovh.conf` and located in your `${HOME}` directory.
|
||||
|
|
@ -171,12 +177,6 @@ OVH_CONSUMER_KEY=xxx
|
|||
OVH_CLOUD_PROJECT_SERVICE=<public cloud project ID>
|
||||
```
|
||||
|
||||
* Interactive login:
|
||||
```sh
|
||||
# Log in and create API credentials (interactive)
|
||||
ovhcloud login
|
||||
```
|
||||
|
||||
## Examples
|
||||
|
||||
| Task | Command |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue