Skip to content

feat: add DD_ORG_UUID to datadog-agent-config crate#112

Open
jchrostek-dd wants to merge 1 commit intomainfrom
john/aws-auth
Open

feat: add DD_ORG_UUID to datadog-agent-config crate#112
jchrostek-dd wants to merge 1 commit intomainfrom
john/aws-auth

Conversation

@jchrostek-dd
Copy link
Copy Markdown
Contributor

Summary

  • Adds DD_ORG_UUID (org_uuid) field to EnvConfig in the datadog-agent-config crate
  • Adds dd_org_uuid: String to the Config struct with an empty string default
  • Wires up the merge_string! so the env var is applied during config loading

Context

This field is needed to support delegated AWS authentication in the Lambda extension (DataDog/datadog-lambda-extension#1112). When DD_ORG_UUID is set, the extension uses AWS credentials to obtain a managed API key instead of requiring a static DD_API_KEY. Adding it to the shared crate makes it available to other consumers.

Test plan

  • Existing test_all_env_fields_wrong_type_fallback_to_default field-count guard updated
  • All 78 datadog-agent-config tests pass

🤖 Generated with Claude Code

Adds the `DD_ORG_UUID` config field to the shared `datadog-agent-config`
crate to support delegated AWS authentication. When set, consumers can
use this field to auto-enable AWS credential-based auth instead of a
static API key.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@jchrostek-dd jchrostek-dd requested a review from a team as a code owner April 2, 2026 23:44
Copilot AI review requested due to automatic review settings April 2, 2026 23:44
@jchrostek-dd jchrostek-dd requested a review from a team as a code owner April 2, 2026 23:44
@jchrostek-dd jchrostek-dd requested review from duncanista and duncanpharvey and removed request for a team and Copilot April 2, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant