Get credentials for an RBS volume
GET/v1/remote_block_storage/volumes/{volume_id}/credentials
To get connection credentials for a volume, send a GET request to the /v1/remote_block_storage/volumes/{volume_id}/credentials endpoint. Specify volume's ID in the path parameter.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
| Field | Details |
|---|---|
volume_id | stringA unique identifier of an RBS volume. Use this request to list all volume IDs. |
Response Body
application/json
curl -X GET "https://example.com/v1/remote_block_storage/volumes/pmbk5ezJ/credentials"{ "volume_id": "pmbk5ezJ", "username": "user1", "password": "qwerty1234", "target_iqn": null, "ip_address": null}