Method | URI | Description |
---|---|---|
GET | /v2.0/users/{userId}/OS-RAX-KSKEY/credentials/{?marker,limit} | Lists 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)
This table shows the header parameters for the list credentials request:
Name | Type | Description |
---|---|---|
| String (Required) | A valid authentication token for an administrative user. |
| String (Required) | A valid authentication token for an administrative user. |
This table shows the URI parameters for the list credentials request:
Name | Type | Description |
---|---|---|
| String | The user ID. |
This operation does not require a request body.
Example 6.21. List Credentials: XML response
<?xml version="1.0" encoding="UTF-8"?> <credentials xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://docs.openstack.org/identity/api/v2.0"> <passwordCredentials username="test_user" password="test"/> <apiKeyCredentials xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSKEY/v1.0" username="testuser" apiKey="aaaaa-bbbbb-ccccc-12345678"/> </credentials>
Example 6.22. List Credentials: JSON response
{ "credentials":[{ "passwordCredentials":{ "username": "test_user", "password": "mypass" } }, { "RAX-KSKEY:apiKeyCredentials":{ "username": "test_user", "apiKey": "aaaaa-bbbbb-ccccc-12345678" } } ], "credentials_links":[] }