Skip to content
1 min read

fj secret

Manage Actions secrets

fj secret [OPTIONS] <COMMAND>

Every command also accepts the global flags: --host, --debug, --no-pager, --json-fields.

fj secret list

List secret names (values are write-only)

fj secret list [OPTIONS]

Options

  • -R, --repo <REPO> — Target repository as <owner>/<name>. Inferred from the git remote when omitted

fj secret set

Set or replace a secret

fj secret set [OPTIONS] <NAME>

Arguments

  • <NAME> — Secret name

Options

  • -R, --repo <REPO> — Target repository as <owner>/<name>. Inferred from the git remote when omitted
  • -v, --value <VALUE> — Value (raw string). For multi-line secrets, prefer --from-file - and pipe stdin
  • -f, --from-file <FROM_FILE> — Read value from this file. Use - for stdin

fj secret delete

Delete a secret

fj secret delete [OPTIONS] <NAME>

Arguments

  • <NAME> — Secret name

Options

  • -R, --repo <REPO> — Target repository as <owner>/<name>. Inferred from the git remote when omitted
  • -y, --yes — Skip the confirmation prompt
Contributors
  • Stephen Way