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
$ ignitify permission:list [--json]$ 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
$ ignitify permission:list --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"
}
]
}| Flag | Value | Default | Description |
|---|---|---|---|
--json | — | — | Print the permissions as JSON. |
user:create
Create a user that holds keys and is in groups.
- needs API key
- --json: full
$ ignitify user:create <name> [--json]$ ignitify user:create github-ciresource_id usr_Gt5Yh7Uj9Ikname github-cicreated_at 2026-10-14T09:12:03.540Z✓ user github-ci created
$ ignitify user:create github-ci --json{
"resource_id": "usr_Gt5Yh7Uj9Ik",
"name": "github-ci",
"created_at": "2026-10-14T09:12:03.540Z"
}$ 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
| Flag | Value | Default | Description |
|---|---|---|---|
<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
- Checks the name before it sends anything.
- Creates the user.
- Prints the user.
user:list
List the users of your account.
- needs API key
- --json: full
$ ignitify user:list [--json]$ 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
$ ignitify user:list --json{
"users": [
{
"resource_id": "usr_Gt5Yh7Uj9Ik",
"name": "github-ci",
"created_at": "2026-10-14T09:12:03.540Z"
}
]
}$ 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
| Flag | Value | Default | Description |
|---|---|---|---|
--json | — | — | Print the users as JSON. |
user:get
Show one user with its groups, permissions and live keys.
- needs API key
- --json: full
$ ignitify user:get <name> [--json]$ 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
| Flag | Value | Default | Description |
|---|---|---|---|
<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
$ ignitify user:remove <name> [--yes]$ 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
$ ignitify user:remove github-ci --yes --json{
"removed": "github-ci",
"revoked_keys": [
"key_Hn4TqXw8Zc2"
]
}| Flag | Value | Default | Description |
|---|---|---|---|
<name>required | — | — | The user name. |
--yes, -y | — | — | Skip the question. |
What happens
- Prints which user it will remove.
- Asks you to confirm, unless you pass
--yes. - Removes the user and revokes its keys at once.
- Prints how many keys it revoked.
group:create
Create a group with a set of permissions.
- needs API key
- --json: full
$ ignitify group:create <name> --permissions <p1,p2,…> [--json]$ 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
$ ignitify group:create ci --permissions runs.read,runs.adminError: unknown permission "runs.admin". Run 'ignitify permission:list' to see the permissions.
| Flag | Value | Default | Description |
|---|---|---|---|
<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
- Checks the name and each permission before it sends anything.
- Creates the group.
- Prints the group.
group:list
List the groups of your account and their permissions.
- needs API key
- --json: full
$ ignitify group:list [--json]$ 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
$ ignitify group:list --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"
}
]
}| Flag | Value | Default | Description |
|---|---|---|---|
--json | — | — | Print the groups as JSON. |
group:get
Show one group with its permissions and users.
- needs API key
- --json: full
$ ignitify group:get <name> [--json]$ 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
| Flag | Value | Default | Description |
|---|---|---|---|
<name>required | — | — | The group name. |
--json | — | — | Print the group as JSON. |
group:grant
Add one permission to a group.
- needs API key
- --json: full
$ ignitify group:grant <name> <permission>$ 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
$ ignitify group:grant readers ownerError: "owner" is not a permission and cannot be granted: only owner keys manage access.
| Flag | Value | Default | Description |
|---|---|---|---|
<name>required | — | — | The group name. |
<permission>required | — | — | One permission from permission:list. |
What happens
- Checks the permission before it sends anything.
- Adds it to the group.
- Prints the group as it is now.
group:revoke
Remove one permission from a group.
- needs API key
- --json: full
$ ignitify group:revoke <name> <permission>$ 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
| Flag | Value | Default | Description |
|---|---|---|---|
<name>required | — | — | The group name. |
<permission>required | — | — | The permission to remove. |
What happens
- Checks the permission before it sends anything.
- Removes it from the group.
- Prints the group as it is now.
group:add-user
Put a user in a group.
- needs API key
- --json: full
$ ignitify group:add-user <group> <user>$ 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
| Flag | Value | Default | Description |
|---|---|---|---|
<group>required | — | — | The group name. |
<user>required | — | — | The user name. |
What happens
- Checks both names before it sends anything.
- Adds the user to the group.
- Prints the group as it is now.
group:remove-user
Take a user out of a group.
- needs API key
- --json: full
$ ignitify group:remove-user <group> <user>$ 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
| Flag | Value | Default | Description |
|---|---|---|---|
<group>required | — | — | The group name. |
<user>required | — | — | The user name. |
What happens
- Checks both names before it sends anything.
- Removes the user from the group.
- 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
$ ignitify group:delete <name> [--yes]$ 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
| Flag | Value | Default | Description |
|---|---|---|---|
<name>required | — | — | The group name. |
--yes, -y | — | — | Skip the question. |
What happens
- Prints which group it will delete.
- Asks you to confirm, unless you pass
--yes. - Deletes the group and its memberships.
- Prints the name.
key:create
Create an API key for a user.
- needs API key
- --json: full
$ ignitify key:create --user <name> --label <text> [--out <file>] [--json]$ 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)
$ 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
$ ignitify key:create --user github-ci --label github --out ./github-ci.key --json{
"resource_id": "key_Hn4TqXw8Zc2",
"user": "github-ci",
"label": "github",
"out": "./github-ci.key"
}$ 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.
| Flag | Value | Default | Description |
|---|---|---|---|
--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
- Checks the user name and the label before it sends anything.
- With
--out, creates the new file first, so a refused file costs no key. - Creates the key.
- 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
$ ignitify key:list [--user <name>] [--json]$ 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
$ ignitify key:list --user github-ci --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
}
]
}| Flag | Value | Default | Description |
|---|---|---|---|
--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
$ ignitify key:revoke <key-resource-id> [--yes]$ 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
| Flag | Value | Default | Description |
|---|---|---|---|
<key-resource-id>required | — | — | The key id, from key:list. |
--yes, -y | — | — | Skip the question. |
What happens
- Prints which key it will revoke.
- Asks you to confirm, unless you pass
--yes. - Revokes the key.
- Prints the key id.