Join our Newsletter — 33% off our NHI Course
Home FAQ Governance, Ownership & Risk How should security teams decide between leased credentials…
Governance, Ownership & Risk

How should security teams decide between leased credentials and remote identities for SSH and Kubernetes access?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated September 19, 2026 Domain: Governance, Ownership & Risk

Teams should choose leased credentials when they want centralized credential control, simplified access administration, and consistent logging across resources. Remote identities make more sense when native user context matters, such as server home directories, per-user process attribution, or Kubernetes RBAC. The right choice depends on whether operational workflow or resource-native identity features matter more.

How to think about the access model

The decision is really about where you want the access state to live. Leased credentials centralize issuance and revocation, which is useful when security teams need a single control point for SSH keys or Kubernetes access tokens. Remote identities preserve the native subject on the target system, which matters when the platform must recognise a real user for home directories, process ownership, or Kubernetes RBAC decisions.

For SSH, leased credentials are usually better when the goal is short-lived access with predictable expiry, clean revocation, and a consistent audit trail across hosts. For Kubernetes, remote identities are more attractive when the cluster needs to map a user to native RBAC subjects or when workflows depend on per-user attribution rather than shared access paths. That is why the right choice is often an operational design choice, not just a security one.

Teams should also recognise the hidden coupling. If a workflow depends on the identity being native to the endpoint or cluster, leased credentials can feel restrictive unless the surrounding access model compensates with strong session recording, inventory, and policy enforcement. If the workflow does not need native context, remote identities can create unnecessary identity sprawl and complicate offboarding.

Where each model tends to work best

Leased credentials fit environments that value centralized control over duration and scope. They are a strong fit for ephemeral admin access, controlled break-glass use, and situations where the main security objective is to reduce standing access without redesigning the target system’s identity model. They also make it easier to standardise logging because the access broker or leasing layer can observe issuance, renewal, and revocation consistently.

Remote identities fit environments that already depend on resource-native authorisation. SSH is the clearest example: a real user identity can matter for identity governance, home directory ownership, sudo policy, and host-local audit correlation. In Kubernetes, a remote identity can align better with workload and service-account governance when the cluster already uses native RBAC objects and access policies. When that native mapping is important, a lease that only exists outside the target system can become an awkward translation layer.

A practical rule is to prefer the model that preserves the information the platform actually uses to make decisions. If the platform only needs a bounded permission window, lease it. If it needs to know who the user is inside the resource, preserve the remote identity and govern it accordingly.

Risk and Threat Considerations

The main risk is choosing a model that weakens either attribution or control. Leased credentials can hide the native user context if the access layer is too opaque, while remote identities can leave you with long-lived or inconsistently governed access if provisioning and revocation are poorly managed. In both cases, the failure mode is usually not the mechanism itself, but the mismatch between the access model and the way the target system actually enforces privilege.

Failure mechanism: A leased credential is treated as a substitute for lifecycle control when the resource still depends on native user semantics, or a remote identity is used where central issuance and expiry were supposed to be the main control. That mismatch leads to stale access, poor audit fidelity, or overbroad privilege that is hard to unwind cleanly.

Impact: Security teams can lose reliable revocation, miss per-user accountability, or create excessive operational friction that pushes users toward workarounds. At scale, that can become a privilege-management problem rather than a simple access-choice decision, especially in Kubernetes estates with many namespaces and role bindings.

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 surface, CIS Controls v8, NIST CSF 2.0, NIST Zero Trust (SP 800-207) and NIST SP 800-63 set the technical controls, and PCI DSS v4.0 define the regulatory obligations.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-01 — Secrets and Credential ManagementLeased SSH and Kubernetes access depends on short-lived secrets and credential lifecycle.
NHI-03 — Privileged Access GovernanceThe choice affects how privileged SSH and cluster access is granted and bounded.
NHI-05 — Workload and Service Account GovernanceRemote identities in Kubernetes often map to service and workload identity governance.
Recommendation — Use NHI-01 to lease, rotate, and revoke access material on a defined lifecycle. Apply NHI-03 to minimise standing privilege and govern elevated access by policy. Use NHI-05 to manage native resource identities and their RBAC relationships.
CIS Controls v86 — Access Control ManagementSSH and Kubernetes access decisions turn on account lifecycle and least-privilege enforcement.
8 — Audit Log ManagementCentral leasing and remote identities both need reliable access logging and attribution.
Recommendation — Enforce Control 6 to provision, review, and revoke access according to job need. Implement Control 8 to preserve audit trails for issuance, use, and revocation.
NIST CSF 2.0PR.AC — Access ControlThis is an access-model choice between central lease control and native authorisation.
GV.OC — Organizational ContextThe right model depends on whether operational workflow or native identity matters more.
Recommendation — Apply PR.AC to align identity, privilege, and session access with the target system. Use GV.OC to choose the access model that fits operational and governance needs.
NIST Zero Trust (SP 800-207)SP 800-207 — Zero Trust ArchitectureLeased credentials and remote identities are both trust-boundary design choices.
Recommendation — Use Zero Trust principles to make each SSH or Kubernetes request explicitly authorised.
NIST SP 800-63SP 800-63 — Digital Identity GuidelinesRemote identity decisions depend on proofing, federation, and authentication assurance.
Recommendation — Apply SP 800-63 to ensure the asserted identity is fit for the required assurance level.

Practitioner Guidance

What to verify: Before standardising on one model, check whether the target system needs native identity for authorisation, file ownership, or process attribution. If it does, remote identity is often the safer design choice; if it does not, leased credentials usually give cleaner control over expiry and revocation.

Decision rule: Use leased credentials when the main objective is bounded access with central oversight. Use remote identities when the main objective is resource-native behaviour that would be degraded by an external lease layer, especially for SSH sessions and Kubernetes RBAC decisions.

Common mistake: Treating the two options as interchangeable authentication mechanisms. They are not interchangeable if the downstream system depends on native identity context, because that context affects auditability, local policy enforcement, and the blast radius of access changes.

Practitioner takeaway: The best choice is the one that preserves the control property you care about most, either centrally managed access duration or native identity semantics, and forcing the wrong model usually shows up later as audit gaps or awkward exception handling.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 19, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org