Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>AWS Secrets Manager ↔ .NET appsettings.json ConverterNew to Visual Studio Code? Get it now.
AWS Secrets Manager ↔ .NET appsettings.json Converter

AWS Secrets Manager ↔ .NET appsettings.json Converter

Bruno de Toledo

|
3 installs
| (0) | Free
Convert between flat JSON used in AWS Secrets Manager and hierarchical .NET appsettings.json format, using the __ separator for nested configuration keys.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AWS Secrets Manager ↔ .NET appsettings.json Converter

VS Code extension to convert flat JSON used in AWS Secrets Manager into hierarchical JSON in the .NET appsettings.json format — and back again.

Uses the standard .NET configuration key separator: __.


✨ Features

  • ✅ Flat → Hierarchical (AWS Secrets Manager → appsettings.json)
  • ✅ Hierarchical → Flat (appsettings.json → AWS Secrets Manager)
  • ✅ Automatic key sorting
  • ✅ Works on selected JSON or entire file
  • ✅ Fully compatible with .NET configuration binder

🔧 Example

Input (AWS Secrets Manager – Flat JSON)

{
  "ConnectionStrings__Default": "Server=localhost",
  "Jwt__Issuer": "my-app",
  "Jwt__Audience": "my-app",
  "Serilog__MinimumLevel__Default": "Information"
}

Output (.NET appsettings.json – Hierarchical)

{
  "ConnectionStrings": {
    "Default": "Server=localhost"
  },
  "Jwt": {
    "Issuer": "my-app",
    "Audience": "my-app"
  },
  "Serilog": {
    "MinimumLevel": {
      "Default": "Information"
    }
  }
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft