infisical icon indicating copy to clipboard operation
infisical copied to clipboard

incomplete or empty template (for secret template) from Infisical agent on windows

Open MVadala-BW opened this issue 1 year ago • 0 comments

Describe the bug

when I launch:

infisical agent --config agent-config-file.yaml

It doesn't matter what the secret template contains, it always returns:

ERR unable to process template because template: secret-template: "secret-template" is an incomplete or empty template

To Reproduce

Steps to reproduce the behavior: Try to use Infisical agent on windows platform, using secret template.

Expected behavior

Should be able to read my secret, I got it working well yesterday on linux.

Platform you are having the issue on:

Windows 11, agent installed following the documentation ( through scoop)

Additional context

I also noted another difference behavior on the clients: in linux works well the agent template with "" for the paths, meanwhile on windows give me the error:

ERR Unable to prase agent-config-file.yaml because yaml: line 6: did not find expected hexdecimal number. Please ensure that is follows the Infisical Agent config structure

So, I removed the "" for the paths parameters and works well.

MVadala-BW avatar Aug 22 '24 12:08 MVadala-BW