Platform

Platform overview How it works Authorization testing Evidence & reports Private scanning Integrations

Solutions

Security agencies Product teams Regulated industries Partner programme

Learn

Blog Knowledge hub Compare

Resources

Pricing Documentation Help centre FAQ Security & data What we haven’t proved

Company

About Contact Careers Sign in to the platform Start a $199 pilot →

Home / Blog / Tutorials / How to connect a cloud key vault to Cyberlop

Tutorials

How to connect a cloud key vault to Cyberlop

Cyberlop can read scan credentials from your own vault through a service principal. Here is the form, field by field, with Verify, Save and safe set-up.

Cyberlop Labs · Updated · 7 min read

Illustration for How to connect a cloud key vault to Cyberlop
Quick answer

To connect a cloud key vault to Cyberlop, open Integrations, choose the key vault tab, enter a Name, Tenant ID, Client ID and Client secret for a read-only service principal, click Verify, then Save. The client secret is encrypted at rest and never shown again.

Quick how-to
  1. Open Integrations Click Integrations in the sidebar.
  2. Choose the key vault tab Open the third tab, named for your cloud's key vault.
  3. Name the connection Enter a Name your team will recognise, such as Prod vault SP.
  4. Enter the identifiers Paste the Tenant ID and the Client ID of the service principal.
  5. Enter the client secret Paste the Client secret into the masked field.
  6. Verify Click Verify and wait for the result.
  7. Save If verification passes, click Save.
Key takeaways
  • The key vault tab on Integrations takes a service principal: Name, Tenant ID, Client ID and Client secret.
  • Click Verify before Save so wrong IDs or an expired secret show up now, not mid-scan.
  • The client secret is encrypted at rest and never shown again, so keep the original in your own vault.
  • Give the principal read access only, to the vault used for scans, in line with least privilege.
  • Saving needs the settings:update permission; rotate the client secret on a schedule.

The cloud key vault integration lets Cyberlop pull scan credentials from your own vault, so nobody has to paste them into a scan profile. You hand it a service principal (an identity for software, not a person) through a short form on the Integrations page, then click Verify and Save. Below you get each field, both buttons and a safe way to set it up.

What is the cloud key vault integration?

The key vault integration is the third tab on the Integrations page. The page describes it in one line: "Service principal Cyberlop uses to read scan credentials from a vault. The client secret is encrypted at rest and never shown again."

A key vault is a managed store for secrets such as passwords, tokens and keys. A service account (called a service principal in some clouds) is the identity software uses to prove who it is to that store. Cyberlop stores one such identity for your organisation. When a scan runs, it uses that identity to fetch secrets from the vault, so they never sit in a profile. This is one way to practise secrets management.

Integrations page key vault tab with Name, Tenant ID, Client ID and masked Client secret fields and Verify and Save buttons.
The key vault service-principal form. 1 Name: Give the service principal a recognisable name. 2 Tenant ID: Enter the tenant ID of the vault directory. 3 Save: Save the service principal after it checks out.. Sensitive details are blurred.

Why keep scan credentials in a vault?

Stolen credentials are the easiest way in. Verizon's 2025 Data Breach Investigations Report found that credential abuse (22%) and exploitation of vulnerabilities (20%) remain the leading initial attack vectors, and that breaches involving third parties doubled to 30%. A scan login copied into many profiles gives an intruder more places to find it.

The OWASP Secrets Management Cheat Sheet advises you to "centralize the storage, provisioning, auditing, rotation and management of secrets". With a vault, you rotate a password, check who read it and cut off access in one place. See also hardcoded secrets and key rotation.

Stat cards: credential abuse 22% of initial access; third-party involvement in breaches doubled to 30% (Verizon 2025).
Verizon 2025 DBIR: leading initial attack vector and third-party involvement. Source: Verizon: 2025 Data Breach Investigations Report news release.

What do you need before you start?

Before you open the form, check three things. You need a vault in your own cloud account. You need a service principal that can read from it. And your Cyberlop account needs the right permission. Cyberlop creates none of these for you.

Prerequisites checklist

  1. A key vault in your cloud account that holds the scan credentials you want Cyberlop to use.
  2. A service principal in your cloud identity service, with a Tenant ID, a Client ID and a client secret.
  3. Read access for that principal on the vault, and nothing wider.
  4. The settings:update permission in Cyberlop. Ask an admin if the form is not available to you.

Who can save the form?

The organisation-wide Verify route, POST /api/settings/verify-keyvault, requires settings:update, and saving the vault is part of PUT /api/settings, which needs the same key. A second route, POST /api/keyvault/verify, checks a connection and named secrets and needs profile:manage_credentials. Permission keys follow the area:action pattern; see API tokens and permissions.

What should the principal be allowed to read?

Give it read access only, and only to the vault, or the secrets, used for scans. The principle is least privilege: if the principal were ever exposed, it should open as little as possible. Do not reuse a principal that your applications use in production.

How do you connect a cloud key vault to Cyberlop?

You open Integrations, choose the key vault tab, fill in four fields and click Verify, then Save. Nothing is stored until you save.

  1. Click Integrations in the sidebar.
  2. Open the third tab, the one named for your cloud's key vault.
  3. Enter a Name your team will recognise. The placeholder is "Prod vault SP".
  4. Paste the Tenant ID and the Client ID of the service principal.
  5. Paste the Client secret. The field is masked.
  6. Click Verify and wait for the result.
  7. If verification passes, click Save.
Steps: open the key vault tab, enter name and IDs, enter client secret, click Verify, click Save.
From the Integrations page to a saved connection.

Field reference

The table lists every field on the form, as captured.

FieldWhat to enterNotes
NameA label for this connection, for example "Prod vault SP".Free text. Use a name that tells your team which vault and environment it serves.
Tenant IDThe directory or tenant identifier of your cloud account.The placeholder shows a UUID, 00000000-0000-0000-0000-000000000000.
Client IDThe application or client identifier of the service principal.Also a UUID. It identifies the principal; it is not the secret.
Client secretThe secret that belongs to the service principal.Masked. Encrypted at rest and never shown again.
VerifyButton. Tests the service principal.Run it before you save.
SaveButton. Stores the connection.Settings are saved with the organisation settings.

What does the form look like after you save?

The page states that the client secret "is encrypted at rest and never shown again". Cyberlop follows the same pattern for other stored secrets: you will not be able to read the secret back. If you need to change it, create a new secret for the principal in your cloud and enter it again. The captured pages do not show a separate edit view for this form, so check the tab in your own workspace.

What does Verify do?

Verify checks that the service principal works before you rely on it. The API reference describes the route as "Verify the key vault service principal", so a wrong Tenant ID, Client ID or client secret should show up here rather than in the middle of a scan.

The exact wording of the success and failure messages was not captured, so this guide does not quote them. If a check fails, work through these causes in order.

SymptomLikely causeWhat to do
Verify fails straight awayA typo in the Tenant ID or Client ID, or a stray space from copying.Paste both values again from your cloud console.
Verify fails after the IDs look rightThe client secret is wrong, expired or revoked.Create a new client secret in your cloud, enter it and verify again.
Verify passes but a secret is not foundThe principal cannot read that vault or secret.Check the principal read access on the vault, not Cyberlop settings.
The form is read-only or Save is refusedYour account lacks settings:update.Ask an admin for the permission, or ask them to enter it.

Common mistakes

  • Granting the principal write or admin rights "to make it work". Read-only is enough for reading credentials.
  • Letting the client secret expire without a reminder. Put the expiry date in your team's calendar.
  • Sharing one principal between Cyberlop and your own apps. A separate principal makes revocation safe.
  • Testing scan credentials that belong to an app you are not allowed to scan. Only use credentials for applications you own or are authorised to test.

How do you keep the vault connection secure?

Treat the service principal like any other credential: keep its access narrow, set a rotation date and keep a record of changes. Cyberlop encrypts the stored client secret. Everything else depends on your vault settings.

The Security page says stored credentials, including vault secrets, are encrypted with AES-256-GCM (AES-GCM), with the storage volume encrypted at rest. See encryption at rest for what that does and does not protect.

When should you rotate the client secret?

Rotate it on a schedule you set, and straight away if someone who knew it leaves or if you suspect exposure. The OWASP cheat sheet advises you to "regularly rotate secrets" so that a stolen credential stops working soon. In practice:

  1. Create a second client secret for the principal in your cloud.
  2. Open the key vault tab, enter the new client secret and click Verify.
  3. Click Save.
  4. Delete the old client secret in your cloud.

Why a client secret rather than a password?

A service principal authenticates the way software does. It presents its own credentials and gets access to the resources it controls. The OAuth 2.0 specification calls this the client credentials grant and says it "MUST only be used by confidential clients", meaning software able to keep its secret safe. Cyberlop stores the secret encrypted for that reason. For the same grant on scan profiles, see OAuth and OAuth client credentials.

Where is the change recorded?

The Activity feed records AI-provider and Git-token changes among other actions. The captured pages do not list vault changes there, so keep your own record and use your cloud's access log on the vault. Read activity feed for what the feed covers, and the audit log term for why it matters.

Vault, profile fields or CI secrets: which should you use?

Use the vault where you already keep secrets centrally. Use profile fields for a quick start. Use your CI tool's secret store for the two CI values only.

Where the secret livesBest forWatch out for
Cloud key vault (this guide)Teams that already manage secrets centrally and want rotation and access logs in one place.You must set up and maintain the service principal.
Scan profile fieldsQuick set-up. Form, header and OAuth secrets are stored encrypted and not shown again.Each profile holds its own copy, so a rotation means editing each one. See edit a scan profile.
CI secret storeCYBERLOP_URL and CYBERLOP_API_TOKEN for your pipeline.These are for the pipeline; they are not scan logins. See CI/CD integration.
Integrations page CI tab with a scan profile picker and the generated pipeline YAML for a code host.
The CI tabs sit beside the key vault tab on the same page. 1 Scan profile: Pick the profile the pipeline will run. 2 Copy: Copy the workflow file to your repo. 3 continue-on-error: true: Scan never blocks your build.. Sensitive details are blurred.

What comes next?

Once the connection is saved, decide which logins your scans need. Authentication roles explains privilege levels, and creating a scan profile shows where they go. Next step: set up chat notifications so your team hears when a scan ends.

What if it does not work?

Most failures come from the service principal, not from Cyberlop. Check the IDs, the client secret's expiry and the principal's read access on the vault, then verify again. If the form will not accept changes, check your settings:update permission. For anything else, contact your Cyberlop administrator.

Questions people ask

Cloud key vault integration: FAQs

What is the cloud key vault integration in Cyberlop?

It is a service-principal form on the Integrations page. Cyberlop uses the identity to read scan credentials from a vault in your cloud account, so they need not be pasted into scan profiles.

Which fields does the key vault form have?

Four: Name, Tenant ID, Client ID and Client secret. Two buttons sit under them: Verify and Save.

Do I need to click Verify before Save?

Yes, as good practice. Verify tests the service principal so that wrong IDs or an expired secret show up now, not during a scan.

Can I read the client secret back after saving?

No. The page says the client secret is encrypted at rest and never shown again. To change it, enter a new one and verify it.

Which permission do I need?

The organisation-wide verify route needs settings:update, and the route that checks named secrets needs profile:manage_credentials. Ask an admin if you lack them.

How often should I rotate the client secret?

Set a schedule that matches your own policy and rotate at once if you suspect exposure. Create the new secret, verify it in Cyberlop, save, then delete the old one.

Should the service principal have write access to the vault?

No. Give it read access to the vault or secrets used for scans, and nothing wider, in line with least privilege.

Does a vault replace the CI secrets?

No. CYBERLOP_URL and CYBERLOP_API_TOKEN still go in your CI tool's secret store. The vault holds scan credentials, not pipeline values.

Cyberlop mark

Need help connecting your vault?

Cyberlop can run on a schedule or in CI/CD, and it can run inside your own network so your code does not leave it. Ask us to run it on one of your applications.

Or start with a $199 pilot on one application: thirty days, success criteria agreed before day one, credited against the annual if you convert.