Databricks Authentication Token

ID

databricks_token

Severity

high

Vendor

Databricks

Family

API Token

Description

Databricks is a software company founded by the creators of Apache Spark. Databricks develops a web-based platform for working with Spark, that provides automated cluster management and IPython-style notebooks.

Tokens are used to authenticate the requests to the API that it provides to interact with the service.

Security

Any hardcoded Databricks Token is a potential secret reported by this detector.

Accidentally checking-in the key to source control repositories could compromise the Databricks account and data.

Examples

TOKEN=dapiccqrsTss2FL8JEI8CsYBvIKHItHZZLzI

Mitigation / Fix

  1. Remove the Token from the source code or committed configuration file.

  2. Follow your policy for handling leaked secrets, which typically require revoking the secret in the target system(s). Go to your user settings to revoke the token.

  3. If under a git repository, you may remove unwanted files from the repository history using tools like git filter-repo or BFG Repo-Cleaner. You may follow the procedure listed here for GitHub.

You should consider any sensitive data in commits with secrets as compromised.

Remember that secrets may be removed from history in your projects, but not in other users' cloned or forked repositories.