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

credential-process selects cert with latest expiry if cert-selector matches multiple certs #47

Open
swansonaj opened this issue Aug 16, 2023 · 0 comments

Comments

@swansonaj
Copy link

According to current documentation: "... if more than one certificate matches the --cert-selector parameter within the OS-specific secure store, the credential-process command will fail.". Instead of failing I suggest the credential-process select the cert with the latest expiration date if the cert-selector matches multiple certs in the OS secure store. This could come in handy, for example, when certs are automatically rotated/updated causing multiple matching certs to exist in the secure store for some time period. With the right cert-selector and this modified behavior of the credential-process the cert-selector would not have to be modified to start using the new cert.

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

No branches or pull requests

1 participant