Skip to content

nodus secret create

View Markdown

Create a Secret

nodus secret create NAME [flags]
nodus secret create hf-token --from-literal HF_TOKEN=hf_xxx
nodus secret create app-env --from-env-file .env
nodus secret create registry --type Registry --from-literal server=ghcr.io --from-literal username=ada --from-literal password=…
--dry-run string[="server"] server returns the estimate without creating; client prints the manifest (default "none")
--from-env-file stringArray File of KEY=VALUE lines
--from-literal stringArray KEY=VALUE (repeatable)
-h, --help help for create
-o, --output string Output format: name, json, yaml, or estimate (with --dry-run=server)
--type string Opaque or Registry
--context string Context from the config file to use
--org string Organization (selects the context for that org)
-p, --project string Project to work in
-v, --verbose Log each API request (never credentials)
  • nodus secret - Create Secrets from literals, env files or registry logins