PlanetScale Token

Bridgecrew Policy ID: BC_GIT_58
Chekov Check ID: CKV_SECRET_58
Severity: LOW

PlanetScale Token

Description

PlanetScale offers a managed database platform that is designed for developers and developer workflows. The PlanetScale CLI allows developers to create development branches, open deploy requests, and make non-blocking schema changes directly from a terminal.

PlanetScale provides the ability to create service tokens for your PlanetScale organization via the CLI or directly in the UI. Service tokens are not recommended for connecting to production databases. Instead, connect securely to your database using PlanetScale connection strings.

Fix - Git

  1. Go to the service tokens page for your organization: app.planetscale.com//settings/service-tokens
  2. Click on the service token ID for the service token you would like to delete.
  3. Click on the "Delete service token" button in the upper right hand corner.
  4. Confirm deletion by clicking the "Delete" button in the pop-up modal.
  5. Deleting a service token will sever any database connections that use the given service token.

Did this page help you?