Create a managed-service credential family
import requests
url = "https://platform.ankra.app/org/service-admission/credentials"
payload = { "name": "<string>" }
headers = {
"cookie": "ankra_session=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {cookie: 'ankra_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>'})
};
fetch('https://platform.ankra.app/org/service-admission/credentials', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/org/service-admission/credentials \
--header 'Content-Type: application/json' \
--cookie ankra_session= \
--data '
{
"name": "<string>"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"active_value_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Services
Create a managed-service credential family
Requires the applications rollout and live organisation membership. Metadata reads require applications.read; writes require applications.write, intersected with live PAT scope. Browser mutations require CSRF. No secret values or store paths are returned; all responses are no-store. This registry operation does not connect or restart a workload.
POST
/
org
/
service-admission
/
credentials
Create a managed-service credential family
import requests
url = "https://platform.ankra.app/org/service-admission/credentials"
payload = { "name": "<string>" }
headers = {
"cookie": "ankra_session=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {cookie: 'ankra_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>'})
};
fetch('https://platform.ankra.app/org/service-admission/credentials', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/org/service-admission/credentials \
--header 'Content-Type: application/json' \
--cookie ankra_session= \
--data '
{
"name": "<string>"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"active_value_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Authorizations
Browser session. Mutations also require X-Ankra-CSRF.
Body
application/json
Required string length:
1 - 63Pattern:
^[a-z][a-z0-9]*(-[a-z0-9]+)*$