Innføre managed identity for OEDs Azure-infrastruktur

Open
#1,932 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
azure, postgresql, terraform

Research direction

Start by reading the infrastructure definitions in Altinn/dd-infrastructure and identify the OED web apps, function apps, and A3 apps in AKS that consume Azure resources. Then map their current authentication methods and required role assignments; the issue notes some roles need an Entra admin and local development needs another authentication path. Done means consumers use token based connections and password or key access is disabled where no longer needed.

Written by the indexing model from the issue text.

Description

Vi ønsker å gå over til managed identity / Entra-autentisering for OEDs Azure-ressurser i Altinn/dd-infrastructure, slik at appene og tjenestene våre ikke lenger er avhengige av passord og delte nøkler.

Omfang:

  • Gi hver konsument (web-apper, function apps og A3-apper i AKS) en identitet og nødvendige rolletildelinger.
  • Oppdater appene til å bruke tokenbaserte tilkoblinger.
  • Slå av passord- og nøkkelbasert tilgang når den ikke lenger er i bruk.

Ulemper som må vurderes:

  • Kodeendringer i alle konsumenter.
  • Enkelte roller må opprettes av en Entra-admin og kan ikke håndteres fullt ut i Terraform.
  • Lokal utvikling trenger en annen autentiseringsvei.
  • Enkelte tjenester kan kreve endring av SKU eller versjon.
  • Tilgang fra A3 apps til f.eks. Postgresql i vår RG kan være vrient?

Detaljer om berørte ressurser dokumenteres i en lukket sikkerhetsrådgivning: https://github.com/Altinn/dd-infrastructure/security/advisories/GHSA-3wx4-c2vc-gfcw

Dominant language
No language data
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Altinn/oed

All issues in Altinn/oed

Similar issues

More Security issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.