Skip to content

Add mount point to HashiCorp Vault manager - #82

Merged
sduenas merged 1 commit into
chaoss:mainfrom
sduenas:vault-mount-point
Nov 23, 2026
Merged

sduenas merged 1 commit into
chaoss:mainfrom
sduenas:vault-mount-point

Conversation

@sduenas

@sduenas sduenas commented Nov 23, 2026

Copy link
Copy Markdown
Member

Secrets were always read from the KV version 2 secrets engine mounted at 'secret'. Vault and OpenBao installations can mount the engine at other paths, like a dedicated one for GrimoireLab.

HashicorpManager accepts the parameter mount_point to read secrets from the engine mounted at that path. By default, it is 'secret', so the behaviour doesn't change for existing users. The mount point is also included in the error raised when a secret is not found.

The README example of resolve_credentials is fixed too. It used 'secret/my-service' as the name of the secret, but the name is relative to the mount point, so it should be 'my-service'.

Secrets were always read from the KV version 2 secrets engine
mounted at 'secret'. Vault and OpenBao installations can mount
the engine at other paths, like a dedicated one for GrimoireLab.

`HashicorpManager` accepts the parameter `mount_point` to read
secrets from the engine mounted at that path. By default, it
is 'secret', so the behaviour doesn't change for existing
users. The mount point is also included in the error raised
when a secret is not found.

The README example of `resolve_credentials` is fixed too. It
used 'secret/my-service' as the name of the secret, but the
name is relative to the mount point, so it should be
'my-service'.

Signed-off-by: Santiago Dueñas <sduenas@grimoirelab.org>
Assisted-by: Claude:claude-opus-5.5

@sduenas sduenas left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sduenas sduenas moved this to 2.0-alpha3 in GrimoireLab Roadmap Nov 23, 2026
@sduenas
sduenas merged commit 8f98f9a into chaoss:main Nov 23, 2026
5 checks passed
@sduenas
sduenas deleted the vault-mount-point branch November 23, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 2.0-alpha3

Development

Successfully merging this pull request may close these issues.

1 participant