secret
secret create
Create a new secret in the FlexAI Secret Manager
Creates and stores a new Secret using the FlexAI Secret Manager.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create a new secret in the FlexAI Secret Manager
flexai secret create <secret_name> [flags]
| Argument | Type | Required | Description |
|---|---|---|---|
secret_name | string | Yes | The name of the FlexAI Secret to create. |
| Flag | Short | Type | Description |
|---|---|---|---|
--help | -h | boolean | Displays this help page. |
--value-stdin | -p | boolean | Take the Secret’s value directly from the Standard input (stdin) instead of the default interactive prompt. Especially useful for storing secrets from environment variables or files. |
--verbose | -v | boolean | Provides more detailed output when creating a Secret. |
flexai secret create hf-token-dev
✔ Secret Value: █
cat ~/Downloads/gcp-service-account.json | flexai secret create -p secret-from-sa-file
Was this page helpful?