Create Credential
Parameters | Description | Type | Required |
---|---|---|---|
organization_uuid | The created organization in Medianova Cloud Panel unit ID value. | String | Yes |
name | Specifies the Stook credential name. | String | Yes |
is_readonly | Determines the Credental's authority. | Boolean | Yes |
buckets | Buckets connected to Credential are selected. | Array | Yes |
Payload
CODE
{
"name": "credential_test",
"is_readonly": true,
"buckets": [
"****-****-****-*****",
"****-****-****-*****",
"****-****-****-*****"
]
}
Response
CODE
{
"status": true,
"data": {
"uuid": "****-***-***-****",
"name": "credential_test",
"is_readonly": true,
"access_key": "hidden",
"buckets": [
{
"uuid": "****-***-***-****",
"organization_uuid": "****-***-***-****",
"name": "test",
"region": "eu-ist-1",
"size": "0B"
},
{
"uuid": "****-***-***-****",
"organization_uuid": "****-***-***-****",
"name": "test",
"region": "eu-ist-1",
"size": "0B"
},
{
"uuid": "****-***-***-****",
"organization_uuid": "****-***-***-****",
"name": "test",
"region": "eu-ist-1",
"size": "0B"
}
]
}
}