Test accounts (grey-box testing)
Give Pentesys a test account so web application and API testing can go behind the login, with the credentials protected at every step.
Black-box and grey-box#
| Black-box | Grey-box | |
|---|---|---|
| How Pentesys tests | As an anonymous outsider, from the URL only. | Also signed in, checking what a logged-in user can reach, including other users' data. |
| What you provide | Nothing extra. | One or two test accounts. |
| Shown as | Black-box (URL only) | Grey-box (authenticated, test account provided) |
| Price | The same. | |
A second account with a different role, for example a standard user and an administrator, lets Pentesys test privilege escalation and access between roles. Test accounts apply to web application and API targets.
Adding a test account#
Add accounts in the booking (step Assets & access), or later in the engagement under Project details → Test accounts while the engagement is awaiting confirmation, live, in progress or in QA, until testing of that target has started.
- How does the test account sign in?
- Username and password, optionally with the Login page URL (on the same site as the target);
- Bearer token;
- API key, sent in a header or a query parameter, with the header or parameter name (for example
X-Acme-Key).
- Role label for each account, for example "Standard customer". Add a Second test account for role testing if you want one.
- Where is the test account kept? Enter it here (encrypted by Pentesys), or keep it in My Azure Key Vault or My AWS Secrets Manager where offered.
Limits: username up to 190 characters, password up to 500, token or key up to 4,000, no line breaks; at most two accounts per target.
Use a dedicated test account with the least access needed, preferably on a staging tenant with test data. Never use a real person's account, and disable the account after the engagement.
How Pentesys protects it#
- Write-only. Entered credentials are encrypted and never shown again, in the portal, emails, logs or reports. Screens show only "Credentials provided (2 accounts) · saved 03/11/2026".
- Released only to the test that needs it. The AI agent never sees the password or token itself: it receives a signed-in session through an opaque reference.
- Deleted automatically when the engagement reaches QA approved or the report is released, when you remove it, when the request is declined, or when the target is rejected. Anything left over from a finished or declined engagement is deleted by a daily clean-up.
Keeping it in your own vault#
Pentesys stores only where the secret is. It reads it once when you save (to check it) and again when testing starts. Store the secret as JSON:
{"username": "pentest-customer@acme.example", "password": "an-example-password"}
{"secret": "example-token-value"}
[
{"username": "pentest-customer@acme.example", "password": "an-example-password"},
{"username": "pentest-admin@acme.example", "password": "another-example-password"}
]
A bare value (not JSON) is also accepted for a token or key.
Azure Key Vault#
- Approve the Pentesys application in your tenant (the link is in Integrations).
- Grant it Key Vault Secrets User on the secret (or the vault).
- Tag the secret
pentesys-orgwith the value shown in the portal for your organisation. Untagged secrets are refused. - In the form, enter the tenant ID or domain, the Key Vault name and the secret name.
AWS Secrets Manager#
- Create a role that trusts Pentesys using the trust policy and external ID shown in the portal.
- Allow
secretsmanager:GetSecretValueon that one secret only. - In the form, enter the role ARN, the region (for example
eu-west-2) and the secret name or ARN.
If Pentesys cannot read the secret when testing starts, the target is tested without signing in (black-box) and the engagement says why.