Forward API reference.
Description
Retrieves a single Credential from the specified Vault. Authentication information is returned in redacted form.
Path
GET /api/v1/forward/vaults/{id}/credentials/{cred_id}
Request headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <PAT or SAT> |
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Vault ID. |
cred_id | string | Yes | Credential ID. |
Example request
Example response
HTTP 200 OK
Response fields
The response is a Vault credential object. See Credential auth object for the variants selected by auth.type.
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 400 | invalid_request_error | The request body, path parameters, or query parameters are invalid. |
| 401 | authentication_error | The authentication token is missing or invalid. |
| 403 | permission_error | The caller cannot access this resource. |
| 404 | not_found_error | The resource does not exist or is not visible. |
| 500/502/503 | api_error | Forward or a dependent service failed. |