docs: Enhance atmos auth env documentation#1778
Conversation
… --login flag Add comprehensive documentation covering: - How `atmos auth env` works (outputs environment variables, doesn't perform auth) - When to use `atmos auth env` vs `atmos auth shell` - Shell profile integration and safety (no login prompts on startup) - Warp terminal integration - Helper function for identity switching (`use-identity`) - Provider-specific environment variables (AWS, GitHub OIDC) - Complete --login flag documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Warning Rate limit exceeded@osterman has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 8 minutes and 18 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughDocumentation update to the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Dependency Review✅ No vulnerabilities or license issues found.Scanned FilesNone |
…ogin flag The previous wording incorrectly stated the command does not perform authentication. It does when the --login flag is specified. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1778 +/- ##
==========================================
- Coverage 70.66% 70.65% -0.02%
==========================================
Files 430 430
Lines 39707 39707
==========================================
- Hits 28059 28055 -4
- Misses 9261 9263 +2
- Partials 2387 2389 +2
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
… shell Removed incorrect claim about Warp environment variables persisting across panes and updated the Warp Terminal section to explain why users should use `atmos auth env` instead of `atmos auth shell` with feature-rich terminals. The `atmos auth shell` command launches a subshell that loses terminal emulator features like command palette, AI assistant, and blocks. Using `atmos auth env` with a helper function like `use-identity()` maintains the terminal's UI while providing credential management. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Corrected internal documentation links to use proper URL pattern without 'auth-' prefix: - /cli/commands/auth/auth-shell → /cli/commands/auth/shell - /cli/commands/auth/auth-login → /cli/commands/auth/login - /cli/commands/auth/auth-whoami → /cli/commands/auth/whoami The correct URL pattern matches the 'id' field in frontmatter and is consistent with how other auth command documentation files reference these commands. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
We use Warp too. More and more of our customers do as well. =) |
Improved documentation structure: - Moved format descriptions from standalone "Formats" section to --format flag documentation - Relocated "Helper Function for Identity Switching" to appear immediately after basic shell profile example - Updated Warp Terminal info box reference from "shown below" to "shown above" This reorganization makes it clearer that formats are controlled by the --format flag and provides better flow by showing the helper function right after the basic usage example. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
These changes were released in v1.198.0-test.12. |
Summary
Comprehensive documentation improvements for
atmos auth envcommand addressing real-world usage patterns discovered in community feedback. Adds missing--loginflag documentation, shell integration guidance, and practical examples including a provider-agnostic identity switching helper function.Changes
--loginflag for explicit authentication triggeringuse-identityhelper functionauth envvsauth shellContext
Addresses questions raised by users about using
atmos auth envin shell profiles without triggering login prompts, and documents the--loginflag that was previously undocumented.🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
--loginflag toatmos auth envcommand for explicit authentication control. By default, cached credentials are used unless the flag is specified.Documentation