Join our Newsletter — 33% off our NHI Course

Declarative Node Sharing

Declarative Node Sharing is a policy-based approach to sharing network nodes across tailnets. Instead of creating shares through repeated manual clicks, teams declare the intended relationship in code and let automation apply it. That improves consistency, reduces operational friction, and makes access governance easier to review and test.

Expanded Definition

Declarative Node Sharing describes a governance model for network node access in which the intended share relationships are expressed as policy, configuration, or code, then reconciled automatically by the platform. In practice, the key distinction is between intent and execution: teams define who should be able to reach which node, under what conditions, and with what scope, rather than relying on ad hoc operator actions.

This matters because node sharing often sits at the intersection of infrastructure administration, access control, and auditability. A declarative model is most useful when organisations need repeatable outcomes across environments, especially where manual sharing would create drift or inconsistent approvals. The concept aligns well with the discipline behind the NIST Cybersecurity Framework 2.0, because the emphasis is on controlled, reviewable, and measurable security outcomes rather than one-off permissions decisions.

Definitions vary across vendors because some products describe the same pattern as policy-based sharing, infrastructure-as-code access, or automated entitlement management. The most common misapplication is treating declarative sharing as a simple shortcut for faster approvals, which occurs when teams automate permissions without defining ownership, scope, or review criteria.

Examples and Use Cases

Implementing declarative node sharing rigorously often introduces policy-design overhead, requiring organisations to weigh faster operations against the cost of maintaining clean access rules.

  • A platform team defines which engineering group may share a bastion or development node with a specific project workspace, and the platform applies the relationship automatically when the code is merged.
  • A security team uses version-controlled policy to limit node sharing to approved subnets, making every change traceable during review and incident response.
  • An operations group standardises temporary access to shared infrastructure so that new shares expire according to declared rules instead of relying on manual cleanup.
  • A compliance reviewer audits the declarative policy repository rather than chasing individual tickets, which makes it easier to see whether the actual sharing state matches approved intent.
  • Teams adopting identity-aware infrastructure patterns may pair declarative node sharing with non-human identity controls so that automation, not human accounts, performs the share action under constrained authority.

For teams comparing governance models, the CSF’s emphasis on repeatable control implementation is a useful lens, and the same logic applies when access is expressed as code rather than as a ticket queue. The important question is whether the declared state can be validated before it reaches production, not whether the workflow feels convenient.

Why It Matters for Security Teams

Declarative node sharing matters because access to nodes is rarely harmless once systems hold sensitive data, administrative pathways, or production tooling. If the sharing model is opaque, security teams lose the ability to answer basic questions about who can connect, why they can connect, and whether that access still matches current policy. Declarative control improves reviewability, but only when it is paired with ownership, logging, and drift detection.

For identity and infrastructure governance, the value is not just operational efficiency. It is the ability to make access decisions testable and enforceable across environments where manual exceptions tend to accumulate. In NHI-heavy environments, this also reduces reliance on human-administered sharing actions and supports cleaner separation between people, services, and automation.

Security teams should treat declarative node sharing as a control surface, not a convenience feature. Organisations typically encounter the real risk only after an unexpected node exposure, at which point declarative policy becomes operationally unavoidable to prove what should have been shared and what actually was.

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 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-4 Access permissions should be controlled and managed to support declarative sharing.
NIST SP 800-63 Identity assurance matters when node sharing is triggered by human or service identities.
OWASP Non-Human Identity Top 10 Automated sharing often relies on non-human identities that must be governed tightly.

Define share rules centrally and review them as part of least-privilege access control.