doc: Display interactive login first in readme

Signed-off-by: Arthur Amstutz <arthur.amstutz@corp.ovh.com>
This commit is contained in:
Arthur Amstutz 2025-12-05 08:50:46 +00:00
parent 8a58508686
commit 2aa7c5aed2
No known key found for this signature in database
GPG key ID: F3C6FC59C43A6EF6

View file

@ -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 |