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:
parent
79632e33d6
commit
30c3ec5dbf
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue