Repository navigation
fix: Correct Azure auth provider configuration in docs - #1928
Conversation
Dependency Review✅ No vulnerabilities or license issues found.Scanned FilesNone |
… docs All Azure providers (device-code, oidc, service-principal) require their configuration to be nested under a `spec` block. Update all Azure provider examples in the tutorial and blog post to use the correct YAML structure. Files updated: - website/docs/tutorials/azure-authentication.mdx (8 examples) - website/blog/2025-11-07-azure-authentication-support.mdx (4 examples) 🤖 Generated with Claude Code Co-Authored-By: Claude Opus 4.5 <[email protected]>
12f251f to
2af03fa
Compare
📝 WalkthroughWalkthroughDocumentation updates to Azure authentication guides that restructure configuration examples, moving authentication provider fields (tenant_id, client_id, subscription_id, location) from top-level keys into a nested spec object across multiple authentication methods (device-code, OIDC, service-principal, multi-subscription). Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (3)website/**📄 CodeRabbit inference engine (.cursor/rules/atmos-rules.mdc)
Files:
website/docs/**/*.mdx📄 CodeRabbit inference engine (CLAUDE.md)
Files:
website/blog/**/*.mdx📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (1)📓 Common learnings⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (6)
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1928 +/- ##
=======================================
Coverage 73.61% 73.61%
=======================================
Files 744 744
Lines 67665 67665
=======================================
+ Hits 49810 49811 +1
+ Misses 14470 14468 -2
- Partials 3385 3386 +1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
📝 WalkthroughWalkthroughAzure authentication configuration documentation updates the YAML structure for all providers by nesting credential fields ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (3)website/**📄 CodeRabbit inference engine (.cursor/rules/atmos-rules.mdc)
Files:
website/blog/**/*.mdx📄 CodeRabbit inference engine (CLAUDE.md)
Files:
website/docs/**/*.mdx📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (1)📓 Common learnings⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (3)
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 |
There was a problem hiding this comment.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
website/docs/tutorials/azure-authentication.mdx (1)
27-429: The documentation references an unsupported provider kind:azure/service-principaldoes not exist in the implementation.Lines 173-187 show a "Service Principal (Client Credentials)" section with
kind: azure/service-principal, but the codebase factory only supportsazure/device-code,azure/oidc, andazure/cli. Attempting to use this provider kind will fail with "unsupported provider kind" error.Either implement the
azure/service-principalprovider or remove this section and useazure/oidcwith service principal credentials instead (OIDC already supports service principals via federated token flow as shown in the code).
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (2)
website/blog/2025-11-07-azure-authentication-support.mdxwebsite/docs/tutorials/azure-authentication.mdx
🧰 Additional context used
📓 Path-based instructions (3)
website/**
📄 CodeRabbit inference engine (.cursor/rules/atmos-rules.mdc)
website/**: Update website documentation in thewebsite/directory when adding new features, ensure consistency between CLI help text and website documentation, and follow the website's documentation structure and style
Keep website code in thewebsite/directory, follow the existing website architecture and style, and test website changes locally before committing
Keep CLI documentation and website documentation in sync and document new features on the website with examples and use cases
Files:
website/blog/2025-11-07-azure-authentication-support.mdxwebsite/docs/tutorials/azure-authentication.mdx
website/blog/**/*.mdx
📄 CodeRabbit inference engine (CLAUDE.md)
Blog posts MUST use
.mdxwith YAML front matter (slug, title, authors, tags),<!--truncate-->after intro. Only use tags defined inwebsite/blog/tags.yml(never invent new tags). Only use authors fromwebsite/blog/authors.ymlor add new entry. Valid tags: feature, enhancement, bugfix, dx, breaking-change, security, documentation, deprecation, core
Files:
website/blog/2025-11-07-azure-authentication-support.mdx
website/docs/**/*.mdx
📄 CodeRabbit inference engine (CLAUDE.md)
Build the website after documentation changes:
cd website && npm run buildto verify no broken links, missing images, or MDX component rendering issues
Files:
website/docs/tutorials/azure-authentication.mdx
🧠 Learnings (1)
📓 Common learnings
Learnt from: osterman
Repo: cloudposse/atmos PR: 1686
File: docs/prd/tool-dependencies-integration.md:58-64
Timestamp: 2025-12-13T06:07:37.766Z
Learning: cloudposse/atmos: For PRD docs (docs/prd/*.md), markdownlint issues like MD040/MD010/MD034 can be handled in a separate documentation cleanup commit and should not block the current PR.
Learnt from: Listener430
Repo: cloudposse/atmos PR: 934
File: tests/fixtures/scenarios/docs-generate/README.md.gotmpl:99-118
Timestamp: 2025-01-25T03:51:57.689Z
Learning: For the cloudposse/atmos repository, changes to template contents should be handled in dedicated PRs and are typically considered out of scope for PRs focused on other objectives.
⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Acceptance Tests (macos)
- GitHub Check: Acceptance Tests (windows)
- GitHub Check: Summary
🔇 Additional comments (3)
website/docs/tutorials/azure-authentication.mdx (1)
27-46: Configuration structure looks good.The
spec:nesting for device-code provider credentials is consistent and properly indented.website/blog/2025-11-07-azure-authentication-support.mdx (2)
29-48: Blog examples correctly match tutorial structure.The device-code configuration uses the same
spec:nesting pattern as the tutorial documentation.
126-282: Remaining configuration examples are consistent.All Azure provider configurations in the blog post correctly use the
spec:nesting pattern, matching the tutorial documentation structure.
|
These changes were released in v1.203.0. |
what
tenant_id,subscription_id,location, and other provider-specific fields under aspecblock for all Azure providers (device-code, oidc, service-principal)why
Azure authentication providers require configuration to be nested under a
specblock according to the schema and provider implementation. The documentation was showing an incorrect structure that would fail when users attempted to use it. This fix aligns the documentation with the actual implementation.references
User report: Azure authentication tutorial showed incorrect YAML configuration structure with provider-specific fields at the top level instead of nested under
specSummary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.