yq can be called as a module if needed. With -y/-Y, files can be edited in place like with sed -i: Because YAML treats JSON as a dialect of YAML, you can use yq to convert JSON to YAML: yq -y . < ...
It is assumed that Conjur OSS or Secrets Manager, Self-Hosted and the Secrets Manager CLI have already been installed in the environment and running in the background. If you haven't done so, follow ...