diff --git a/pages/scaleway-cli/quickstart.mdx b/pages/scaleway-cli/quickstart.mdx index aa519afa2f..ee733d4dc2 100644 --- a/pages/scaleway-cli/quickstart.mdx +++ b/pages/scaleway-cli/quickstart.mdx @@ -71,9 +71,11 @@ Refer to the [Scaleway CLI repository](https://github.com/scaleway/scaleway-cli) 1. Open a terminal and type the following command to configure the Scaleway CLI on your machine: ``` - scw init + scw login ``` + A browser windows opens and you can login using your Scaleway credentials. + If you have already configured the CLI, you will see a message like the following: @@ -93,41 +95,6 @@ Refer to the [Scaleway CLI repository](https://github.com/scaleway/scaleway-cli) 2. The following message displays: - ``` - Enter a valid secret-key: - ``` - - Enter your [API secret Key](/iam/how-to/create-api-keys/). - -3. The following message displays: - - ``` - Enter a valid access-key: - ``` - - Enter your [API access key](/iam/how-to/create-api-keys/). - -4. The following message displays: - - ``` - Choose your default organization ID: - ``` - - Enter the ID of the Organization that will be used by default. - -5. The following message displays: - - ``` - Choose your default project ID - - > default (-776f-4f65-a41e-6c5fc58b4076) - Test (-fc7f-4e0d-8cd9-0da41b2c8793) - ``` - - Select the Project that will be used by default using your keyboard's arrows. - -6. The following message displays: - ``` To improve this tool we rely on diagnostic and usage data. Sending such data is optional and can be disabled at any time by running "scw config set send-telemetry=false". @@ -136,7 +103,7 @@ Refer to the [Scaleway CLI repository](https://github.com/scaleway/scaleway-cli) Type `Y` or `n` according to your preference. -7. The following message displays: +3. The following message displays: ``` To fully enjoy Scaleway CLI we recommend you install autocomplete support in your shell. @@ -145,7 +112,7 @@ Refer to the [Scaleway CLI repository](https://github.com/scaleway/scaleway-cli) Type `y` or `n` according to your preference. -8. The following message displays: +4. The following message displays: ``` To enable autocomplete, scw needs to update your shell configuration. @@ -154,19 +121,19 @@ Refer to the [Scaleway CLI repository](https://github.com/scaleway/scaleway-cli) Press enter if the default shell type displayed is the one you are using. Otherwise, enter the correct shell type you are using. -9. The Scaleway CLI will now check if an SSH key is present in your local machine in the `id_ecdsa.pub`, `id_ed25519.pub`, and `id_rsa.pub` files. +5. The Scaleway CLI will now check if an SSH key is present in your local machine in the `id_ecdsa.pub`, `id_ed25519.pub`, and `id_rsa.pub` files. If a key is present, but not associated with the default Scaleway Project, the Scaleway CLI will add this key to the Project defined previously. Otherwise, the Scaleway CLI will either confirm that the key is already present in your Scaleway Project, or warn you that no key were found. Refer to the [dedicated documentation](/organizations-and-projects/how-to/create-ssh-key/) to create an SSH key. -10. The configuration is complete, and the message below displays: +6. The configuration is complete, and the message below displays: ``` Initialization completed with success. ``` -11. Run `scw help` to display the available commands: +7. Run `scw help` to display the available commands: ```bash $ scw help