Configure Token in CLI

This guide walks you through the process of configuring in the CLI tool for secret validation and email reporting.

Configure Token in CLI

Now that you have your token, configure it locally

1

Install How2Validate dependency

Get the latest version from How2Validate Python Package Registry

pip install how2validate
2

Store via Command-Line

how2validate -token YOUR_GENERATED_TOKEN

This securely stores the token in your system’s keyring (e.g., macOS Keychain, Windows Vault, Linux SecretService). Banner

3

List Stored Token

how2validate -token list 

Banner

4

Update Stored Token

how2validate -token YOUR_NEWLY_GENERATED_TOKEN

Banner

5

Delete Stored Token

how2validate -token delete 

Banner