Ignitify.dev
Access control
CLI reference

Access control

Give people and programs their own keys, with only the permissions they need.

permission:list

List every permission a group can grant, and what each allows.

  • no API key
  • --json: full
synopsis
$ ignitify permission:list [--json]
terminal
$ ignitify permission:listpermission         allows─────────────────  ─────────────────────────────────────────────────────────────tasks.read         Read taskstasks.write        Create and delete tasks. Note: tasks.write can delete                   deployments and runs too: deleting a task deletes its                   deployments, cancels and deletes their runs and stops their                   VMs. Grant it only where deployments.write and runs.write are                   acceptable too.deployments.read   Read deployments and build logsdeployments.write  Deploy, delete a deployment, ask for package adviceruns.read          Read runs, logs, timeline, failures, VMsruns.write         Start, cancel, delete runs; stop VMssecrets.read       List secret names (values are never readable). Note:                   deployments.write plus runs.write can read secret values in                   practice: deploy code that prints its environment, then run                   it.secrets.write      Set and delete secretshooks.read         List a task's hooks, read one hookhooks.write        Create and delete hooks; set notify. Note: hooks.write can                   start runs (a hook trigger starts a run) and can send run                   results to any URL. Grant it only where runs.write is                   acceptable too.schedules.read     List schedules, read one scheduleschedules.write    Create, edit, pause, resume and delete schedules; a run at a                   later time also needs it. Note: schedules.write can start                   runs later with no further act, and a schedule outlives the                   key that made it. Grant it only where runs.write is                   acceptable too.usage.read         Usage, series, notifications
terminal
$ ignitify permission:list --json
--json
{
  "permissions": [
    {
      "permission": "tasks.read",
      "description": "Read tasks"
    },
    {
      "permission": "tasks.write",
      "description": "Create and delete tasks",
      "note": "tasks.write can delete deployments and runs too: deleting a task deletes its deployments, cancels and deletes their runs and stops their VMs. Grant it only where deployments.write and runs.write are acceptable too."
    },
    {
      "permission": "deployments.read",
      "description": "Read deployments and build logs"
    },
    {
      "permission": "deployments.write",
      "description": "Deploy, delete a deployment, ask for package advice"
    },
    {
      "permission": "runs.read",
      "description": "Read runs, logs, timeline, failures, VMs"
    },
    {
      "permission": "runs.write",
      "description": "Start, cancel, delete runs; stop VMs"
    },
    {
      "permission": "secrets.read",
      "description": "List secret names (values are never readable)",
      "note": "deployments.write plus runs.write can read secret values in practice: deploy code that prints its environment, then run it."
    },
    {
      "permission": "secrets.write",
      "description": "Set and delete secrets"
    },
    {
      "permission": "hooks.read",
      "description": "List a task's hooks, read one hook"
    },
    {
      "permission": "hooks.write",
      "description": "Create and delete hooks; set notify",
      "note": "hooks.write can start runs (a hook trigger starts a run) and can send run results to any URL. Grant it only where runs.write is acceptable too."
    },
    {
      "permission": "schedules.read",
      "description": "List schedules, read one schedule"
    },
    {
      "permission": "schedules.write",
      "description": "Create, edit, pause, resume and delete schedules; a run at a later time also needs it",
      "note": "schedules.write can start runs later with no further act, and a schedule outlives the key that made it. Grant it only where runs.write is acceptable too."
    },
    {
      "permission": "usage.read",
      "description": "Usage, series, notifications"
    }
  ]
}
FlagValueDefaultDescription
--json——Print the permissions as JSON.

user:create

Create a user that holds keys and is in groups.

  • needs API key
  • --json: full
synopsis
$ ignitify user:create <name> [--json]
terminal
$ ignitify user:create github-ciresource_id  usr_Gt5Yh7Uj9Ikname         github-cicreated_at   2026-10-14T09:12:03.540Z✓ user github-ci created
terminal
$ ignitify user:create github-ci --json
--json
{
  "resource_id": "usr_Gt5Yh7Uj9Ik",
  "name": "github-ci",
  "created_at": "2026-10-14T09:12:03.540Z"
}
Bad name
$ ignitify user:create GitHub_CIError: user name "GitHub_CI" is not valid: use 1 to 63 lower case letters, digits and '-', starting with a letter or digit
FlagValueDefaultDescription
<name>required——1 to 63 lower case letters, digits and -, starting with a letter or digit; unique in your account.
--json——Print the user as JSON.

What happens

  1. Checks the name before it sends anything.
  2. Creates the user.
  3. Prints the user.

user:list

List the users of your account.

  • needs API key
  • --json: full
synopsis
$ ignitify user:list [--json]
terminal
$ ignitify user:listname          resource_id      created_at────────────  ───────────────  ────────────────────────github-ci     usr_Gt5Yh7Uj9Ik  2026-10-14T09:12:03.540Zai-assistant  usr_Rf2Ed4Ws6Qa  2026-10-15T11:40:27.112Z
terminal
$ ignitify user:list --json
--json
{
  "users": [
    {
      "resource_id": "usr_Gt5Yh7Uj9Ik",
      "name": "github-ci",
      "created_at": "2026-10-14T09:12:03.540Z"
    }
  ]
}
A user key
$ ignitify user:listError: owner key required: only owner keys manage users, groups and keys. This is a user key.server trace id: 5d1e8c0a-4b7f-4f6e-9a21-3c0d7e5b8f12
FlagValueDefaultDescription
--json——Print the users as JSON.

user:get

Show one user with its groups, permissions and live keys.

  • needs API key
  • --json: full
synopsis
$ ignitify user:get <name> [--json]
terminal
$ ignitify user:get github-ciname         github-ciresource_id  usr_Gt5Yh7Uj9Ikcreated_at   2026-10-14T09:12:03.540Zgroups       cipermissions  tasks.read, deployments.read, deployments.write, runs.read, runs.writeKeysresource_id   key_Hn4TqXw8Zc2user          github-cilabel         githubcreated_at    2026-10-14T09:12:03.540Zlast_used_at  2026-10-15T11:40:27.112Z
FlagValueDefaultDescription
<name>required——The user name.
--json——Print the user as JSON.

user:remove

Remove a user and revoke every key of the user.

  • needs API key
  • asks to confirm
  • deletes data
  • --json: full
synopsis
$ ignitify user:remove <name> [--yes]
terminal
$ ignitify user:remove github-ciWill remove user github-ci and revoke every key of the user. The keys stop working at once.Proceed? [y/N] y✓ user github-ci removed; 1 key(s) revoked
terminal
$ ignitify user:remove github-ci --yes --json
--json
{
  "removed": "github-ci",
  "revoked_keys": [
    "key_Hn4TqXw8Zc2"
  ]
}
FlagValueDefaultDescription
<name>required——The user name.
--yes, -y——Skip the question.

What happens

  1. Prints which user it will remove.
  2. Asks you to confirm, unless you pass --yes.
  3. Removes the user and revokes its keys at once.
  4. Prints how many keys it revoked.

group:create

Create a group with a set of permissions.

  • needs API key
  • --json: full
synopsis
$ ignitify group:create <name> --permissions <p1,p2,…> [--json]
terminal
$ ignitify group:create ci --permissions tasks.read,deployments.read,deployments.write,runs.read,runs.writename         ciresource_id  grp_Lk7Pq2Wd9Xscreated_at   2026-10-14T09:12:03.540Zpermissions  tasks.read, deployments.read, deployments.write, runs.read, runs.writeusers        -✓ group ci created
Unknown permission
$ ignitify group:create ci --permissions runs.read,runs.adminError: unknown permission "runs.admin". Run 'ignitify permission:list' to see the permissions.
FlagValueDefaultDescription
<name>required——1 to 63 lower case letters, digits and -, starting with a letter or digit; unique in your account.
--permissionsrequired<p1,p2,…>—The permissions the group grants, comma-separated. Required.
--json——Print the group as JSON.

What happens

  1. Checks the name and each permission before it sends anything.
  2. Creates the group.
  3. Prints the group.

group:list

List the groups of your account and their permissions.

  • needs API key
  • --json: full
synopsis
$ ignitify group:list [--json]
terminal
$ ignitify group:listname     permissions                                    created_at───────  ─────────────────────────────────────────────  ────────────────────────ci       tasks.read, deployments.read,                  2026-10-14T09:12:03.540Z         deployments.write, runs.read, runs.writereaders  tasks.read, deployments.read, runs.read,       2026-10-14T09:12:03.540Z         usage.read
terminal
$ ignitify group:list --json
--json
{
  "groups": [
    {
      "resource_id": "grp_Vb3Nm8Tr5Qz",
      "name": "readers",
      "permissions": [
        "tasks.read",
        "deployments.read",
        "runs.read",
        "usage.read"
      ],
      "created_at": "2026-10-14T09:12:03.540Z"
    }
  ]
}
FlagValueDefaultDescription
--json——Print the groups as JSON.

group:get

Show one group with its permissions and users.

  • needs API key
  • --json: full
synopsis
$ ignitify group:get <name> [--json]
terminal
$ ignitify group:get ciname         ciresource_id  grp_Lk7Pq2Wd9Xscreated_at   2026-10-14T09:12:03.540Zpermissions  tasks.read, deployments.read, deployments.write, runs.read, runs.writeusers        github-ci
FlagValueDefaultDescription
<name>required——The group name.
--json——Print the group as JSON.

group:grant

Add one permission to a group.

  • needs API key
  • --json: full
synopsis
$ ignitify group:grant <name> <permission>
terminal
$ ignitify group:grant readers secrets.readname         readersresource_id  grp_Vb3Nm8Tr5Qzcreated_at   2026-10-14T09:12:03.540Zpermissions  tasks.read, deployments.read, runs.read, usage.read, secrets.readusers        ai-assistant✓ group readers now has secrets.read
Not a permission
$ ignitify group:grant readers ownerError: "owner" is not a permission and cannot be granted: only owner keys manage access.
FlagValueDefaultDescription
<name>required——The group name.
<permission>required——One permission from permission:list.

What happens

  1. Checks the permission before it sends anything.
  2. Adds it to the group.
  3. Prints the group as it is now.

group:revoke

Remove one permission from a group.

  • needs API key
  • --json: full
synopsis
$ ignitify group:revoke <name> <permission>
terminal
$ ignitify group:revoke readers usage.readname         readersresource_id  grp_Vb3Nm8Tr5Qzcreated_at   2026-10-14T09:12:03.540Zpermissions  tasks.read, deployments.read, runs.readusers        ai-assistant✓ group readers no longer has usage.read
FlagValueDefaultDescription
<name>required——The group name.
<permission>required——The permission to remove.

What happens

  1. Checks the permission before it sends anything.
  2. Removes it from the group.
  3. Prints the group as it is now.

group:add-user

Put a user in a group.

  • needs API key
  • --json: full
synopsis
$ ignitify group:add-user <group> <user>
terminal
$ ignitify group:add-user ci github-ciname         ciresource_id  grp_Lk7Pq2Wd9Xscreated_at   2026-10-14T09:12:03.540Zpermissions  tasks.read, deployments.read, deployments.write, runs.read, runs.writeusers        github-ci✓ user github-ci added to group ci
FlagValueDefaultDescription
<group>required——The group name.
<user>required——The user name.

What happens

  1. Checks both names before it sends anything.
  2. Adds the user to the group.
  3. Prints the group as it is now.

group:remove-user

Take a user out of a group.

  • needs API key
  • --json: full
synopsis
$ ignitify group:remove-user <group> <user>
terminal
$ ignitify group:remove-user ci github-ciname         ciresource_id  grp_Lk7Pq2Wd9Xscreated_at   2026-10-14T09:12:03.540Zpermissions  tasks.read, deployments.read, deployments.write, runs.read, runs.writeusers        -✓ user github-ci removed from group ci
FlagValueDefaultDescription
<group>required——The group name.
<user>required——The user name.

What happens

  1. Checks both names before it sends anything.
  2. Removes the user from the group.
  3. Prints the group as it is now.

group:delete

Delete a group, and keep its users and keys.

  • needs API key
  • asks to confirm
  • deletes data
  • --json: full
synopsis
$ ignitify group:delete <name> [--yes]
terminal
$ ignitify group:delete readersWill delete group readers. Its users lose the permissions it grants; users and keys stay.Proceed? [y/N] y✓ group readers deleted
FlagValueDefaultDescription
<name>required——The group name.
--yes, -y——Skip the question.

What happens

  1. Prints which group it will delete.
  2. Asks you to confirm, unless you pass --yes.
  3. Deletes the group and its memberships.
  4. Prints the name.

key:create

Create an API key for a user.

  • needs API key
  • --json: full
synopsis
$ ignitify key:create --user <name> --label <text> [--out <file>] [--json]
terminal
$ ignitify key:create --user github-ci --label github --out ./github-ci.key✓ key key_Hn4TqXw8Zc2 written to ./github-ci.key (mode 0600). Hand the file over, then delete your copy.
More examples (1)
Without a file
$ ignitify key:create --user github-ci --label github⚠️  The key below is shown ONCE and cannot be read back. Hand it over now; if it is lost, revoke it and create another.✓ Key Createdresource_id       key_Hn4TqXw8Zc2user              github-cilabel             githubkey (shown ONCE)  q7Xv2mR9kLp4Tz8Wn3Bc6Yh1Jd5Fs0Ga2Ue7Io9Pw4
terminal
$ ignitify key:create --user github-ci --label github --out ./github-ci.key --json
--json
{
  "resource_id": "key_Hn4TqXw8Zc2",
  "user": "github-ci",
  "label": "github",
  "out": "./github-ci.key"
}
The file exists
$ ignitify key:create --user github-ci --label github --out ./github-ci.keyError: ./github-ci.key already exists. key:create --out writes a new file only and never follows a link. Choose another name; no key was created.
FlagValueDefaultDescription
--userrequired<name>—The user the key belongs to. Required.
--labelrequired<text>—A name for the key, such as where it is used. Required.
--out<file>—Write the key to this new file at mode 0600 and print only its id. It fails when the file exists.
--json——Print the answer as JSON. Without --out it holds the raw key.

What happens

  1. Checks the user name and the label before it sends anything.
  2. With --out, creates the new file first, so a refused file costs no key.
  3. Creates the key.
  4. Prints the key once, or writes it to the file and prints only its id.

key:list

List the live keys of your account, never the raw key.

  • needs API key
  • --json: full
synopsis
$ ignitify key:list [--user <name>] [--json]
terminal
$ ignitify key:listresource_id   key_Qw8Er4Ty6Uiuser          ownerlabel         laptopcreated_at    2026-10-14T09:12:03.540Zlast_used_at  2026-10-15T11:40:27.112Z────────────────────────────────────────────────────────────────────────────────resource_id   key_Hn4TqXw8Zc2user          github-cilabel         githubcreated_at    2026-10-14T09:12:03.540Zlast_used_at  2026-10-15T11:40:27.112Z
terminal
$ ignitify key:list --user github-ci --json
--json
{
  "keys": [
    {
      "resource_id": "key_Hn4TqXw8Zc2",
      "user": "github-ci",
      "label": "github",
      "created_at": "2026-10-14T09:12:03.540Z",
      "last_used_at": "2026-10-15T11:40:27.112Z",
      "expires_at": null
    }
  ]
}
FlagValueDefaultDescription
--user<name>—Only the keys of this user.
--json——Print the keys as JSON.

key:revoke

Revoke an API key so that it stops working at once.

  • needs API key
  • asks to confirm
  • deletes data
  • --json: full
synopsis
$ ignitify key:revoke <key-resource-id> [--yes]
terminal
$ ignitify key:revoke key_Hn4TqXw8Zc2Will revoke key key_Hn4TqXw8Zc2. A program that uses it is refused from then on.Proceed? [y/N] y✓ key key_Hn4TqXw8Zc2 revoked
FlagValueDefaultDescription
<key-resource-id>required——The key id, from key:list.
--yes, -y——Skip the question.

What happens

  1. Prints which key it will revoke.
  2. Asks you to confirm, unless you pass --yes.
  3. Revokes the key.
  4. Prints the key id.