Skip to content

[DRAFT] MSI v2 e2e #5438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

[DRAFT] MSI v2 e2e #5438

wants to merge 1 commit into from

Conversation

gladjohn
Copy link
Contributor

Draft pull request to show the new MSI V2 e2e flow.

  • Next iteration will have fix for tests
  • Add Key management and attestation support


//
// STEP 4: Call /issuecredential endpoint
// - POST /metadata/identity/issuecredential?cid={CUID}&uaid={client_id}&api-version=2025-05-01
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be cred-api-version=2.0

{
//
// STEP 1: Retrieve platform metadata
// - Endpoint: GET /metadata/identity/getPlatformMetadata?api-version=2025-05-01
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be cred-api-version=2.0

/// Detects and returns the managed identity source available on the environment asynchronously.
/// </summary>
/// <returns>A task representing the asynchronous operation. The task result contains the managed identity source detected on the environment if any.</returns>
public static async Task<ManagedIdentitySource> GetManagedIdentitySourceAsync(CancellationToken cancellationToken = default)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove static from here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants