Skip to content

Credentials

Mauro Petrini edited this page Jun 14, 2021 · 1 revision

Credentials

Manage credentials to authenticate requests for Binance API.

Jump to:

Add credentials

Add Binance CLI's credentials (api_key and secret) to start using Binance CLI

Binance CLI Command

bnc credentials add [options]

Options

  • -ak or --api_key
  • -s or --secret

Examples

$ bnc credentials add -ak "YOUR_API_KEY" -s "YOUR_SECRET_KEY"
$ bnc credentials add --api_key="YOUR_API_KEY" --secret="YOUR_SECRET_KEY"

Remove credentials

Remove Binance CLI's credentials (api_key and secret).

WARNING: You cannot use Binance CLI again until you add new credentials.

Binance CLI Command

bnc credentials remove

Examples

$ bnc credentials remove

Show credentials

Show Binance CLI's credentials

Binance CLI Command

bnc credentials show

Examples

$ bnc credentials show