Skip to content

Authorize both bootstrap identities - #2176

Draft
kin0992 wants to merge 1 commit into
mainfrom
fixes/bootstrap-directory-readers-identities
Draft

Authorize both bootstrap identities#2176
kin0992 wants to merge 1 commit into
mainfrom
fixes/bootstrap-directory-readers-identities

Conversation

@kin0992

@kin0992 kin0992 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • submit both bootstrap CI and CD managed identity names in Azure authorization requests
  • preserve existing service principals while appending missing identities in stable order and removing duplicates
  • cover full insertion, partial migration, idempotent no-op behavior, and CI environment wiring
  • add a patch version plan for @pagopa/dx-cli

Why

Bootstrap pull-request plans run with the dedicated *-bootstrap-ci-id-01 managed identity and need to resolve Entra groups. The CLI previously requested Directory Readers membership only for the CD identity, leaving the CI plan identity without the required directory lookup permission.

Validation

  • pnpm nx run-many -t test lint typecheck build -p @pagopa/dx-cli --parallel=4

Resolves CES-2255

Bootstrap plans use a dedicated CI managed identity that also needs Entra directory lookup access. Submit and idempotently upsert both CI and CD identities in Azure authorization requests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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