Cultiv.EnvironmentInspect 2.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Cultiv.EnvironmentInspect --version 2.1.0
                    
NuGet\Install-Package Cultiv.EnvironmentInspect -Version 2.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cultiv.EnvironmentInspect" Version="2.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cultiv.EnvironmentInspect" Version="2.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Cultiv.EnvironmentInspect" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Cultiv.EnvironmentInspect --version 2.1.0
                    
#r "nuget: Cultiv.EnvironmentInspect, 2.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Cultiv.EnvironmentInspect@2.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Cultiv.EnvironmentInspect&version=2.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Cultiv.EnvironmentInspect&version=2.1.0
                    
Install as a Cake Tool

Cultiv.EnvironmentInspect · GitHub license NuGet version (Cultiv.EnvironmentInspect) CI

v1 is for Umbraco v9 to v13
v2 is for Umbraco v17+

Cultiv Environment Inspector installs a dashboard in the Settings section of Umbraco, showing you the currently applied environment values and where they are coming from.

For example, we can see some of the values here are coming from appsetting.json and from Umbraco Cloud Environment variables.

Screenshot with an example of some variables, values and their sources

This makes it easier to learn why some variables you expected to work have not been applied.

Features

  • 📊 View all configuration values and their sources in the Umbraco backoffice
  • 🔒 Redact sensitive data with multiple redaction modes (Full, Partial, Advanced)
  • 🎯 Exclude configuration keys using regex patterns
  • 🔐 Provider-based filtering - match by provider type, source file, or full name
  • Copy keys and values with one-click clipboard support and notifications
  • ☁️ Azure Web App JSON export - copy configuration as ready-to-use Azure Web App JSON snippets
  • 🔄 Environment variable format - convert keys from Umbraco:CMS:Setting to UMBRACO__CMS__SETTING
  • �🚀 Performance optimized with runtime caching and change detection
  • 🔄 Hot reload support - configuration changes are automatically applied

Installation

Install via NuGet:

dotnet add package Cultiv.EnvironmentInspect

Or via the NuGet Package Manager Console:

Install-Package Cultiv.EnvironmentInspect

Usage

  1. Install the package
  2. Access the dashboard in Settings → Environment Inspector
  3. View all configuration values and their sources

That's it! The package works out of the box with no configuration required.

Dashboard Features

  • Copy buttons - One-click clipboard copy for keys and values with success notifications
  • Filter options - Toggle to exclude empty values, show only redacted items, or convert keys to environment variable format
  • Azure Web App export - Enable AzureWebAppAdvancedCopy to get a ☁️ button that copies Azure-ready JSON snippets
  • Virtual scrolling - Efficiently handles thousands of configuration entries

Configuration (Optional)

If you need to exclude or redact sensitive values, add the EnvironmentInspect section to your appsettings.json:

{
  "EnvironmentInspect": {
    "Exclude": [
      "^APPSETTING_",
      "^AZURE_",
      "^EnvironmentInspect",
      "^\\$schema$"
    ],
    "Redact": [
      {
        "Key": "Umbraco:CMS:Unattended:UnattendedUserPassword",
        "RedactionMode": "Advanced",
        "RedactionOptions": {
          "KeepFirst": 2,
          "KeepLast": 2
        }
      },
      {
        "Key": "ConnectionStrings:.*",
        "RedactionMode": "Advanced",
        "RedactionOptions": {
          "Keys": [ "Password", "PWD" ],
          "KeepFirst": 2,
          "KeepLast": 2
        }
      },
      {
        "Key": ".*Password$",
        "RedactionMode": "Full"
      },
      {
        "Key": ".*Secret.*",
        "RedactionMode": "Full"
      },
      {
        "ProviderType": "AzureKeyVaultConfigurationProvider",
        "RedactionMode": "Full"
      }
    ],
    "RedactionCharacter": "•",
    "PartialVisibleChars": 4,
    "AzureWebAppAdvancedCopy": false
  }
}

Results:

  • UnattendedUserPassword: 12••••90 🔐
  • Connection string password: 7R••••($ (extracted from connection string) 🔐
  • Keys matching .*Password$: •••••••• 🔒
  • Keys matching .*Secret.*: •••••••• 🔒

For detailed configuration options, see the Configuration Guide.

Umbraco Cloud

For Umbraco Cloud deployments, see the Umbraco Cloud configuration example which includes recommended redaction rules for:

  • Azure Blob Storage SAS tokens
  • Website authentication keys
  • Database connection strings
  • Umbraco Forms reCAPTCHA keys

Documentation

Best Practices

  1. Order matters: Place specific redaction rules before general ones
  2. Test regex patterns: Use regex101.com to validate your patterns
  3. Use Advanced mode for connection strings: Extract and redact only the sensitive parts

License

MIT License - see LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.2.2 51 3/13/2026
2.2.1 137 3/5/2026
2.2.0 127 3/2/2026
2.1.0 153 2/20/2026
2.0.1 898 12/1/2025
2.0.0 239 11/27/2025
1.1.0 105 2/24/2026
1.0.3 21,517 12/7/2022
1.0.2 470 12/7/2022
1.0.1 9,896 4/5/2022
1.0.0 773 4/5/2022
0.0.1 741 4/5/2022