$ telepresence login --helpAuthenticate to Ambassador CloudUsage:telepresence login [flags]Flags:--apikey string Static API key to use instead of performing an interactive login
telepresence login to explicitly authenticate with Ambassador
Cloud. Unless the
skipLogin option is set, other commands will
automatically invoke the
telepresence login interactive login
procedure as nescessary, so it is rarely nescessary to explicitly run
telepresence login; it should only be truly nescessary to explictly
telepresence login when you require a non-interactive login.
The normal interactive login procedure involves launching a web
browser, a user interacting with that web browser, and finally having
the web browser make callbacks to the local Telepresence process. If
it is not possible to do this (perhaps you are using a headless remote
box via SSH, or are using Telepresence in CI), then you may instead
have Ambassador Cloud issue an API key that you pass to
login with the
Log in to Ambassador Cloud at https://app.getambassador.io/ .
Click on your profile icon in the upper-left:
Click on the "API Keys" menu button:
Click on the "generate new key" button in the upper-right:
Enter a description for the key (perhaps the name of your laptop, or perhaps the "CI"), and click "generate api key" to create it.
You may now pass the API key as
telepresence login --apikey=KEY.
Telepresence will use that "master" API key to create narrower keys for different components of Telepresence. You will see these appear in the Ambassador Cloud web interface.