Skip to content

Conversation

gladjohn
Copy link
Contributor

[MSI v2] - Enable attestation in pop flows

@gladjohn gladjohn requested a review from a team as a code owner September 22, 2025 23:29
Copy link
Member

@bgavrilMS bgavrilMS left a comment

Choose a reason for hiding this comment

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

Approved, but I have lots of minor comments.

@gladjohn gladjohn force-pushed the gladjohn/attested_flow branch from 6a926fb to 1c409a4 Compare September 25, 2025 18:16
@gladjohn gladjohn force-pushed the gladjohn/attested_flow branch from 1c409a4 to ae959d9 Compare September 27, 2025 18:32
Comment on lines 77 to 78
bool useInMemoryKeys = false,
bool useKeyGuardKeys = false)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we just use the useKeyGuardKeys = true? And use InMemory if it's passed in as false? Do you see value in using 2 different params?

Copy link
Contributor Author

@gladjohn gladjohn Sep 29, 2025

Choose a reason for hiding this comment

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

this way we know specifically what we are to expect. alternatively, we can pass the key type.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated to use key type instead.

Comment on lines 602 to 605
var mi = await CreateManagedIdentityAsync(httpManager, useKeyGuardKeys: true).ConfigureAwait(false);

// CSR for both the probe and the actual request
httpManager.AddMockHandler(MockHelpers.MockCsrResponse());
Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated the comment to

// CreateManagedIdentityAsync does a probe; Add one more CSR response for the actual acquire.

@gladjohn gladjohn merged commit 89ff42a into rginsburg/msiv2_feature_branch Sep 29, 2025
3 checks passed
@gladjohn gladjohn deleted the gladjohn/attested_flow branch September 29, 2025 20:38
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.

3 participants