Method | URI | Description |
---|---|---|
GET | /v2.0/users/{userId}/OS-KSADM/credentials/OS-KSEC2:ec2Credentials | 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)
This table shows the header parameters for the get user credentials request:
Name | Type | Description |
---|---|---|
| String (Required) | A valid authentication token. |
This table shows the URI parameters for the get user credentials request:
Name | Type | Description |
---|---|---|
| String | The user ID. |
This operation does not require a request body.
Example 4.65. Get User Credentials: XML response
<?xml version="1.0" encoding="UTF-8"?> <ec2Credentials xmlns="http://docs.openstack.org/identity/api/ext/OS-KSEC2/v1.0" username="testuser" key="aaaaa" signature="bbbbb"/>
Example 4.66. Get User Credentials: JSON response
{ "OS-KSEC2-ec2Credentials":{ "username": "test_user", "secret": "aaaaa", "signature": "bbb" } }