Three commands instead of cat
find /opt -maxdepth 3 | sort # what's where
sed -nE 's/^([A-Za-z_][A-Za-z0-9_]*)=.*/\1=/p' .env # which variables exist
sed -E 's/[A-Za-z0-9.\/]/x/g' <<< "$hash" # shape: xxxxx:$xxxx$xxxx… — the format shows, the secret doesn't
This output shows where the stacks are, which variables exist and what format a hash has — and you can send it to a chat, a ticket or an AI agent.
For files headed for git there’s a check that prints the kind of each value — ${…}, a path or
<value, N chars>: Server configs in git, step 5.