How do I run the bootstrap commands from the shell?

Table of Contents

This file documents declared operations at the shell, one section per command. Every command is a subcommand of bootstrap, and every section exports its own script into projects/ores.shell/scripts/library/. Loading a script runs that one command, so a failure names the command it came from.

1. Commands

1.1. bootstrap-status

Sends bootstrap_status_request and prints bootstrap_status_response, so the shape is the protocol's and the meaning is the service's. A caller runs it before it has a session, so the command presents no token and refuses none.

The command is shaped like this:

bootstrap bootstrap-status

It is addressed at iam.v1.bootstrap.status.

bootstrap bootstrap-status

1.2. create-initial-admin

Sends create_initial_admin_request and prints create_initial_admin_response, so the shape is the protocol's and the meaning is the service's. It reads principal, password, email, in that order. A caller runs it before it has a session, so the command presents no token and refuses none.

The command is shaped like this:

bootstrap create-initial-admin <principal> <password> <email>

It is addressed at iam.v1.bootstrap.create-admin.

bootstrap create-initial-admin __none__ __none__ __none__

1.3. provision-tenant

Sends provision_tenant_request and prints provision_tenant_response, so the shape is the protocol's and the meaning is the service's. It reads type, code, name, hostname, description, principal, password, email, in that order. A caller runs it before it has a session, so the command presents no token and refuses none.

The command is shaped like this:

bootstrap provision-tenant <type> <code> <name> <hostname> <description> <principal> <password> <email>

It is addressed at iam.v1.bootstrap.provision-tenant.

bootstrap provision-tenant __none__ __none__ __none__ __none__ __none__ __none__ __none__ __none__

Emacs 29.3 (Org mode 9.6.15)