Scaleway User Data API
User data is a key/value store you can use to provide your instance with introspective data.As an example of use, Scaleway images contain the `scw-generate-ssh-keys` script, which generates the SSH server’s host keys, then stores their fingerprints as user data under the `ssh-host-fingerprints` key.This way, before connecting to the instance using SSH, one can query the fingerprints to ensure that the remote host is the expected one, thus avoiding any man-in-the-middle attack.There are two ways of accessing user data: - **From within a running Instance**, by requesting the Metadata API at http://169.254.42.42/user_data(or http://[fd00:42::42]/user_data using IPv6). The `scaleway-ecosystem` package, installed by default on all OS images provided by Scaleway, shipswith the `scw-userdata` helper command that allows you to easily query the user data from the instance. For security reasons, viewing and editing user data is only allowed to queries originating froma port below 1024 (by default, only the super-user can bind to ports below 1024). To specify the source port with cURL, use the `--local-port` option (e.g. `curl --local-port 1-1023http://169.254.42.42/user_data`). - **From the Instance API** by using the methods described below.
Scaleway User Data API is one of 74 APIs that Scaleway publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include User Data. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.
This API exposes 4 operations across 2 paths, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version v1.
Requests are made against a single base URL, https://api.scaleway.com.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Scaleway User Data API declares
1 security scheme
for authenticating requests.
An API key is passed in the header as X-Auth-Token (scaleway).
Paths & Operations 4
Across 2 paths, the API surfaces 4 operations — 1 DELETE, 2 GET, 1 PATCH. Each is listed below with its method, path, parameters, and response codes.
User data is a key/value store you can use to provide your instance with introspective data. As an example of use, Scaleway images contain the scw-generate-ssh-keys script, which…
Schemas 2
The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are scaleway.std.File (3 properties), scaleway.instance.v1.ListServerUserDataResponse (1 property). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Scaleway 12
Other APIs Scaleway publishes across the network.
This is an independent, third-party profile of Scaleway User Data API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.