Skip to content

Conversation

@JimSuplizio
Copy link
Contributor

@JimSuplizio JimSuplizio commented May 10, 2024

Use azure credentials instead of the SAS token for the team/user store.

In the pipeline use the AzureCLI task to authenticate to the Azure SDK Artifacts, which has already been setup. As mentioned in the comments, we can't use the DefaultAzureCredential. The reason for this is because, in CI pipelines, it picks up the ManagedIdentityCredential over the AzureCliCredential and the AzureCliCredential is what we need to be using.

@JimSuplizio JimSuplizio self-assigned this May 10, 2024
@JimSuplizio JimSuplizio requested review from a team and weshaggard as code owners May 10, 2024 18:22
Copy link
Member

@weshaggard weshaggard left a comment

Choose a reason for hiding this comment

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

Just remember to undo your commented out stuff.

@JimSuplizio
Copy link
Contributor Author

I need to override check-enforcer. The reason is GitHubTeamUserStore can't automatically kick off a pipeline in PRs due to the number of GitHub API calls required to get the data (2000) and the fact that there's a 5000/hour limit in the PAT.

@JimSuplizio
Copy link
Contributor Author

/check-enforcer override

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