11
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2026-03-29 06:06:53 +00:00

fix: support dots in secret names

This commit is contained in:
attgua 2026-02-25 13:38:31 +01:00
parent 79632e33d6
commit 30c3ec5dbf

View file

@ -158,7 +158,10 @@ const selectAndAppendResults = async (
secretRequest,
results
) => {
if (!selector.includes(".")) {
if (selector.includes(".")) {
const backtick = '`';
selector = backtick.concat(selector, backtick);
} else {
selector = '"' + selector + '"';
}
selector = "data." + selector;