Repository navigation
Conversation
…ut json [RED-1122] Documents checkly/checkly-cli#1528: - authentication: a "Working with several accounts" section (default account, `CHECKLY_ACCOUNT_ID` for one command or pinned in a shell or `.env`), and that only `CHECKLY_API_KEY` switches to API key credentials. - checkly login: `--wait`, the AI agent flow without "tell me when you're done", and how the two environment variables affect the login. - checkly whoami: the default and other accounts, `--output json` and its fields, and the inline login when not authenticated. - checkly switch: what it does without a terminal or under an AI agent, and the `CHECKLY_ACCOUNT_ID` precedence warning. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linear: RED-1122
Documents checkly/checkly-cli#1528. Like #561 and #564, this describes behaviour that ships in the next CLI release, so merge after checkly/checkly-cli#1528 is released.
Changes
cli/authentication.mdxCHECKLY_ACCOUNT_IDfor one command, andCHECKLY_ACCOUNT_IDin a shell or.env(for example, to pin a project to an account while each developer uses their own login).CHECKLY_API_KEYswitches the CLI to API key credentials.cli/checkly-login.mdx--waitoption, and the AI agent flow: the agent relays the code, then runslogin --wait, so you don't have to say when you're done.CHECKLY_API_KEYandCHECKLY_ACCOUNT_IDaffectlogin.cli/checkly-whoami.mdx--output jsonand its fields (accountSource,defaultAccount, …).cli/checkly-switch.mdxCHECKLY_ACCOUNT_IDis set.The example output was taken from a build of the CLI PR; IDs and names are replaced with the placeholders the pages already use.
🤖 Generated with Claude Code