I half sort of found a way to do this with #Infisical and #yq, by using props annotation and parsing it through yq:
infisical export --env=dev -fyaml | yq -pprops -o yaml
This get it's into properly formatted yaml. yq can also do the same in the opposite direction to import back into infisical.
And to support having .'s in keys, use \\x2e and pass it through echo:
echo -e "$(infisical export --env=dev -fyaml | yq -pprops -o yaml)"
infisical export --env=dev -fyaml | yq -pprops -o yaml
This get it's into properly formatted yaml. yq can also do the same in the opposite direction to import back into infisical.
And to support having .'s in keys, use \\x2e and pass it through echo:
echo -e "$(infisical export --env=dev -fyaml | yq -pprops -o yaml)"
