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

loosen rbac for get cert - avoid checking every DNS in SAN #444

Merged
merged 3 commits into from
Nov 7, 2024

Conversation

meng-han
Copy link
Contributor

@meng-han meng-han commented Nov 7, 2024

Previous rbac for get certificate:

  • CN, and all DNS in SAN needs to match a single regex, and the outcome of 'service_name' needs to be matched to the kms auth identity.

Problem: this limits a lot of the freedom of how DNS in SAN can be defined, especially when 'service_name' does not need to be existent in SAN DNS, even just missing in one of the entries.

Change: loosen the rbac of get cert to just match against CN. For DNS list in SAN, we will skip checking against kms auth identity.

@meng-han meng-han changed the title loosen rbac for get cert loosen rbac for get cert - avoid checking every DNS in SAN Nov 7, 2024
@meng-han meng-han merged commit 1b4b1c4 into master Nov 7, 2024
6 checks passed
@meng-han meng-han deleted the loosenrbac branch November 7, 2024 23:01
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