Skip to content
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

SAS token removal from team/user store #8246

Merged
merged 5 commits into from
May 10, 2024

Conversation

JimSuplizio
Copy link
Member

@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 weshaggard and a team 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
Member 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
Member Author

/check-enforcer override

@JimSuplizio JimSuplizio merged commit ffbb204 into Azure:main May 10, 2024
4 checks passed
@JimSuplizio JimSuplizio deleted the TeamUserStoreNoSAS branch May 13, 2024 15:21
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