Skip to content

Conversation

@chlowell
Copy link
Member

This is the azcore side of #14931. I'm targeting the beta branch because the end-to-end scenario requires an azidentity beta. ARM is the only SDK service that supports CAE (continuous access evaluation) today. Briefly, it works like this: ARM evaluates security policies for the access token attached to each request. When a token doesn't satisfy policy, ARM responds 401 with an authentication challenge. The client must retry the request with a new access token having the claims specified by the challenge. So, this PR adds challenge handling to ARM's auth policy, and a TokenRequestOptions.Claims field that enables the policy to request claims when calling GetToken().

@chlowell chlowell added Mgmt This issue is related to a management-plane library. Azure.Core labels Jan 31, 2023
@chlowell chlowell merged commit 871e10b into Azure:release/azcore-1.4.0-beta Feb 2, 2023
@chlowell chlowell deleted the cae-azcore branch February 2, 2023 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Azure.Core Mgmt This issue is related to a management-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants