Skip to content

bug(ui): Azure WIF private key field missing required attribute — account saves without credentials #14

@rocketri

Description

@rocketri

Summary

In Settings → Accounts → Add Azure Account, when Auth Mode is set to Workload Identity Federation, the RSA Private Key textarea (#account-azure-wif-private-key) has no required attribute. The form can be submitted without entering a key.

Impact

The account record is created successfully but credentials_configured will be false. The account test will fail but there is no inline warning at submission time — the user has to discover this after the fact.

Steps to Reproduce

  1. Settings → Accounts → + Add Account (Azure)
  2. Leave Auth Mode as Workload Identity Federation
  3. Fill in Name, Subscription ID, Tenant ID, Client ID
  4. Leave the RSA Private Key textarea empty
  5. Click Save Account — form submits without error

Expected Behaviour

The form should block submission and highlight the private key field when it is empty in WIF mode. Alternatively, a clear post-save warning should indicate that credentials are still needed.

🤖 Found via Playwright Azure UX test

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions