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

Move utility functions dealing with IAM to libs/iamutil #1820

Merged
merged 2 commits into from
Oct 10, 2024
Merged

Conversation

pietern
Copy link
Contributor

@pietern pietern commented Oct 10, 2024

Changes

The two functions GetShortUserName and IsServicePrincipal are unrelated to auth or the purpose of the auth package. This change moves them into their own package and updates IsServicePrincipal to take an *iam.User argument instead of a string username.

Tests

Tests pass.

@pietern
Copy link
Contributor Author

pietern commented Oct 10, 2024

Observed this while reviewing #1386.

@pietern pietern added this pull request to the merge queue Oct 10, 2024
Merged via the queue into main with commit 3270afa Oct 10, 2024
5 checks passed
@pietern pietern deleted the iamutil branch October 10, 2024 13:12
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