Get User Credentials

 
MethodURIDescription
GET/v2.0/users/{userId}/OS-OS-KSS3/credentials/s3credentials

Gets user credentials.

Normal response codes: 200, 203

Error response codes: identityFault (400, 500, ), badRequest (400), unauthorized (401), forbidden (403), badMethod (405), overLimit (413), serviceUnavailable (503), itemNotFound (404)

 Request

This table shows the header parameters for the get user credentials request:

NameTypeDescription

X-Auth-Token

​String

(Required)

A valid authentication token.

This table shows the URI parameters for the get user credentials request:

NameTypeDescription

{userId}

​String

The user ID.

This operation does not require a request body.

 Response

 

Example 4.77. Get User Credentials: XML response

<?xml version="1.0" encoding="UTF-8"?>
<s3Credentials
    xmlns="http://docs.openstack.org/identity/api/ext/OS-KSS3/v1.0"
    username="testuser"
    key="aaaaa"
    signature="bbbbb"/>

 

Example 4.78. Get User Credentials: JSON response

{
    "OS-KSS3:s3Credentials":{
        "username": "test_user",
        "secret": "aaaaa",
        "signature": "bbb"
    }
}

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...