GET /api/v1/cloud/vaults/{vault_id}/credentials/{credential_id}
Retrieves a single Vault credential. Secret values are never returned.
Path parameters
| Parameter | Type | Description |
|---|---|---|
vault_id | string | Vault ID with the vault_ prefix |
credential_id | string | Credential ID with the vcred_ prefix |
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer $QODER_PAT |
Example request
Example response
HTTP 200 OKErrors
| HTTP | Type | Trigger |
|---|---|---|
| 401 | TOKEN_INVALID | Missing or invalid authentication token |
| 404 | not_found_error | Vault or credential does not exist |
Related
Authenticate with vaults
Store and inject secrets safely into agent sessions.