Native access¶
Connection details, clouds.yaml and console links for each location.
Paths are relative to your API address. See Authentication.
Request and response examples are generated from the schema; the tables under Schemas are the reference.
Download clouds.yaml¶
GET /
A clouds.yaml for the OpenStack CLI with an entry per location of the project, or for one location with placement. It holds no password or token: the CLI signs in through your browser.
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
Authorization |
header | string | N/A | No | Bearer followed by a service account's API key. The console uses your signed-in session instead. |
org_id |
path | string | No | ||
placement |
query | string | Yes | ||
project_id |
path | string | No |
Responses
Get connection details¶
GET /
The settings the OpenStack CLI and other tools need to sign in to this project in one location: sign-in address, region, identity provider, protocol, client and project ID. Contains no secret.
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
Authorization |
header | string | N/A | No | Bearer followed by a service account's API key. The console uses your signed-in session instead. |
org_id |
path | string | No | ||
placement_id |
path | string | No | ||
project_id |
path | string | No |
Responses
Get a console link¶
GET /
A link into the location's own web console for this project, or, with server, straight to that instance's page there. native_access says whether the caller can sign in to it.
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
Authorization |
header | string | N/A | No | Bearer followed by a service account's API key. The console uses your signed-in session instead. |
org_id |
path | string | No | ||
placement_id |
path | string | No | ||
project_id |
path | string | No | ||
server |
query | string | Yes |
Responses
Schemas¶
Connection¶
| Name | Type | Description |
|---|---|---|
auth_type |
string | The device-flow sign-in plugin. |
auth_url |
string | |
client_id |
string | |
discovery_endpoint |
string | |
identity_api_version |
integer | |
identity_provider |
string | null | |
interface |
string | |
location |
string | |
native_access |
boolean | Whether the caller holds a role that lets them in. |
project_id |
string | The project's ID in the location. |
protocol |
string | null | |
region |
string | null |
ConsoleLink¶
| Name | Type | Description |
|---|---|---|
deployment |
string | |
kind |
string | horizon or skyline. |
label |
string | Words for the link: `Open |
location |
string | |
native_access |
boolean | Whether the caller holds a role that lets them in. |
project_id |
string | The project's ID in the location. |
region |
string | null | |
url |
string | |
websso |
string | What the location's last check of the console's sign-in found. |
HTTPValidationError¶
| Name | Type | Description |
|---|---|---|
detail |
Array<ValidationError> |
ValidationError¶
| Name | Type | Description |
|---|---|---|
ctx |
||
input |
||
loc |
Array<> | |
msg |
string | |
type |
string |