Skip to content

feat: make cert auth mount path configurable#5400

Merged
Skarlso merged 4 commits intoexternal-secrets:mainfrom
shaxbee:feat/vault-auth-cert-path
Oct 3, 2025
Merged

feat: make cert auth mount path configurable#5400
Skarlso merged 4 commits intoexternal-secrets:mainfrom
shaxbee:feat/vault-auth-cert-path

Conversation

@shaxbee
Copy link
Copy Markdown
Contributor

@shaxbee shaxbee commented Oct 2, 2025

Problem Statement

Hardcoded Vault Cert auth path prevents authentication when the Cert auth method is mounted at a non-default path. Current code targets auth/cert/login only, causing failures in clusters where the backend is mounted elsewhere

Related Issue

Proposed Changes

  • Add path field to VaultCertAuth spec with a safe default (cert).
  • Use configured path when performing Cert auth.

Checklist

  • I have read the contribution guidelines
  • All commits are signed with git commit --signoff
  • My changes have reasonable test coverage
  • All tests pass with make test
  • I ensured my PR is ready for review with make reviewable

@github-actions github-actions bot added kind/feature Categorizes issue or PR as related to a new feature. size/xs labels Oct 2, 2025
@shaxbee shaxbee force-pushed the feat/vault-auth-cert-path branch from 8b57626 to a42a78c Compare October 2, 2025 11:30
@github-actions github-actions bot added kind/documentation Categorizes issue or PR as related to documentation. size/s labels Oct 2, 2025
Signed-off-by: Zbigniew Mandziejewicz <shaxbee@gmail.com>
@shaxbee shaxbee force-pushed the feat/vault-auth-cert-path branch from a42a78c to 97d0c86 Compare October 3, 2025 03:59
Signed-off-by: Zbigniew Mandziejewicz <shaxbee@gmail.com>
@shaxbee shaxbee force-pushed the feat/vault-auth-cert-path branch from d2f5de5 to 90ff639 Compare October 3, 2025 05:56
@Skarlso
Copy link
Copy Markdown
Contributor

Skarlso commented Oct 3, 2025

/ok-to-test sha=90ff63941065cf1eac0d266e0929026f8959651d

@eso-service-account-app
Copy link
Copy Markdown
Contributor

Signed-off-by: Zbigniew Mandziejewicz <shaxbee@gmail.com>
@shaxbee shaxbee force-pushed the feat/vault-auth-cert-path branch from 66aa4a8 to f7f45c6 Compare October 3, 2025 08:07
@Skarlso
Copy link
Copy Markdown
Contributor

Skarlso commented Oct 3, 2025

/ok-to-test sha=f7f45c616c4ce4b3176aa0cb16c998d747e0b013

@eso-service-account-app
Copy link
Copy Markdown
Contributor

[Bot] - ✅ e2e for passed

@eso-service-account-app
Copy link
Copy Markdown
Contributor

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Oct 3, 2025

@Skarlso Skarlso merged commit ea11b0a into external-secrets:main Oct 3, 2025
30 checks passed
SamuelMolling pushed a commit to SamuelMolling/external-secrets that referenced this pull request Oct 24, 2025
* feat: vault auth cert path

Signed-off-by: Zbigniew Mandziejewicz <shaxbee@gmail.com>

* chore: mark VaultCertAuth.Path as optional

Signed-off-by: Zbigniew Mandziejewicz <shaxbee@gmail.com>

* chore: set default VaultCertAuth path if not specified

Signed-off-by: Zbigniew Mandziejewicz <shaxbee@gmail.com>

---------

Signed-off-by: Zbigniew Mandziejewicz <shaxbee@gmail.com>
Co-authored-by: Gergely Brautigam <skarlso777@gmail.com>
Signed-off-by: Samuel Molling <samuelmolling@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/documentation Categorizes issue or PR as related to documentation. kind/feature Categorizes issue or PR as related to a new feature. size/s size/xs

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants