Skip to content

avr secret

Manage organization and repository secrets.

Terminal window
avr secret [OPTIONS] COMMAND [ARGS]...

Delete one scoped value, or the whole name with --all.

Terminal window
avr secret delete [OPTIONS] NAME
Terminal window
JSON FIELDS
availability, label, message, name, resource_id, stage, status,
variant_id, version_id

Arguments

  • NAME

Options

  • --all — Delete the name and all of its scoped values.
  • --jq, -q <TEXT> — Filter JSON with an embedded jq expression.
  • --json <TEXT> — Output comma-separated fields, * for all, or ? to list fields.
  • --org, -o <TEXT> — Organization ID or slug; does not broaden availability.
  • --repo, -R <TEXT> — Repository full name or ID; defaults to the current checkout.
  • --variant <TEXT> — Select an existing scoped value by label.
  • --variant-id <TEXT> — Select an existing scoped value by ID.
  • --yes, -y — Skip confirmation.

Edit description, label, or availability without replacing a value.

Terminal window
avr secret edit [OPTIONS] NAME
Terminal window
JSON FIELDS
availability, label, message, name, resource_id, stage, status,
variant_id, version_id

Arguments

  • NAME

Options

  • --branch <TEXT> — Branch pattern; repeat for alternatives. (default: () · repeatable)
  • --clear-branch — Remove branch restrictions.
  • --clear-env — Remove environment restrictions.
  • --clear-label — Clear the scoped value label.
  • --clear-workflow — Remove workflow restrictions.
  • --description <TEXT> — Organization-wide description shared by all scoped values; an empty string clears it.
  • --env, -e <TEXT> — Environment pattern; repeat for alternatives. (default: () · repeatable)
  • --jq, -q <TEXT> — Filter JSON with an embedded jq expression.
  • --json <TEXT> — Output comma-separated fields, * for all, or ? to list fields.
  • --label <TEXT> — Label for the scoped value.
  • --org, -o <TEXT> — Organization ID or slug; does not broaden availability.
  • --repo, -R <TEXT> — Repository full name or ID; defaults to the current checkout.
  • --repos <TEXT> — Organization availability: repository names or IDs, comma-separated. (default: () · repeatable)
  • --variant <TEXT> — Select an existing scoped value by label.
  • --variant-id <TEXT> — Select an existing scoped value by ID.
  • --visibility <TEXT> — Organization availability: all, private, or selected (requires --repos).
  • --workflow <TEXT> — Workflow path pattern; repeat for alternatives. (default: () · repeatable)

Inspect a secret.

Terminal window
avr secret get [OPTIONS] NAME
Terminal window
JSON FIELDS
as_file, description, name, secret_id, updated_at, variants

Arguments

  • NAME

Options

  • --jq, -q <TEXT> — Filter JSON with an embedded jq expression.
  • --json <TEXT> — Output comma-separated fields, * for all, or ? to list fields.
  • --org, -o <TEXT> — Organization ID or slug; does not broaden availability.
  • --repo, -R <TEXT> — Repository full name or ID; defaults to the current checkout.
  • --variant <TEXT> — Select an existing scoped value by label.
  • --variant-id <TEXT> — Select an existing scoped value by ID.
  • --version-id <TEXT> — Inspect a specific submitted version without resubmitting it.

List names, scoped-value counts, and update times.

Terminal window
avr secret list [OPTIONS]
Terminal window
JSON FIELDS
as_file, description, name, secret_id, updated_at, variants

Options

  • --jq, -q <TEXT> — Filter JSON with an embedded jq expression.
  • --json <TEXT> — Output comma-separated fields, * for all, or ? to list fields.
  • --org, -o <TEXT> — Organization ID or slug; does not broaden availability.
  • --repo, -R <TEXT> — Repository full name or ID; defaults to the current checkout.

Create or replace a scoped value.

Terminal window
avr secret set [OPTIONS] [NAME]
Terminal window
JSON FIELDS
availability, label, message, name, resource_id, stage, status,
variant_id, version_id

Arguments

  • [NAME]

Options

  • --branch <TEXT> — Branch pattern; repeat for alternatives. (default: () · repeatable)
  • --description <TEXT> — Description for a newly created name; use edit to change an existing description.
  • --env, -e <TEXT> — Environment pattern; repeat for alternatives. (default: () · repeatable)
  • --env-file, -f <TEXT> — Read literal NAME=value entries from a dotenv file (- for stdin); no expansion.
  • --jq, -q <TEXT> — Filter JSON with an embedded jq expression.
  • --json <TEXT> — Output comma-separated fields, * for all, or ? to list fields.
  • --label <TEXT> — Label for the scoped value.
  • --org, -o <TEXT> — Organization ID or slug; does not broaden availability.
  • --repo, -R <TEXT> — Repository full name or ID; defaults to the current checkout.
  • --repos <TEXT> — Organization availability: repository names or IDs, comma-separated. (default: () · repeatable)
  • --type <TEXT> — Secret type: env_var or file; chosen at creation. (default: env_var)
  • --variant <TEXT> — Select an existing scoped value by label.
  • --variant-id <TEXT> — Select an existing scoped value by ID.
  • --visibility <TEXT> — Organization availability: all, private, or selected (requires --repos).
  • --wait <TEXT> — Wait for write confirmation. With 0s, return the receipt immediately; unconfirmed writes exit nonzero. (default: 30s)
  • --workflow <TEXT> — Workflow path pattern; repeat for alternatives. (default: () · repeatable)