flux secrets
Manage Flux secrets for secure task execution.
Manage Flux secrets for secure task execution.
Sub-commands
flux secrets get— Get a secret value by name.flux secrets list— List all available secrets (shows only secret names, not values).flux secrets remove— Remove a secret by name.flux secrets set— Set a secret value with given name and value.
flux secrets get
Get a secret value by name.
Warning: This will display the secret value in the terminal. Only use this command for testing or in secure environments.
Arguments
name(text, required)
Options
--format,-f— Output format (default:simple)--server-url— Flux server URL
flux secrets list
List all available secrets (shows only secret names, not values).
Options
--format,-f— Output format (default:simple)--server-url— Flux server URL
flux secrets remove
Remove a secret by name.
This permanently deletes the secret from the database.
Arguments
name(text, required)
Options
--format,-f— Output format (default:simple)--server-url— Flux server URL
flux secrets set
Set a secret value with given name and value.
This command will create a new secret or update an existing one.
Arguments
name(text, required)value(text, required)
Options
--format,-f— Output format (default:simple)--server-url— Flux server URL
Generated from flux/cli.py. Last verified against Flux 0.56.0.