List Credentials
Operation ID: listCredentials
List AWS Signature V4 key-pair credentials of the storage user
Request
URI
GET
https://{api_host}/api/v1/tenants/{tenantId}/users/{userId}/s3credentials
COPY
Path Parameters
string
tenantId
Required
The ID of the storage tenant to which the user belongs
string
userId
Required
The ID of storage user to which the AWS Signature V4 key-pair credenitials belong
Query Parameters
integer
offset
Optional
The start index of credentials to return
integer
limit
Optional
Maximum number of credentials to return
Responses
200
AWS Signature V4 key-pair credentials of the storage user are returned
Returns
PageOfS3Credentials
of type(s)
application/json
{
"items": [
{
"access_key": "00e4a3d674aada749f04",
"secret_key": "yz8PIwNjmm2zlHX8m7st6BSKh8PCe7bqAaRGkF5K",
"active": true,
"creation_date": "string",
"tenant_id": "acme",
"user_id": "961515dd-8348-4cac-8780-5edcb8a87b58",
"username": "rachelw",
"cd_user_id": "2b4d76d7-89fa-45fb-ab3e-3fa3bb268335",
"cd_tenant_id": "40b97e3c-c3b1-4251-b7de-e9637324683f"
}
],
"page_info": {
"limit": 0,
"offset": 0,
"total": 0
}
}
array of
object
items
Optional
items
object
page_info
Optional
page_info
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/v1/tenants/{tenantId}/users/{userId}/s3credentials