»Waypoint Server cookie
waypoint server cookie
Output server cookie value
waypoint server cookie [options]
Output the server cookie value.
The server cookie is used in API calls to superficially ensure that you're communicating with the proper cluster. This isn't mean to be a security mechanism. This is an optional way to prevent errant API calls to the incorrect Waypoint cluster (if you're running multiple).
Some unauthenticated API endpoints require the cookie value be set to protect against random noise, such as the runner registration endpoint.
While the cookie isn't a security mechanism, it should be kept secret to prevent unnecessary API noise to a cluster.
-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.