NetSPI / NetSPI/MicroBurst

Get-AzPasswords - Add Assignable Scope Options for Token Generation

Open
#17 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
PowerShell
Stars
2.4k
Forks
340
PR merge metrics
No merged PRs in 30d

Description

When getting Managed Identity tokens with Get-AzPasswords and AKS clusters, the token is currently scoped to management.azure.com. It would be helpful to have additional services as scopes that could be selected as parameters.

Lines 800-824 cover the Managed Identity token generation in Get-AzPasswords.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start in Get-AzPasswords around lines 800-824, where Managed Identity token generation currently uses management.azure.com as its scope. Trace the existing parameters and token request, then define the selectable service scopes and verify that the default scope still works alongside the new options.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
authentication, cloud, security
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.