Skip to content

Axilock Secret Prevention

Installation

Run the following command to install Axilock Secret Prevention:

curl -L https://get.axilock.ai | sh

Installation will require authentication with your Axilock account via your VCS (GitHub, GitLab, Bitbucket, etc.).

Usage

Once installed and logged in, axilock secret prevention will automatically scan your commits on every push to your repository. If any secrets are found, the push will be rejected and you will be notified.

Bypass

In cases where you intentionally want to push a commit with a secret (for whatever reason) , you can use git's --no-verify flag to bypass the Axilock prevention check.

Warning

It is is not recommended to bypass secret prevention as it can lead to compromised credentials and security breaches.

Example:

git commit -m "Add secret" --no-verify