List Scaleway credentials
import requests
url = "https://platform.ankra.app/org/credentials/scaleway"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://platform.ankra.app/org/credentials/scaleway', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/org/credentials/scaleway \
--cookie ankra_session=[
{
"available": true,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"provider": "scaleway",
"system": true,
"created_at": "2023-11-07T05:31:56Z",
"health": {},
"state": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
]{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}Scaleway Credentials
List Scaleway credentials
Browser session authentication; RBAC permission credentials.read. Returns credential metadata only; access_key and secret_key are never returned.
GET
/
org
/
credentials
/
scaleway
List Scaleway credentials
import requests
url = "https://platform.ankra.app/org/credentials/scaleway"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://platform.ankra.app/org/credentials/scaleway', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/org/credentials/scaleway \
--cookie ankra_session=[
{
"available": true,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"provider": "scaleway",
"system": true,
"created_at": "2023-11-07T05:31:56Z",
"health": {},
"state": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
]{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}Authorizations
Browser session. Mutations also require X-Ankra-CSRF.