hashicorp / hashicorp/consul-template

Retrieve Secret Metadata Without Fetching the Secret in Vault

Open
#2,023 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
4.8k
Forks
801
Avg merge
4h 5m
Merged PRs (30d)
6

Description

Hi,

I’m trying to determine whether it’s possible to retrieve the metadata of a secret without fetching the secret itself. My goal is to first check the metadata and then decide whether to retrieve the secret using the with secret function.

Is this functionality natively supported, or would it require an enhancement?

The specific use case is to prevent the Vault Agent Injector from failing when the current version of a secret is deleted. Instead of failing, I want to be able to skip that specific secret gracefully.

Any insights or suggestions would be greatly appreciated!

Thanks!

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points; start by examining the Vault integration and the `with secret` function to determine whether metadata-only retrieval is supported. Done means establishing whether this requires an enhancement and defining graceful handling when the current secret version has been deleted.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.