hashicorp / hashicorp/vault-plugin-secrets-openldap

How to rotate client certificate

Open
#19 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
20
Forks
12
Avg merge
16h 11m
Merged PRs (30d)
1

Description

My ldap server expects client certificates, which is not a problem, as I can supply them with tls_client_X in the config of the ldap backend.

The problem is how am I supposed to rotate the certificates? Vault itself generates those and I want to make them short lived. But I can't update them after the fact because the password is required for the `/config` endpoint and I don't have that any more after `/rotate-root`.

In general, it would be way more convenient to be able to specify certificate files, so I can just use the regular way of vault agent to keep renewing the certificates.

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the LDAP backend's /config handling, the tls_client_X settings, and the interaction with /rotate-root. Compare certificate-file support with another rotation approach, then confirm the intended design with maintainers; done should include a documented way to renew short-lived client certificates without the old password.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.