Azure / Azure/azure-powershell

[Feature]: ARM OBO token and header support

Open
#25,462 2 comments 0 reactions 0 assignees View on GitHub
feature-request needs-team-attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description of the new feature

We'd like to enable scenarios that'd make it possible to use Az powershell with [ARM OBO token](https://eng.ms/docs/products/arm/rbac/authentication/getting_obo_token).
Assuming the token itself is just a regular AAD access token we'd still need the ability to specify a couple of required headers.

### Proposed implementation details (optional)

A couple of alternatives
- Accept `-Headers` parameters in `Invoke-AzRestMethod`
- Accept the correlationId and OBO token as part of `Connect-AzAccount` and inject it in all subsequent ARM calls

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.