A development method where teams describe connector behaviour in a structured way instead of hand-coding every step. It reduces boilerplate and makes integrations easier to read, review, and maintain. In identity engineering, this approach is especially useful for REST-like systems and repeatable connector patterns.
Expanded Definition
Declarative connector Development describes connectors through a structured specification of resources, operations, mappings, and policies, rather than scattering that logic across imperative code paths. In NHI engineering, this matters because connectors often move secrets, tokens, identities, and entitlement data between systems with different APIs and lifecycle rules.
The practical distinction is that the developer states what the connector should do, while the platform or runtime resolves how to execute it. That makes the pattern especially useful for repeatable REST-like integrations, consistent provisioning flows, and drift-resistant maintenance. It also aligns naturally with governance expectations in the NIST Cybersecurity Framework 2.0, where controlled change, traceability, and repeatable enforcement are core security outcomes.
Usage in the industry is still evolving, and definitions vary across vendors. Some teams use “declarative” to mean config-driven field mapping only, while others include policy conditions, schema validation, and lifecycle actions. The most common misapplication is treating a thin wrapper around imperative scripts as declarative, which occurs when teams preserve hidden side effects and step-by-step branching inside the connector.
Examples and Use Cases
Implementing declarative connector development rigorously often introduces upfront modeling effort, requiring organisations to weigh faster long-term change control against the cost of defining behavior precisely before deployment.
- A service-account provisioning connector declares attribute mappings, target roles, and rotation rules so new integrations follow the same lifecycle pattern.
- An API-key onboarding flow uses a schema to define which fields are required, which values are transformed, and when secrets are sent to a vault.
- A REST-based identity bridge describes retry logic, pagination handling, and idempotent updates without hard-coding each endpoint branch.
- An offboarding connector declares revocation steps for tokens and certificates so removals are auditable and consistent across systems.
- A governance team documents connector behavior in a way that can be reviewed against the control expectations described in the Ultimate Guide to NHIs and then mapped back to operational identity controls.
Where connector semantics are shared across teams, this approach can reduce one-off logic and make change review more predictable. It is also easier to compare declarative intent with platform behavior, especially when integrating with systems that expose well-defined endpoints and consistent object models.
Why It Matters in NHI Security
Declarative connectors reduce the chances that a hidden code path will silently over-provision access, skip revocation, or mishandle secrets. That matters in NHI environments because the operational blast radius is often larger than teams expect. NHI Mgmt Group reports that 97% of NHIs carry excessive privileges, and that 96% of organisations store secrets outside of secrets managers in vulnerable locations including code, config files, and CI/CD tools, as documented in the Ultimate Guide to NHIs.
When connectors are declarative, reviewers can inspect policy, mapping, and lifecycle intent before execution, which supports safer change management and better alignment with Zero Trust practices. This is especially important for NHI attack paths that begin with connector drift, stale credentials, or inconsistent offboarding. In that sense, declarative design is not just a developer preference; it is a governance control surface for identity automation.
Organisations typically encounter the risk only after a misprovisioned integration exposes credentials or leaves a dormant service account active, at which point declarative connector behavior becomes operationally unavoidable to address.
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, NIST Zero Trust (SP 800-207), NIST SP 800-63 and NIST AI RMF set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-02 | Declarative connectors help reduce secret sprawl and unsafe credential handling. |
| NIST CSF 2.0 | PR.AC-4 | Connector-driven access changes must enforce least privilege and controlled entitlement management. |
| NIST Zero Trust (SP 800-207) | Declarative connectors support policy-enforced access decisions in Zero Trust architectures. | |
| NIST SP 800-63 | AAL2 | Connector-managed credentials should reflect assurance expectations for automated identity actions. |
| NIST AI RMF | Declarative specification improves transparency, accountability, and governability of automated behavior. |
Require appropriate assurance for automated credential use and map connector actions to approved identity strength.
Related resources from NHI Mgmt Group
- When should teams use AI for connector development instead of manual coding?
- What do IAM teams get wrong about automation in connector development?
- What breaks when organisations rely on manual connector development for critical integrations?
- How should teams combine SAST and DAST in a secure development programme?