The main failure is that a protected secret can still behave like standing access. If retrieval rights, rotation and revocation are not governed centrally, the credential can persist longer than the access need and remain usable from client systems even after roles change or projects end.
Why client-side storage turns an SAP HANA secret into standing access
Keeping SAP HANA credentials in client-side stores creates a durability problem, not just a secrecy problem. A credential that should behave like time-bound access can become a reusable bearer secret on endpoints, browsers, scripts, or local config files. Once stored that way, the secret can outlive the user, the role, or the project unless someone actively governs its retrieval, rotation, and revocation.
That is why the control question is not only “can the client reach HANA?”, but “who can still use the secret later, from where, and under what conditions?” If the answer depends on local copies rather than centrally managed lifecycle rules, the secret becomes hard to inventory, hard to retire, and easy to forget.
Client-side storage also weakens the separation between authentication and lifecycle. The application may still connect successfully long after the business need has changed, because the credential remains valid even when the human relationship to the system has ended. That is especially dangerous where the stored secret is shared across tools, copied into build artefacts, or cached in ways that outlast the original owner.
What lifecycle governance changes for secrets, rotation, and revocation
lifecycle governance is what stops a credential from acting like permanent access. It defines where the secret is issued, who can retrieve it, how long it can exist, when it must rotate, and how revocation propagates when access changes. Without those rules, a client-side store becomes an unmanaged shadow vault, and the access path may remain open even after formal entitlement changes.
A governed lifecycle also changes the blast radius of a compromise. If a credential is centrally tracked, short-lived, and revocable, the organisation can bound exposure when the secret is copied, exfiltrated, or accidentally shared. If it is long-lived and scattered across client systems, the organisation loses that leverage and may not know which endpoints still hold a valid copy.
For SAP HANA in particular, the practical issue is whether the credential is tied to an accountable ownership model. A password or token without a defined owner, expiry, and retirement path tends to survive operational drift. That is how “temporary” access becomes institutionalised access.
Why this pattern breaks trust in identity, access, and operational control
The core failure is stale authority. A secret sitting on the client bypasses the normal control points where teams expect to review access, confirm necessity, and remove access when work ends. The result is a hidden dependency on whatever was stored locally, not on the current policy state.
This also creates governance blind spots. Security teams may see the account as removed from an access list while the client still holds a usable secret. In practice, that means the real access state is the union of directory permissions, application behaviour, and every forgotten local copy. The Secret Sprawl Challenge is a useful lens for understanding how quickly these hidden copies accumulate.
Where lifecycle discipline is weak, the right response is not to treat the credential as a one-time setup detail. It is an operational control object that needs inventory, ownership, expiry, and retirement evidence. NHI Lifecycle Management Guide and Guide to NHI Rotation Challenges both reinforce the same point: rotation only helps when the organisation can find the secret, replace it everywhere, and verify the old one no longer works.
Risk and Threat Considerations
Client-side SAP HANA credentials expand the attack surface because any endpoint holding the secret becomes a potential reuse point. If the credential is long-lived or weakly scoped, an attacker who obtains one copy can often keep using it after the original user has moved on, which makes lateral access and delayed discovery more likely.
Failure mechanism: The secret is copied into a client store with no reliable expiry, ownership, or revocation workflow, so it remains valid after the legitimate need has ended. Compromise, insider misuse, or simple neglect can then turn a local convenience into persistent database access.
Impact: Exposure can include unauthorized HANA access, data retrieval, privilege abuse, and a much larger cleanup problem because every place the secret was cached must be found and remediated.
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 addresses the attack surface, NIST SP 800-53 Rev 5 and CSA Cloud Controls Matrix set the technical controls, and ISO/IEC 27001:2022 defines the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-02 — Secret Leakage | Client-side secret storage creates leakage and reuse risk for SAP HANA credentials. |
| NHI-01 — Improper Offboarding | Stale credentials remain usable after roles change or projects end. | |
| NHI-07 — Long-Lived Secrets | Long-lived HANA credentials on clients behave like standing access. | |
| Recommendation — Centralize secret storage and remove client-side copies that can outlive access need. Revoke access at offboarding and confirm every stored copy is invalidated. Shorten credential lifetime and replace static secrets with expiring alternatives. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | Credential lifecycle, rotation, and revocation are the core failure points here. |
| AC-2 — Account Management | Access must be provisioned and removed based on current need, not stale copies. | |
| IA-9 — Identification and Authentication (Non-Organizational Users) | The subject concerns service or application credentials used outside the user boundary. | |
| Recommendation — Enforce rotation, revocation, and storage protection for authenticators. Disable accounts and remove credentials when roles or projects end. Use stronger non-user authentication and avoid reusable client-held secrets. | ||
| ISO/IEC 27001:2022 | A.5.15 — Access control | Client-held credentials undermine controlled access and revocation. |
| A.5.17 — Authentication information | Stored HANA credentials are authentication information requiring lifecycle protection. | |
| Recommendation — Define and enforce access rules that prevent unmanaged secret reuse. Protect, rotate, and revoke authentication information under formal procedures. | ||
| CSA Cloud Controls Matrix | IAM — Identity and Access Management | Lifecycle governance for access secrets is an IAM control problem in cloud-connected environments. |
| Recommendation — Centralize IAM control over secret issuance, rotation, and revocation. | ||
Practitioner Guidance
What to prioritise: Treat the stored credential as a lifecycle asset, not a local configuration detail. The first question is whether you can prove who owns it, where it is stored, and how revocation reaches every consumer.
What to verify: Confirm that rotation invalidates old copies, that revocation is centrally enforceable, and that client-side storage is not the only recovery path for the application. If you cannot demonstrate those three conditions, the secret is already behaving like standing access.
Common mistake: Teams often rotate the password in HANA but leave stale copies in desktop stores, scripts, CI jobs, or cached connection profiles. That fixes the directory record while the real access path remains intact.
Practitioner takeaway: The control objective is not merely to hide the credential on the client, but to make its entire usable life finite, observable, and removable on demand.
Related resources from NHI Mgmt Group
- What breaks when mobile credentials are added to PIAM without lifecycle governance?
- What breaks when AI workloads use NHI-style credentials without lifecycle control?
- What breaks when credential vaulting is used without lifecycle governance?
- What breaks when organisations deploy AI agents without lifecycle governance?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 11, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org