Skip to content

fix: Correct Azure auth provider configuration in docs - #1928

Merged
Andriy Knysh (aknysh) merged 2 commits into
mainfrom
osterman/fix-docs-usage
Jan 2, 2026
Merged

Andriy Knysh (aknysh) merged 2 commits into
mainfrom
osterman/fix-docs-usage

Conversation

@osterman

@osterman Erik Osterman (Cloud Posse) (osterman) commented Jan 2, 2026 •

Copy link
Copy Markdown
Member

what

  • Correct Azure authentication provider YAML configuration structure in tutorial documentation
  • Move tenant_id, subscription_id, location, and other provider-specific fields under a spec block for all Azure providers (device-code, oidc, service-principal)
  • Update 8 Azure provider configuration examples throughout the tutorial

why

Azure authentication providers require configuration to be nested under a spec block 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 spec

Summary by CodeRabbit

  • Documentation
    • Updated Azure authentication configuration examples to reflect a restructured format where authentication provider parameters (tenant_id, subscription_id, location, etc.) are now organized under a nested spec object across all Azure authentication methods.

✏️ Tip: You can customize this high-level summary in your review settings.

@github-actions github-actions Bot added the size/s Small size PR label Jan 2, 2026
@osterman Erik Osterman (Cloud Posse) (osterman) added the no-release Do not create a new release (wait for additional code changes) label Jan 2, 2026
@github-actions

github-actions Bot commented Jan 2, 2026 •

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Files

None

… 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]>
@coderabbitai

coderabbitai Bot commented Jan 2, 2026 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

Documentation 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

Cohort / File(s) Summary
Azure Authentication Documentation
website/blog/2025-11-07-azure-authentication-support.mdx, website/docs/tutorials/azure-authentication.mdx
Restructured configuration examples to nest authentication provider fields under a new spec object for azure-dev, azure-ci, azure-automation, and azure-main providers across all authentication method sections (device-code, OIDC, service-principal, multi-subscription). Configuration values unchanged; only structural path modified.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly matches the main change: correcting Azure authentication provider configuration structure in documentation by moving fields under a spec block.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch osterman/fix-docs-usage

📜 Recent 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.

📥 Commits

Reviewing files that changed from the base of the PR and between fc38133 and 19f9bab.

📒 Files selected for processing (2)
  • website/blog/2025-11-07-azure-authentication-support.mdx
  • website/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 the website/ 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 the website/ 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/docs/tutorials/azure-authentication.mdx
  • 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 build to verify no broken links, missing images, or MDX component rendering issues

Files:

  • website/docs/tutorials/azure-authentication.mdx
website/blog/**/*.mdx

📄 CodeRabbit inference engine (CLAUDE.md)

Blog posts MUST use .mdx with YAML front matter (slug, title, authors, tags), <!--truncate--> after intro. Only use tags defined in website/blog/tags.yml (never invent new tags). Only use authors from website/blog/authors.yml or 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
🧠 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). (4)
  • GitHub Check: Acceptance Tests (linux)
  • GitHub Check: Acceptance Tests (macos)
  • GitHub Check: Acceptance Tests (windows)
  • GitHub Check: Summary
🔇 Additional comments (6)
website/blog/2025-11-07-azure-authentication-support.mdx (4)

34-37: Structure correction looks good.

The spec block properly encapsulates the provider-specific fields (tenant_id, subscription_id, location) for the device-code provider. This matches the schema requirements described in the PR objectives.


131-134: OIDC provider configuration updated correctly.

The OIDC-specific fields (tenant_id, client_id, subscription_id) are properly nested under the spec block, consistent with the device-code example.


185-189: Service principal configuration restructured properly.

All service-principal fields including the sensitive client_secret are correctly nested under spec. The inline security reminder is a helpful touch.


254-256: Multi-subscription example updated consistently.

The multi-subscription pattern correctly uses the spec block structure, matching all other examples in this file.

website/docs/tutorials/azure-authentication.mdx (2)

32-35: All eight configuration examples updated consistently.

Every Azure provider configuration throughout the tutorial now properly nests provider-specific fields under the spec block. The structure is consistent across:

  • Device-code authentication (5 examples)
  • OIDC authentication (2 examples)
  • Service principal authentication (1 example)

This comprehensive update aligns the documentation with the actual implementation requirements.

Also applies to: 72-75, 116-120, 184-189, 229-232, 364-366, 370-373, 401-403


1-530: Build the website to verify documentation renders correctly.

Per the coding guidelines, run cd website && npm run build to verify no broken links, missing images, or MDX component rendering issues after these documentation changes.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov

codecov Bot commented Jan 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.61%. Comparing base (fc38133) to head (19f9bab).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           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     
Flag Coverage Δ
unittests 73.61% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@coderabbitai

coderabbitai Bot commented Jan 2, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

Azure authentication configuration documentation updates the YAML structure for all providers by nesting credential fields (tenant_id, subscription_id, location, client_id) under a new spec: object. Values remain unchanged; only the organizational hierarchy is altered across device-code, interactive, oidc, and service-principal variants.

Changes

Cohort / File(s) Summary
Azure Authentication Documentation
website/blog/2025-11-07-azure-authentication-support.mdx, website/docs/tutorials/azure-authentication.mdx
Restructured YAML examples for all Azure auth providers (azure-dev, azure-ci, azure-automation, azure-main, and their variants) by moving credential fields into nested spec: blocks. Applies consistently across device-code, interactive, oidc, and service-principal authentication methods. No value changes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested reviewers

  • aknysh
  • milldr

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: correcting Azure auth provider configuration examples in documentation by moving fields under a spec block.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch osterman/fix-docs-usage

📜 Recent 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.

📥 Commits

Reviewing files that changed from the base of the PR and between e3a3d44 and 2af03fa.

📒 Files selected for processing (2)
  • website/blog/2025-11-07-azure-authentication-support.mdx
  • website/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 the website/ 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 the website/ 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.mdx
  • website/docs/tutorials/azure-authentication.mdx
website/blog/**/*.mdx

📄 CodeRabbit inference engine (CLAUDE.md)

Blog posts MUST use .mdx with YAML front matter (slug, title, authors, tags), <!--truncate--> after intro. Only use tags defined in website/blog/tags.yml (never invent new tags). Only use authors from website/blog/authors.yml or 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 build to 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.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-principal does 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 supports azure/device-code, azure/oidc, and azure/cli. Attempting to use this provider kind will fail with "unsupported provider kind" error.

Either implement the azure/service-principal provider or remove this section and use azure/oidc with 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.

📥 Commits

Reviewing files that changed from the base of the PR and between e3a3d44 and 2af03fa.

📒 Files selected for processing (2)
  • website/blog/2025-11-07-azure-authentication-support.mdx
  • website/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 the website/ 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 the website/ 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.mdx
  • website/docs/tutorials/azure-authentication.mdx
website/blog/**/*.mdx

📄 CodeRabbit inference engine (CLAUDE.md)

Blog posts MUST use .mdx with YAML front matter (slug, title, authors, tags), <!--truncate--> after intro. Only use tags defined in website/blog/tags.yml (never invent new tags). Only use authors from website/blog/authors.yml or 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 build to 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.

@github-actions

github-actions Bot commented Jan 2, 2026

Copy link
Copy Markdown

These changes were released in v1.203.0.

This branch was successfully deployed

1 active deployment
preview — 19f9babf Deployed Jan 2, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-release Do not create a new release (wait for additional code changes) size/s Small size PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants