lep secret

Manage secrets on the Lepton AI cloud.

Secrets are like environmental variables, but the actual value never leaves the cloud environment. Secrets can be used to store sensitive information like API keys and passwords, which one does not want to accidentally leak into display output. Secret names starting with LEPTON_ or lepton_ are reserved for system use, and cannot be used by the user.

The secret commands allow you to create, list, and remove secrets on the Lepton AI cloud.

Usage

lep secret [OPTIONS] COMMAND [ARGS]...

Options

  • --help : Show this message and exit.

Commands

  • create : Creates secrets with the given name and value.
  • list : Lists all secrets in the current workspace.
  • remove : Removes the secret with the given name.

lep secret create

Creates secrets with the given name and value. The name and value can be specified multiple times to create multiple secrets, e.g.: lep secret create -n SECRET1 -v VALUE1 -n SECRET2 -v VALUE2

Usage

lep secret create [OPTIONS]

Options

  • -n, --name TEXT : Secret name
  • -v, --value TEXT : Secret value
  • --help : Show this message and exit.

lep secret list

Lists all secrets in the current workspace. Note that the secret values are always hidden.

Usage

lep secret list [OPTIONS]

Options

  • --help : Show this message and exit.

lep secret remove

Removes the secret with the given name.

Usage

lep secret remove [OPTIONS]

Options

  • -n, --name TEXT : Secret name
  • --help : Show this message and exit.
Lepton AI

© 2024