Keys, tokens and instances
alien api-keys
Create, inspect, disable, and revoke API keys.
Alias: apikeys.
alien api-keys [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
create | Create a scoped project key. The secret is returned only once. |
list | List project API keys without secrets. |
get | Show API-key metadata without its secret. |
disable | Stop accepting an API key until it is enabled again. |
enable | Accept a disabled API key again. |
revoke | Revoke an API key. |
| Flag | Description |
|---|---|
--json | Emit stable machine-readable JSON. |
Examples:
alien api-keys create --for ai-gateway --description production-backend
alien api-keys create --for encryption-gateway --json
alien api-keys list
alien api-keys get key_abc123
alien api-keys disable key_abc123
alien api-keys enable key_abc123
alien api-keys revoke key_abc123 --yesalien api-keys create
Create a scoped project key. The secret is returned only once.
alien api-keys create [OPTIONS] --for <PURPOSE>| Flag | Description |
|---|---|
--for <PURPOSE> | Intended use; selects the corresponding project role. Values: ai-gateway, encryption-gateway, deployments, project-admin (Full project lifecycle and API-key management), remote-bindings, remote-sandbox, read-only. |
--description <DESCRIPTION> | Human-readable key description. |
--json | Emit stable machine-readable JSON. |
alien api-keys list
List project API keys without secrets.
Alias: ls.
alien api-keys list [OPTIONS]| Flag | Description |
|---|---|
--json | Emit stable machine-readable JSON. |
alien api-keys get
Show API-key metadata without its secret.
Alias: describe, show.
alien api-keys get [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> |
| Flag | Description |
|---|---|
--json | Emit stable machine-readable JSON. |
alien api-keys disable
Stop accepting an API key until it is enabled again.
alien api-keys disable [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> |
| Flag | Description |
|---|---|
--yes | Skip the confirmation prompt. |
--json | Emit stable machine-readable JSON. |
alien api-keys enable
Accept a disabled API key again.
alien api-keys enable [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> |
| Flag | Description |
|---|---|
--json | Emit stable machine-readable JSON. |
alien api-keys revoke
Revoke an API key.
Alias: delete.
alien api-keys revoke [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> |
| Flag | Description |
|---|---|
--yes | Confirm revocation. |
--json | Emit stable machine-readable JSON. |
alien tokens
Create and revoke scoped tokens on your manager.
alien tokens [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
ls | List tokens. |
revoke | Revoke a token. |
Examples:
alien tokens ls
alien tokens revoke <token-id>alien tokens ls
List tokens.
alien tokens ls [OPTIONS]| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
alien tokens revoke
Revoke a token.
alien tokens revoke [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> | Token ID (from alien tokens ls). |
alien approve
Trust a teammate's device, or sign a change prepared in the dashboard.
alien approve [OPTIONS] [ID]| Argument | Description |
|---|---|
[ID] | The waiting change to approve. Without it, each waiting change in turn. |
alien devices
The devices and CI keys trusted to sign releases.
alien devices [OPTIONS] [COMMAND]| Subcommand | Description |
|---|---|
init | Turn signing on for the project: this device becomes its first trusted device. |
list | Show the trusted devices, the recovery key and the fingerprint. |
remove | Stop trusting a device, such as a lost laptop. |
add-ci | Trust GitHub Actions in a repository to sign releases. |
add-key | Trust a new key for any CI system or remote box to sign releases, and print it once. |
rotate | Replace a CI key, for example after it leaked. |
recover | Restore signing with the recovery code when every admin device is lost. |
| Flag | Description |
|---|---|
--json | Print JSON (for list). |
alien devices init
Turn signing on for the project: this device becomes its first trusted device.
alien devices init [OPTIONS]| Flag | Description |
|---|---|
--json | Print JSON (for list). |
alien devices list
Show the trusted devices, the recovery key and the fingerprint.
alien devices list [OPTIONS]| Flag | Description |
|---|---|
--json | Print JSON (for list). |
alien devices remove
Stop trusting a device, such as a lost laptop.
alien devices remove [OPTIONS] <NAME>| Argument | Description |
|---|---|
<NAME> | The device's name, as alien devices list shows it. |
| Flag | Description |
|---|---|
--revoke | The device was leaked or stolen: keep none of what it signed, so protected deployments refuse every release and config it signed. |
--keep-running | The device was only lost or retired: keep what is current on a channel or running in a protected deployment, and print each one. |
--json | Print JSON (for list). |
alien devices add-ci
Trust GitHub Actions in a repository to sign releases.
alien devices add-ci [OPTIONS] <REPOSITORY>| Argument | Description |
|---|---|
<REPOSITORY> | The repository, as OWNER/REPO. |
| Flag | Description |
|---|---|
--json | Print JSON (for list). |
alien devices add-key
Trust a new key for any CI system or remote box to sign releases, and print it once.
alien devices add-key [OPTIONS] <NAME>| Argument | Description |
|---|---|
<NAME> | The key's name on the list, such as ci or build-box. |
| Flag | Description |
|---|---|
--out <OUT> | Write the key to this file (mode 0600) instead of printing it. |
--json | Print JSON (for list). |
alien devices rotate
Replace a CI key, for example after it leaked.
alien devices rotate [OPTIONS] <NAME>| Argument | Description |
|---|---|
<NAME> | The key's name, as alien devices list shows it. |
| Flag | Description |
|---|---|
--revoke | The key leaked: keep none of what it signed, so protected deployments refuse every release and config it signed. Use this after a leak. |
--keep-running | The key was not leaked: keep what is current on a channel or running in a protected deployment, and print each one. |
--out <OUT> | For a key made by add-key: write the new key to this file (mode 0600) instead of printing it. |
--json | Print JSON (for list). |
alien devices recover
Restore signing with the recovery code when every admin device is lost.
alien devices recover [OPTIONS]| Flag | Description |
|---|---|
--json | Print JSON (for list). |
alien instances
Manage Private Alien Instances deployed to your cloud.
Alias: managers.
alien instances [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
create | Create a new private instance and return its setup action. |
list | List private instances. |
status | Show instance status and details. |
setup | Return a fresh setup action for a pending or failed instance. |
retry | Retry private instance setup or a failed instance deployment. |
update | Update a private instance to the latest release, or to a specific one. |
provision | Run a private instance's provisioning again, for example after it failed. |
set-domain | Serve a private instance's API on a workspace domain, or go back to its generated URL. |
cancel | Cancel an incomplete private instance setup. |
delete | Delete a private instance. |
events | View instance deployment events. |
defaults | Manage project default private instances. |
| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
alien instances create
Create a new private instance and return its setup action.
alien instances create [OPTIONS] --cloud <CLOUD> --region <REGION>| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
--name <NAME> | Instance display name. Default: alien-private-instance. |
--cloud <CLOUD> | Cloud where the instance will run. Values: aws, gcp, azure. |
--region <REGION> | Cloud region for the instance. |
--setup <SETUP> | Setup method. Defaults by cloud: AWS cloudformation, GCP google-oauth, Azure terraform. Values: cloudformation, google-oauth, terraform. |
--network <NETWORK> | Network mode. Defaults to create; use default for faster dev/test setup. Values: create, default. |
--output-dir <OUTPUT_DIR> | Write Terraform setup files to this directory. |
--open | Open the returned browser setup URL. |
alien instances list
List private instances.
Alias: ls.
alien instances list [OPTIONS]| Flag | Description |
|---|---|
--cloud <CLOUD> | Filter by cloud. Values: aws, gcp, azure. |
--json | Print machine-readable JSON. |
alien instances status
Show instance status and details.
Alias: get, describe, show.
alien instances status [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> | Instance ID. |
| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
--watch | Poll until setup reaches a terminal state. |
alien instances setup
Return a fresh setup action for a pending or failed instance.
alien instances setup [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> | Instance ID. |
| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
--output-dir <OUTPUT_DIR> | Write Terraform setup files to this directory. |
--open | Open the returned browser setup URL. |
alien instances retry
Retry private instance setup or a failed instance deployment.
alien instances retry [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> | Instance ID. |
| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
--output-dir <OUTPUT_DIR> | Write Terraform setup files to this directory when setup is retried. |
--open | Open the returned browser setup URL when setup is retried. |
alien instances update
Update a private instance to the latest release, or to a specific one.
alien instances update [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> | Instance ID. |
| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
--release <RELEASE> | Instance release ID (rel_...). Omit to use the latest release. |
--yes | Skip confirmation prompt. |
alien instances provision
Run a private instance's provisioning again, for example after it failed.
alien instances provision [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> | Instance ID. |
| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
alien instances set-domain
Serve a private instance's API on a workspace domain, or go back to its generated URL.
alien instances set-domain [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> | Instance ID. |
| Flag | Description |
|---|---|
--domain <DOMAIN> | Domain ID (dom_...), as shown by alien domains ls. |
--json | Print machine-readable JSON. |
--clear | Remove the custom domain. |
alien instances cancel
Cancel an incomplete private instance setup.
alien instances cancel [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> | Instance ID. |
| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
--yes | Skip confirmation prompt. |
alien instances delete
Delete a private instance.
alien instances delete [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> | Instance ID. |
| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
--yes | Skip confirmation prompt. |
alien instances events
View instance deployment events.
alien instances events [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> | Instance ID. |
| Flag | Description |
|---|---|
-f, --follow | Follow events. |
--json | Print machine-readable JSON. |
alien instances defaults
Manage project default private instances.
alien instances defaults [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
show | Show default private instances for a project. |
set | Set the default private instance for a cloud. |
clear | Clear default private instances. |
| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
alien instances defaults show
Show default private instances for a project.
alien instances defaults show [OPTIONS]| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
alien instances defaults set
Set the default private instance for a cloud.
alien instances defaults set [OPTIONS] --cloud <CLOUD> --manager <MANAGER>| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
--cloud <CLOUD> | Cloud to configure. Values: aws, gcp, azure. |
--manager <MANAGER> | Instance ID. |
alien instances defaults clear
Clear default private instances.
alien instances defaults clear [OPTIONS] --cloud <CLOUD>| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
--cloud <CLOUD> | Cloud to clear, or all. Values: aws, gcp, azure, all. |
alien domains
Manage workspace domains.
alien domains [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
add | Register a domain and show its required DNS records. |
ls | List workspace domains. |
get | Show a domain's verification state. |
refresh | Check the domain's DNS records again. |
rm | Remove a workspace domain. |
| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
alien domains add
Register a domain and show its required DNS records.
alien domains add [OPTIONS] <DOMAIN>| Argument | Description |
|---|---|
<DOMAIN> |
| Flag | Description |
|---|---|
--dns <DNS> | Who manages the DNS zone. Values: alien, customer. Default: alien. |
--json | Print machine-readable JSON. |
alien domains ls
List workspace domains.
Alias: list.
alien domains ls [OPTIONS]| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
alien domains get
Show a domain's verification state.
alien domains get [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> |
| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
alien domains refresh
Check the domain's DNS records again.
alien domains refresh [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> |
| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
alien domains rm
Remove a workspace domain.
Alias: remove.
alien domains rm [OPTIONS] <ID>| Argument | Description |
|---|---|
<ID> |
| Flag | Description |
|---|---|
--json | Print machine-readable JSON. |
alien serve
Run a manager on this machine.
alien serve [OPTIONS]| Flag | Description |
|---|---|
-c, --config <CONFIG> | Path to TOML configuration file (default: alien-manager.toml in CWD). |
--init | Write a commented alien-manager.toml to the current directory (or --config) and exit. |
--port <PORT> | Override the HTTP server port. |
--host <HOST> | Override the HTTP server bind address. |