Skip to content

Document Azure credential controls for cloud metadata - #8206

Draft
zmoog wants to merge 2 commits into
mainfrom
zmoog/add-cloud-metadata-azure-credentials
Draft

Document Azure credential controls for cloud metadata#8206
zmoog wants to merge 2 commits into
mainfrom
zmoog/add-cloud-metadata-azure-credentials

Conversation

@zmoog

@zmoog zmoog commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Explain that the default add_cloud_metadata processor performs a best-effort AKS metadata lookup after detecting an Azure VM, including non-AKS VMs.
  • Document how Azure development credentials can launch child processes on Windows.
  • Recommend AZURE_TOKEN_CREDENTIALS=prod for production and describe its scope and limitations.

Relates to https://github.com/elastic/sdh-beats/issues/7522.

Generative AI disclosure

  1. Did you use a generative AI (GenAI) tool to assist in creating this contribution?
  • Yes
  • No
  1. If you answered "Yes" to the previous question, please specify the tool(s) and model(s) used.

Tool(s) and model(s) used: Cursor with GPT-5.6 Sol for research, drafting, and review. All technical claims were verified against the Azure SDK for Go and Elastic Agent/Beats source.

Made with Cursor

Explain why the default cloud metadata processor can invoke Azure development credentials and how production deployments can restrict the DefaultAzureCredential chain.

AI-Assisted: Cursor
Co-authored-by: Cursor <cursoragent@cursor.com>
@zmoog zmoog added the docs label Sep 4, 2026
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

🔍 Preview links for changed docs

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Elastic Docs Style Checker (Vale)

Summary: 2 suggestions found

💡 Suggestions (2): Optional style improvements. Apply when helpful.
File Line Rule Message
reference/fleet/add-cloud-metadata-processor.md 70 Elastic.Semicolons Use semicolons sparingly. Consider splitting the sentence or using a comma or conjunction.
reference/fleet/add-cloud-metadata-processor.md 75 Elastic.WordChoice Consider using 'deactivate, deselect, hide, turn off' instead of 'disable', unless the term is in the UI.

The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

Scope each documented behavior to the Elastic Agent versions that include the relevant Azure Identity SDK capability.

AI-Assisted: Cursor
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant