GitHub

Verify Azure Secret Values

This runbook describes how to verify that secret/configuration values are correctly deployed to application containers.

Prerequisites

Steps

1. List Running Containers

docker ps

This will show all running containers. Identify the container you need to inspect.

2. Exec Into the Container

Linux containers:

docker exec -it <container_name_or_id> bash

Windows containers:

docker exec -it <container_name_or_id> pwsh

3. Verify Configuration Values

Secrets are typically stored in either appsettings.json or Web.config.

Windows (Web.config):

Select-String "clientse" .\Web.config

Linux (appsettings.json):

cat appsettings.json | grep clientse

Replace the search pattern (“clientse”) with the specific secret or configuration key you’re looking for.

Edit this page