Skip to content

Rename AA_ env var prefix to AGENTWRIT_ #44

@devonartis

Description

@devonartis

Summary

Broker still uses AA_ prefix for all environment variables (AA_ADMIN_SECRET, AA_PORT, AA_BIND_ADDRESS, etc.). After the rebrand to AgentWrit, these should be AGENTWRIT_ADMIN_SECRET, AGENTWRIT_PORT, etc.

Users seeing AA_ in docker-compose or docs have no idea what it stands for without knowing the pre-rebrand history.

Affected env vars

  • AA_ADMIN_SECRETAGENTWRIT_ADMIN_SECRET
  • AA_PORTAGENTWRIT_PORT
  • AA_BIND_ADDRESSAGENTWRIT_BIND_ADDRESS
  • AA_SEED_TOKENSAGENTWRIT_SEED_TOKENS
  • AA_LOG_LEVELAGENTWRIT_LOG_LEVEL
  • AA_DB_PATHAGENTWRIT_DB_PATH
  • AA_SIGNING_KEY_PATHAGENTWRIT_SIGNING_KEY_PATH
  • AA_CONFIG_PATHAGENTWRIT_CONFIG_PATH
  • AA_TLS_MODEAGENTWRIT_TLS_MODE
  • AA_TLS_CERTAGENTWRIT_TLS_CERT
  • AA_TLS_KEYAGENTWRIT_TLS_KEY
  • AA_TLS_CLIENT_CAAGENTWRIT_TLS_CLIENT_CA
  • AA_AUDIENCEAGENTWRIT_AUDIENCE
  • AA_APP_TOKEN_TTLAGENTWRIT_APP_TOKEN_TTL
  • AA_HOST_PORTAGENTWRIT_HOST_PORT

Approach

Accept both prefixes during transition (check AGENTWRIT_ first, fall back to AA_), then deprecate AA_ in a future release.

Workaround

Python SDK repo maps AGENTWRIT_AA_ in docker-compose.yml so users never see the old prefix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions