Skip to content

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