Skip to content

[DTOSS-13060]: add CLOUD_API_RESOURCE env var for cloud API token scoping - #123

Merged
josielsouzanordcloud merged 1 commit into
mainfrom
DTOSS-13060-add-cloud-api-resource-env-var
Jun 3, 2026
Merged

[DTOSS-13060]: add CLOUD_API_RESOURCE env var for cloud API token scoping#123
josielsouzanordcloud merged 1 commit into
mainfrom
DTOSS-13060-add-cloud-api-resource-env-var

Conversation

@josielsouzanordcloud

@josielsouzanordcloud josielsouzanordcloud commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Pipeline queries Azure AD at deploy time for the client ID of spn-manbrs-web-api-<env> and sets CLOUD_API_RESOURCE in the gateway .env
  • CLOUD_API_RESOURCE is included in the .env written to each Arc machine via deploy_arc_ring.sh
  • .env.development updated with an empty placeholder and comment for local dev

Test plan

  • Verify az ad sp list --display-name spn-manbrs-web-api-dev resolves the correct client ID in the dev pipeline
  • Confirm CLOUD_API_RESOURCE is present in .env on the gateway VM after a deploy
  • Confirm upload service uses the resolved value when requesting a Managed Identity token

…SS-13060)

Pipeline queries Azure AD for the client ID of spn-manbrs-web-api-<env> at deploy time
and writes CLOUD_API_RESOURCE into the gateway .env via deploy.ps1.
@josielsouzanordcloud josielsouzanordcloud changed the title feat: add CLOUD_API_RESOURCE env var for cloud API token scoping (DTOSS-13060) [DTOSS-13060]: add CLOUD_API_RESOURCE env var for cloud API token scoping Jun 3, 2026

@steventux steventux 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.

🌩️

@josielsouzanordcloud
josielsouzanordcloud merged commit 1dcf5c7 into main Jun 3, 2026
15 of 16 checks passed
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.

2 participants