Format Conversion
TOML / INI / HCL / .env / Nix / dotenv ⇄ Kubernetes ConfigMap & Secret Config Format Bridge
Convert configuration files between dotenv .env, TOML, INI, Java .properties, YAML, JSON, HCL (Terraform/Vagrant native syntax) and Nix attribute sets, and emit Kubernetes ConfigMap or Secret manifests. Template placeholders (${VAR}, {{var}}, envsubst) are preserved verbatim, type inference provenance (string/int/float/bool/list) is tracked, HCL block labels fold into nested keys, and a round-trip diff calls out non-equivalent settings — dropped keys, re-typed values and rewrites — instead of coercing them silently.
Quick start
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/toml-ini-hcl-envfile-nix-dotenv-kubernetes-configmap-secret-config-format-bridge' \
-H 'Content-Type: application/json' \
-d '{"sourceText":"# app config\nDATABASE_HOST=localhost\nDATABASE_PORT=5432\nFEATURE_FLAGS=\"auth, beta\"\nAPI_KEY=\"sk-${VAULT_SECRET}\"\nDEBUG=true","sourceFormat":"auto","targetFormat":"k8s-configmap","manifestName":"my-app","showDiff":true}'