Teams get into trouble when they treat the service management layer as the storage and control point for credentials instead of a workflow layer. That creates unnecessary exposure, weaker segregation of duties, and more opportunities for manual error during onboarding, access changes, and revocation. A safer pattern is to keep workflow orchestration separate from secret custody and policy enforcement.
Why teams confuse workflow tools with secret custody
Service management platforms are designed to move requests, approvals, and change records through a process. They are not designed to act as the system of record for credentials, tokens, or certificates. When teams blur that boundary, they often create a second place where secrets exist, which complicates ownership, review, and revocation. The safer interpretation is that the workflow layer should coordinate action while a dedicated secret store retains custody and policy enforcement. Teams that miss this distinction usually discover the problem only after access sprawl or recovery work exposes how many manual exceptions were accumulating.
That distinction matters because credential handling changes the trust model. A workflow record can be useful evidence of who asked for access and when it was approved, but it should not become the place where the secret itself is exposed, copied, or reused outside its intended lifetime. For practical guidance on access control and the broader security expectation around custody separation, NIST Cybersecurity Framework 2.0 is a useful reference point, and the OWASP Non-Human Identity Top 10 is especially relevant when the workflow touches machine credentials rather than human accounts. In practice, many security teams encounter the boundary problem only after an urgent revocation, when they discover the workflow process was never built to control the secret lifecycle itself.
What a safer credential workflow actually looks like
A better design keeps the service management tool focused on orchestration. It can collect the request, route approvals, trigger provisioning, and record the change history, but the credential should be created, stored, rotated, and revoked by a dedicated system with explicit policy. That separation reduces accidental disclosure and makes it easier to prove that the secret was not casually visible to everyone who could read tickets or task records.
The main implementation question is whether the workflow system ever has direct read access to reusable secrets. In most mature designs, it should not. At most, it should receive a short-lived reference, status update, or fulfillment token that lets downstream automation complete the action without exposing the credential itself. That pattern supports better segregation of duties because the requester, approver, operator, and secret custodian do not need the same privileges.
- Keep the secret in a dedicated vault or managed secret store, not in ticket text, attachments, or custom fields.
- Use the workflow to request and track changes, not to display the secret back to users after issuance.
- Automate rotation and revocation from the authoritative secret system, so the ticket is an audit trail rather than the control plane.
- Limit who can see fulfillment evidence, because “closed” often still means “visible” in many service tools.
Where this guidance breaks down is in emergency access or legacy environments that still depend on manual handoffs, because those cases require compensating controls and tighter monitoring rather than pretending the workflow tool is a secure secret repository. The NIST SP 800-53 Rev. 5 controls on access enforcement and auditability are a strong fit for that distinction, while NIST SP 800-63 Digital Identity Guidelines help when the workflow is also being used to verify who is requesting access in the first place.
Edge cases that change the control design
Tighter separation usually improves security, but it also increases integration overhead, so teams have to balance operational convenience against the risk of hidden secret sprawl. That tradeoff becomes more visible when the workflow must support contractors, incident response, or delegated administration, because those use cases often tempt teams to copy credentials into tickets “just this once.”
One common edge case is a workflow that stores only a secret identifier, with the actual credential fetched just in time by an approved automation step. That can be acceptable if the workflow never reveals the secret value and the retrieval event is logged in the authoritative secret system. Another edge case is password reset or certificate renewal processes, where the workflow may need to confirm completion without ever handling the material itself.
There is also a governance distinction between knowing that access was granted and knowing that custody remained controlled. A ticketing record can satisfy process traceability, but it does not by itself prove the secret was protected, rotated, or revoked correctly. The practical mistake is to treat “approval happened in the tool” as equivalent to “the secret lifecycle is governed.” Those are different control outcomes, and they should be measured separately.
For service teams running identity-heavy operations, the rule is simple: if the workflow can see the credential, too many other people can probably see it as well. That is the point where the design has stopped being a process aid and started becoming an exposure path.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0, CIS Controls v8 and NIST SP 800-63 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | PR.AC-1 — Identity Management, Authentication, and Access Control | Directly addresses access governance and control boundaries for credential use. |
| PR.DS-1 — Data-at-Rest Protection | Applies when credentials are stored in ticket fields, comments, or attachments. | |
| DE.CM-1 — Anomalies and Events Detected | Supports detection of unusual secret access or unexpected workflow exposure. | |
| Recommendation — Separate workflow approvals from credential custody and enforce least-privilege access paths. Store secrets only in protected systems and keep workflow records free of credential values. Monitor for anomalous secret retrieval and unexpected disclosure through the workflow layer. | ||
| CIS Controls v8 | 6.3 — Access Control Management | Relevant to controlling who can request, approve, and view credential-related actions. |
| 3.4 — Data Protection | Fits protection of secrets from exposure in tickets, forms, and attachments. | |
| Recommendation — Restrict visibility and enforce role separation for credential-related workflow actions. Prevent secret values from being written into service management records. | ||
| NIST SP 800-63 | IAL2 — Identity Assurance Level 2 | Relevant where the workflow also verifies requester identity before access changes. |
| Recommendation — Require stronger identity proofing for high-impact access requests before fulfillment. | ||
| OWASP Non-Human Identity Top 10 | NHI-01 — Secrets and Credential Management | Directly applies when service workflows handle non-human credentials or tokens. |
| Recommendation — Keep machine secrets out of workflow storage and manage them in a dedicated secret system. | ||
Practitioner Guidance
What to prioritise: Treat the ticketing or workflow system as evidence and orchestration first. Verify that secret creation, storage, rotation, and revocation all occur in the authoritative secret system, not in workflow records.
What to verify: Check whether any role can retrieve reusable credentials from the service management layer, whether secrets are copied into comments or attachments, and whether revocation is actually driven from the system that owns custody.
Common mistake: Teams often assume that approval logging equals control. It does not; approval history is useful, but it cannot substitute for secret isolation, lifecycle enforcement, or scoped retrieval.
Practitioner takeaway: If a workflow tool can store, display, or forward the credential value itself, the design is already too permissive for most environments, even if the process looks well governed on paper.
Related resources from NHI Mgmt Group
- What do teams get wrong when they add AI to access request and approval workflows?
- What do teams get wrong when they trigger workflows directly from security lake events?
- What do teams get wrong when they let AI agents run on MCP without proper guardrails?
- What do teams get wrong when they try to implement NIST compliance controls?