You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The conjur_variable lookup plugin takes in a variable path:
"{{ lookup('cyberark.conjur.conjur_variable', '/path/to/secret namespace/secret maybe with spaces') }}"
It's important that the variable path is not urlencoded - the lookup plugin will urlencode the path before sending the request to Conjur.
In particular, if the path is pre-cleaned so that spaces are replaced by + symbols, the lookup plugin will treat the + as a literal +, and not as a symbol that represents a space.
We should also consider adding a preliminary troubleshooting section to the README that includes this case:
You have a variable with spaces in its path, like /path/to/secret namespace/secret with spaces
You pass it to the lookup plugin as /path/to/secret+namespace/secret+with+spaces
The
conjur_variable
lookup plugin takes in a variable path:It's important that the variable path is not urlencoded - the lookup plugin will urlencode the path before sending the request to Conjur.
In particular, if the path is pre-cleaned so that spaces are replaced by
+
symbols, the lookup plugin will treat the+
as a literal+
, and not as a symbol that represents a space.We should also consider adding a preliminary troubleshooting section to the README that includes this case:
/path/to/secret namespace/secret with spaces
/path/to/secret+namespace/secret+with+spaces
AC:
The text was updated successfully, but these errors were encountered: