Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Credential Store

Direct answer

A credential store holds secrets that automation uses — SSH keys, API tokens, passwords — encrypted and injected at runtime, such as AWX credentials, Jenkins credentials or HashiCorp Vault, never in code.

When to use this

Use this when deciding where automation credentials live.

First 30 seconds

1. Credential stores keep automation secrets out of code.

2. Least privilege per job.

3. Short-lived/dynamic credentials preferred.

4. Audit use.

5. Rotate.

Operational verification

job → credential store → injected secret → target

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
automation architecture and design
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformautomation architecture and design · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when deciding where automation credentials live.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verify secret reference, version and target authentication without disclosure Verify boundary

Run a bounded job that references a known Credential Store entry and capture the secret identifier/version, requesting workload identity and retrieval audit event without recording the secret value. Confirm the job authenticates to the intended target, then independently verify the target attributes the session to the expected account or service principal. After a controlled rotation, verify new jobs use the new version and old credentials are rejected according to policy. A store health check or successful decrypt operation does not show end-to-end target authentication.

Step 2 Isolate secret lookup, policy, version and target acceptance Narrow the fault

If a job cannot retrieve a credential, verify the job identity and exact secret path before testing the target. If lookup succeeds but access is denied, inspect store policy and token scope; if retrieval succeeds but the target rejects authentication, compare the retrieved secret version with the target-side credential version and worker cache lifetime. If only some workers fail, inspect cached tokens or secret replication. Never diagnose by printing the secret into logs. A successful vault read shows retrieval authorization, not that the target will accept that credential.

Step 3 Common mistakes Narrow the fault
  • Credentials readable by all job authors.
  • No rotation.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Never in playbooks or scripts.
  • Injected at runtime.
  • Audit access.
Key checks
  • Credential store (Vault/AWX credentials/cloud secrets) — storage
  • Credential use audit — access logs
  • Rotation status — freshness
ReferenceWhy it matters1 section · depth on demand

A credential store is a lookup and authorization boundary, not a secret string table

An Automation Credential Store owns secret identity, version, access policy and retrieval audit while jobs consume references rather than embedding plaintext credentials. The important boundaries are caller authentication, authorization to the secret path, secret version selection, decryption/KMS availability and injection into the execution context. Rotation can create a mixed state when the store holds a new value but targets or cached workers still expect the previous credential. Logs should expose secret identifiers and versions without exposing secret material.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

A credential store holds the secrets automation uses — passwords, keys, tokens, certificates — and hands them to jobs at run time. Centralising credentials enables rotation, access control and audit, instead of secrets scattered across scripts and servers.

StoreTypical use
HashiCorp Vault / OpenBaoCentral secrets, dynamic credentials, PKI
Cloud secret managers (AWS, Azure, GCP)Cloud workloads, CI via OIDC
CyberArk, DelineaPrivileged accounts, session management
AWX/AAP credentials, Rundeck key storage, Jenkins credentialsPlatform-integrated secrets

Design points: each job gets only the credentials it needs, secrets are never written to logs or artifacts, access is logged, and rotation happens without code changes. Dynamic secrets — created per job and expiring automatically — remove long-lived credentials altogether.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docautomation architecture and design current

Authoritative/upstream documentation reviewed for bounded claims in Automation Architecture > Credential Store. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/azure/well-architected/operational-excellence/enable-automation · confidence 94%
Confirmation

Confirm action

Continue?