rapadura hotsites · PHP Com Rapadura Português

rapadura admin bootstrap-token

Mint a token by opening the gateway database directly (run on the gateway host)

Synopsis

bootstrap-token creates the user if needed and prints a token once. It exists so the owner can operate the gateway before GitHub login is configured, and as a break-glass path. It needs read-write access to the database file.

rapadura admin bootstrap-token [flags]

Options

      --data-dir string   gateway data directory holding rapadura.db
  -h, --help              help for bootstrap-token
      --login string      GitHub login of the user
      --name string       token name (default "bootstrap")
      --role string       role if the user must be created (default "owner")
      --ttl duration      token lifetime (default 2160h0m0s)

Options inherited from parent commands

      --gateway string   gateway URL (default from credentials or https://agents.rapadura.net)
      --json             machine-readable JSON output

SEE ALSO