Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.endorlabs.com/llms.txt

Use this file to discover all available pages before exploring further.

The command endorctl init allows you to quickly authenticate your client to Endor Labs using an external identity provider. Supported authentication providers for endorctl init are:
  • google - Used to create an API key and API key secret when you sign in with Google Workspaces as your external identity provider.
  • github - Used to create an API key and API key secret when you sign in with GitHub Cloud as your external identity provider.
  • gitlab - Used to create an API key and API key secret when you sign in with GitLab Cloud as your external identity provider.
  • email - Used to create an API key and API key secret when you sign in with an email link.
  • sso - Used to sign in with a Custom Enterprise Identity Provider, such as Okta.

Usage

Run endorctl init and your browser window will open automatically. Select your authentication provider from the available options and complete the authentication process. Init authentication through browser You can also specify your supported authentication provider manually:
endorctl init --auth-mode=google
To login with your supported authentication provider in environments without a browser you can use headless mode:
endorctl init --auth-mode=google --headless-mode
Once you’ve issued the command in headless mode, navigate to an internet/browser accessible computer and follow the instructions provided in your terminal.

Options

The following flags and environment variables are available for the endorctl init command.