Skip to content

Tokens Credentials

Colby Farley edited this page Apr 7, 2026 · 4 revisions

tokens-credentials

tokens-credentials is the credential-path triage command for AzureFox.

Use it when you want to know which workloads are most likely to expose credential-bearing metadata, mint tokens, or lead to the most useful secret follow-up first.

What This Command Answers

  • Which workloads look most likely to produce a useful credential or token path?
  • Which surfaces deserve review before broad secret hunting?
  • Which asset most changes the credential story if it is compromised?

Run It

azurefox tokens-credentials --output table

For a saved structured artifact:

azurefox tokens-credentials --output json

Example Table Output

asset kind surface access path priority operator signal next review
app-public-api AppService plain-text-secret app-setting high setting=DB_PASSWORD Check env-vars for exact setting context.
func-orders FunctionApp plain-text-secret app-setting high setting=AzureWebJobsStorage Check env-vars for exact setting context.
vm-web-01 VM managed-identity-token imds high public-ip=52.160.10.20; identities=1 Check endpoints, then managed-identities and permissions.

When To Use It

  • when the environment has many apps or workloads and you need to narrow secret review fast
  • after inventory or workloads suggests an app-heavy estate
  • when you want the shortest path to token-capable or credential-bearing surfaces

What To Look For

  • workloads that can mint tokens
  • plain-text secret or credential-shaped metadata
  • assets that combine multiple credential signals
  • publicly reachable workloads that also look identity-relevant

Why It Matters

Most useful secret review starts with the workload path, not the final secret value.

tokens-credentials helps you focus on the workloads most likely to lead to a practical identity or credential path, which is much more efficient than treating every app or deployment surface as equally important.

What Should Stand Out First

  • explicitly high-priority findings
  • workloads that can mint tokens or expose credential-shaped metadata
  • assets that combine multiple credential signals
  • rows whose summary already explains why they matter

If You See..., Go Next To...

  • If you see surface_type=plain-text-secret, go next to env-vars because it shows the exact setting name and workload context behind the credential-bearing row.
  • If you see surface_type=managed-identity-token, go next to managed-identities and permissions because one shows the attached identity path and the other confirms what that identity can do in Azure.
  • If the credential or token surface belongs to a publicly reachable workload, go next to endpoints because it shows the ingress path into the asset exposing that surface.

What To Do Next

  • Prioritize workloads that combine token potential with other credential signals.
  • Move from the candidate surface into the exact command that confirms identity path, config context, or ingress reachability.
  • Treat this as a ranking command that narrows the workload set before deeper secrets review.

Boundary

tokens-credentials is a prioritization command.

It should rank credential-bearing and token-capable surfaces clearly. It is not a token-minting, secret-retrieval, or active abuse command.

Clone this wiki locally