-
Notifications
You must be signed in to change notification settings - Fork 260
docs: replace curl examples with Scaleway CLI commands #5844
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
base: main
Are you sure you want to change the base?
Conversation
| export SCW_PROJECT_ID="<Scaleway Project ID>" | ||
| ``` | ||
|
|
||
| Then inject it in your API request: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Then inject it in your API request: | |
| Then inject it in your Scaleway CLI request: |
| validation: 2025-05-14 | ||
| tags: iot iot-hub io-hub-api api curl mqtt jq json | ||
| --- | ||
| import Requirements from '@macros/iam/requirements.mdx' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Github won't let me comment the lines 2 to 6: update mentions of API/curl to CLI
| In this tutorial we will use the API through the well known utility [curl](https://curl.haxx.se/). This will show you how to create Hubs and Devices, as well as more advanced features of the Scaleway IoT Hub: Hub Events and Routes. | ||
| In this tutorial we will use the Scaleway CLI. This will show you how to create Hubs and Devices, as well as more advanced features of the Scaleway IoT Hub: Hub Events and Routes. | ||
|
|
||
| The API reference is here: [IoT API](https://www.scaleway.com/en/developers/api/iot-hub/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Link CLI doc?
|
|
||
| ## Generate a DEK using the API | ||
|
|
||
| Paste the following command to create your data encryption key via the Key Manager API. Make sure that you replace the placeholder values with your own. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Paste the following command to create your data encryption key via the Key Manager API. Make sure that you replace the placeholder values with your own. | |
| Paste the following command to create your data encryption key via the Scaleway CLI. Make sure that you replace the placeholder values with your own. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not commenting other occurrences in order not to spam to much, but there seems to be a few similar API mentions left that should be replaced with the CLI
Your checklist for this pull request
Description
Please describe what you added or changed.