List pentest credentials
List the credentials provisioned for a pentest, optionally by kind.
Each item carries its kind and only that kind's keys.
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
Query Parameters
11 <= valuePage size. Values above 500 are clamped to it (or rejected, per the server configuration).
251 <= valueResponse Body
application/json
application/json
curl -X GET "https://api.ethiack.com/v1/pentests/string/credentials/"{
"total": 0,
"page": 0,
"per_page": 0,
"_links": {
"property1": "string",
"property2": "string"
},
"credentials": [
{
"id": 0,
"kind": "login",
"login_url": "string",
"username": "string",
"password": "string",
"sso_provider": "google",
"totp_secret": "string"
}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Remove a pentest credential DELETE
Remove a credential of any kind from a pentest. Absent, invisible, and other-pentest credentials all answer 404, so ids cannot be probed; 403 is only possible on a credential the caller can read but not delete.
Update a pentest credential PATCH
Rewrite a pentest credential to new values, within its kind. The body is the credential's **full** representation, `kind` included, as GraphQL's `updatePentestCredential` takes it: secrets are not kept back, so a field left out is cleared or refused rather than preserved. The kind cannot change — the credential is looked up as the kind sent, so an id of another kind is not found. The asset binding follows the new values. No one can update one holding an NTLM hash.