»Waypoint Server bootstrap
waypoint server bootstrap
Bootstrap the server and retrieve the initial auth token
waypoint server bootstrap [options]
Bootstrap a new server and retrieve the initial auth token.
When a server is started for the first time against an empty database, it is able to be bootstrapped. The bootstrap process retrieves the initial auth token for the server. After the auth token is retrieved, it can never be bootstrapped again.
This command is only required for manually run servers. For servers installed with "waypoint install", the bootstrap is done automatically during the install process.
The easiest way to run this command against a new server is by using flags to specify server connection information. This command will setup a CLI context by default.
-plain- Plain output: no colors, no animation.
-a) - App to target. Certain commands require a single app target for Waypoint configurations with multiple apps. If you have a single app, then this can be ignored.
-p) - Project to target.
-w) - Workspace to operate in.
-server-addr=<string>- Address for the server.
-server-tls- True if the server should be connected to via TLS.
-server-tls-skip-verify- True to skip verification of the TLS certificate advertised by the server.
-context-create=<string>- Create a CLI context for this bootstrapped server. The context name will be the value of this flag. If this is an empty string, a context will not be created
-context-set-default- Set the newly bootstrapped server as the default CLI context. This only has an effect if -context-create is non-empty.