Sharing credentials securely across n8n teams

Teams can run workflows on shared API keys and OAuth connections without seeing the secrets when sharing, ownership and admin visibility are set deliberately. This page covers the options, the edition and encryption constraints, setup and when to move secrets to an external vault.

On this page

Sharing n8n credentials securely across teams without exposing secrets

Several teams often build workflows that call the same SaaS APIs, and someone has to decide who may use a credential without being able to read it. In n8n, credential sharing is the mechanism for that decision: an owner attaches a stored credential (an API key or an OAuth connection) to users or projects so that they can run workflows and select the connection in nodes, while the secret values stay hidden from them in the editor. The distinction matters for change control and audits. A workflow that uses a shared credential changes behavior when the credential changes, and an auditor will ask who could create, share and view that credential, not only who edited the workflow. Decide these questions before the first team copies a key into a shared document.

Treat the exact sharing controls as something to confirm, not assume. The roles that may share, the visibility an owner and instance admin have over a credential, and which sharing options appear on your plan all depend on the n8n version you run and the edition you license. Check the current documentation for your version, then test with two non-admin test accounts in a non-production instance: confirm that a user with access can run a workflow but cannot open the secret, that a user without access cannot select the credential, and that removing a share takes effect on existing workflows. Ask your n8n contact or DeployOpen for the sharing and admin visibility behavior in writing for the version you plan to deploy.

Sharing controls only cover the instance's own credential store. Decide early whether secret values belong in n8n at all, or in an external vault that n8n reads from at run time, because that choice changes who holds the keys, how rotation happens and what evidence you can produce. Credentials that are encrypted with the instance encryption key also need that key handled as a controlled secret, especially in queue mode where worker processes must be able to read stored credentials. Record the owner of each shared credential, the teams that depend on it and the rotation procedure before production use, so that a departing owner or a leaked key does not turn into an outage or an untracked exposure.

Which sharing model fits each team structure

This table compares sharing a credential with individual users, sharing it through a project and keeping it private to its owner. Read each row against your team structure: broad reuse saves setup work but widens the blast radius if a key leaks. Confirm which sharing options your edition and version provide before you design around them.

ModelHow access worksSuits this situationMain trade-off
Private to ownerOnly the creator can see, edit and use the credential in their own workflowsPersonal experiments, a single engineer building a prototype, or a key that should never leave one personWorkflows break when the owner leaves, and other teams must rebuild the connection
Shared with named usersSpecific users are granted use of the credential without seeing its secret valuesA small group of builders who need the same SaaS connection, such as a finance and an operations analystAccess lists drift over time, so someone must review who still has a grant
Shared through a projectEvery member of the project can use credentials assigned to it, and workflows in that project run under themTeams that map to a department or product and need shared connections for many workflowsA broad membership means one compromised account or careless member can reach every shared credential
Reuse across many workflowsOne credential serves many workflows and projects, so a single rotation updates them allCentral service accounts such as a shared CRM or ticketing API key owned by platform or ITA leaked key exposes every workflow that depends on it, so the blast radius is largest here
Who may shareDepends on the role of the user doing the sharing, set by your instance roles and project permissionsDeciding whether team leads, builders or only admins can grant access to othersConfirm in your version whether non-admin users can share credentials at all
Owner and admin visibilityConfirm whether admins can view credential metadata, usage and the workflows that depend on each credentialAudits and offboarding, where you must find every workflow tied to a departing ownerAdmin reach is useful for control but widens who can see sensitive configuration
Per-user OAuth connectionsEach user connects their own account, so the workflow acts with that person's permissionsActions that must be attributed to the triggering person, such as sending mail as the userEach user must connect, and this option may depend on your edition or a Preview feature
External vaultSecrets live in an outside secrets manager and workflows reference them, so n8n stores no plaintext copy of the valueRegulated data, shared service accounts with strict rotation rules, or policies requiring central secret governanceAdds a second system to run, plus integration and access work, and the supported options must be confirmed for your version

How credential encryption spans main and worker instances

The diagram starts with a user sharing a credential on the main instance, which stores the encrypted credential in PostgreSQL. In queue mode, the main instance hands executions through Redis to worker and webhook processors, which read the same database records. The encryption key must be available to every worker and webhook processor, so the shared key marks the trust boundary: anyone who holds it can decrypt stored credentials. Check who can reach that key on each host.

Credential flow from sharing on the main instance to execution on a worker.

Who can share, use and see a credential

The person who creates a credential is its owner and usually decides who else can use it. Owners are the natural starting point when a team asks for access to an API key or OAuth connection, because the sharing decision belongs to the person who knows what the connection is for and which account it uses. Confirm in the n8n documentation for your version exactly what a recipient can do with a shared credential, since sharing and secret visibility are separate settings.

  • Use: Owners can run workflows that reference the credential and can share it with the users or projects they choose.
  • Change: Owners can edit the connection settings and replace the secret, which affects every workflow that depends on it. Confirm whether recipients can edit or only use the connection.
  • See: Confirm whether the stored secret value can be displayed again after it is saved, or whether only the credential's name and type remain visible.
  • Revoke: Removing a share is an owner action in most setups. Confirm how quickly a removed user loses the ability to run workflows that use the credential.

Before rollout, test how ownership is handed over when an owner leaves the organization, because an unowned credential can block the workflows that depend on it.

Security risks to close before teams share credentials

Sharing a credential is the moment a shared secret stops being one person's responsibility. The risks below cover who can share, where secrets can leak, how audit trails hold up, how encryption keys reach workers, what happens when a creator leaves, and what outbound calls do with a shared secret. Each card names a control or check to confirm in your own instance before teams rely on it.

Over-broad sharing

A credential shared with a whole project can be used by every member of that project, including people who only need one workflow. Start by listing each credential, the workflows that use it and the users or projects that need access to it. Then confirm in your instance who holds the permission to share, and restrict that permission to a small group of administrators. Review sharing lists on a fixed schedule, since access tends to grow and rarely shrinks on its own.

SSO and roles docs

Secrets leaking through exports

A JSON export of a workflow or a copied node configuration can carry secret values if credentials are included or pasted into fields. Treat exported files as sensitive, and check whether your export procedure includes credential data before it runs. Block decrypted credential exports for everyone except a named break-glass role. Search repositories and shared drives for API key patterns after each migration, because a single pasted token often outlives the project it came from.

Shared logins that break audit trails

When several people use one login to reach an external service, the service log shows one actor and your instance cannot show which person ran a change. Replace shared logins with per-user connections where the target service supports them, and record the owner of each credential in your inventory. Confirm which events your instance writes to its audit log and whether that log shows the user who acted. Where a shared account is unavoidable, document who holds it, how access is approved and how it is rotated.

Encryption key handling across workers

In queue mode, worker and webhook processes must read credentials from the database, which means they need the main instance's encryption key. Every copy of that key is a place where the credential store can be opened, so limit which hosts receive it and who can read the environment or secret store that holds it. Record where each copy lives, and plan a rotation procedure before you add workers, because changing the key later affects every instance that uses it. Confirm the exact steps with n8n's queue mode documentation for your version.

Queue mode docs

Credentials that outlive their creators

A credential created by someone who later changes role or leaves the company can keep working for every workflow that uses it. Assign each credential a named owner and a backup owner, and include credential ownership in your offboarding checklist. Review credentials that have no active workflows or no recent executions, and remove them after the owning team confirms. Note the date each external key was issued so you can rotate keys on a schedule that does not depend on anyone remembering.

Outbound calls made with shared secrets

A shared credential carries its permissions into every workflow that uses it, and a workflow that calls an external URL can send the secret to that destination. Check which nodes can make outbound HTTP requests with a shared credential, and restrict those requests to approved hosts where your environment allows it. Review workflows that accept input from webhooks, since untrusted input can change where a request goes. Pair these checks with the outbound request controls described in your hardening plan.

Setting up shared credentials in a project

This sequence sets up one credential that a team can use in workflows without seeing the secret behind it. The result is a named owner, a shared credential in a project, a tested workflow run by a member, and a written rotation process.

  1. Confirm edition and version

    Confirm which n8n edition and version you run before you start, because project sharing and related controls depend on the plan. Check the plan in your instance settings or with your n8n account contact, and check the version in the About or settings page. Record both in your change log. Done means you can name the edition and version and confirm that project features are available to your plan. Confirm the exact menu names for your version in the n8n documentation.

  2. Define projects and owners

    Decide which projects will hold shared credentials, such as one project per team or per integration, and name a person responsible for each. The project owner approves who receives access. Agree this in writing before you create anything, so the access model is clear when a reviewer asks. Done means each project has a named owner and a list of intended members. Confirm how your version assigns project roles in its user management settings.

  3. Create the credential under a named owner

    Sign in as the named owner, open the credentials area, and create the credential with the API key or OAuth connection the service requires. Use a service account or integration identity where the provider supports one, not a personal login. Enter the secret once, and avoid pasting it into workflow nodes or notes. Done means the credential saves and appears under the owner's account. Confirm the credential creation path and any owner field in your version.

  4. Share the credential with the target project

    From the credential's sharing dialog, add the target project or the specific users who need to use it, and choose the access level offered in your version. Keep the list short and tied to the project owner's approval. Done means the credential lists the intended project or users as sharing recipients. Confirm which sharing roles exist in your version and whether members can edit the credential or only use it.

  5. Run a test workflow as a member

    Ask a member of the target project to build or open a small test workflow that uses the shared credential against a harmless read-only request. The member should run it manually and confirm the response. Use an illustrative test endpoint, not production data. Done means the member gets a successful execution without ever being given the secret. If the run fails, check sharing scope before changing the secret.

  6. Verify the secret is hidden from members

    Ask the member to open the credential and confirm that the secret field is not displayed or retrievable, and that they cannot export it. Also check the workflow JSON and any exports that member can access. Note what the member can see, such as the credential name and its usage. Done means the member confirms the secret is hidden and the test results are recorded. Confirm how your version masks credential fields and whether any export option reveals decrypted values, since that behavior varies by version and plan.

  7. Document the owner and rotation process

    Write a short record with the credential name, service, owner, sharing recipients, the date of the last rotation, and the steps to rotate the secret at the provider and in n8n. Name a backup owner. Schedule the review according to your own policy. Done means someone other than the original owner could rotate the secret from the record alone. Keep the record in your change management system and confirm with your security team how often rotation should happen.

When to move secrets to an external vault

Keep credentials inside n8n until a specific requirement says otherwise. A shared credential store with encryption, sharing rules and owner visibility covers most team use. Move secrets to an external vault when your rotation policy requires rotation on a schedule that n8n's credential screens cannot meet, when security wants one audit trail for every secret across applications, or when a policy requires that a central team, not workflow builders, owns the secret lifecycle. Write these triggers down before the design starts, because each one changes who administers the secret and where it is recorded. Also confirm whether your n8n edition supports external secret sources at all. Check the current n8n documentation for the edition you run, and confirm with n8n how that feature is licensed before you design workflows around it.

Expect three trade-offs. The first is a new dependency: every workflow run that needs a secret now also depends on the vault being reachable, authenticated and healthy, so the vault's availability, network path and token lifetime become part of n8n's failure modes. The second is latency and load, because each lookup is an extra network call, which matters for high-volume webhooks. The third is how workflows reference the secret. Confirm the exact reference syntax, where it can be used (credential fields, expressions or both), and whether a reference can be exported with a workflow without exposing the value. Test a rotated secret end to end in a non-production instance, including a failed vault call, before moving production credentials. Your vault team should own the rotation runbook, and your n8n administrators should own the reference naming standard.

Limits to confirm in your n8n edition and environment

Credential sharing, high availability and queue mode all depend on which n8n edition and deployment model you run. The cards below list the checks to make against the pricing page, the license and your own architecture before you design the sharing model.

Credential sharing tier by plan

Confirm in writing which plan includes the credential sharing features you need, using the same method as for SSO and environments. The pricing page places SSO, LDAP and environments with Git in the Business and Enterprise plans, so do not assume that sharing controls available in one edition carry over to another. Ask your n8n contact to confirm the tier for each feature, including whether a Community edition install can share credentials between projects. Record the answer with the plan name and the date you checked.

n8n pricing

Multi-main high availability eligibility

Multi-main setup, which runs several main instances for high availability, is restricted to Enterprise self-hosted deployments. If your sharing model depends on a highly available main instance, confirm that your deployment qualifies before you plan around it. Community, Cloud and non-Enterprise self-hosted installs should be designed as single-main, with recovery and backup procedures in place instead.

Queue mode docs

Internal use under the Sustainable Use License

n8n is licensed under the Sustainable Use License, which permits use or modification for your own internal business purposes and non-commercial or personal use. Confirm that your intended use, including sharing credentials with teams inside your organization, falls within internal business purposes. Redistribution, or offering n8n as a service to third parties, is a separate question that needs legal review before you build a multi-tenant model.

License text

Enterprise-only .ee code paths

Files with .ee in their name or directory are not covered by the Sustainable Use License and require a valid n8n Enterprise License. If you rely on enterprise credential or sharing behavior, check which code paths your installed version uses and whether your license covers them. Have your team review the package and repository contents in your build pipeline so an .ee component does not reach an install without a license.

Version differences in sharing behavior

n8n uses semantic versioning and ships minor releases roughly weekly, so sharing screens, permission roles and API responses can change between versions. Pin the version you test against, read the release notes for each upgrade, and retest credential visibility for owners, admins and shared users after every change. Do not assume a behavior documented for one minor release still holds on the version you run.

Release notes

Queue mode and encryption key distribution

In queue mode, the main instance's encryption key must be shared with all worker and webhook processor nodes so they can read credentials stored in the database. Plan how that key is distributed and rotated, and confirm that every worker reads the same key before you rely on shared credentials for scheduled or webhook runs. Treat the key as a high-value secret with restricted access, and document which hosts hold it.

Queue mode docs

Questions buyers ask about credential sharing in n8n

Can our team share n8n credentials across teams without outside help?

Yes, if someone on your team has administrator access and time to design the model before anyone configures it. Most of the work is decisions: which teams need which connections, who may create and share them, and who is recorded as the owner. Teams that skip the design usually end up with one shared login for every service, which defeats the purpose. Confirm in the current n8n documentation which sharing and role features your edition includes, because some access controls depend on the plan. Review the model with the teams that will use it, and keep a written owner for each credential so the setup survives the first wave of access requests.

What drives the effort of sharing credentials in n8n?

The main drivers are the number of credentials, the number of teams that need them and the platform features your edition includes. Each OAuth connection may need its own app registration with the provider, and each team or project adds roles to design and test. Your plan matters: the n8n pricing page states that SSO and LDAP, environments with Git and log streaming are included only in the Business and Enterprise plans, so identity and change control depend on which plan you buy. Queue mode adds key distribution work to workers, and an external vault adds a sync and rotation path. Ask any provider to price each of these drivers separately in the written scope.

What does sharing credentials need from our side?

Plan on four inputs: named people who own each credential, a written permission model that maps teams to projects and roles, a rotation policy agreed with the owners of each external service, and administrator access to the instance and its hosts. If you use SSO, you also need someone who can configure the identity provider. Owners should be accountable for scopes and rotation, not only for creating the connection. Without a named owner, nobody is responsible when a token expires or a provider changes its consent rules, and failures appear first in production workflows.

Do shared n8n credentials keep working when staff leave?

They keep working only if the connection does not depend on one person's account. A credential that authenticates as an individual user may stop working when that user is disabled or their password and tokens are revoked. Before offboarding, reassign ownership to a team or service account, confirm that the external provider keeps the grant valid, and rotate any secret that the departing person could have copied. Treat this as a documented offboarding step, not an ad hoc task. Confirm with each provider how its tokens behave when a user is deactivated, since the behavior varies by service.

How should we handle credentials that must stay personal?

Keep them personal when a service should act only as the individual, such as a personal mailbox, a calendar or a CRM record tied to one seller. Do not add them to a shared project. n8n offers per-user credentials for this purpose, but the feature has its own plan and preview limits, so confirm both in the current documentation before you design around it. Admins should manage the policy, not read the secret values. Document which services are personal, who may connect them, and how an individual's connection is removed when they change roles.

Does queue mode change how credentials are shared?

Yes. The n8n queue mode documentation states that the main instance's encryption key must be shared with all worker and webhook processor nodes so they can read credentials stored in the database. Anyone who holds that key can decrypt the stored credentials, so the key needs the same protection as the database itself. Restrict who can read the key, the worker hosts and the Redis and PostgreSQL connections. Multi-main high availability is restricted to Enterprise self-hosted deployments, so it is not an option on other editions. Include key distribution and rotation in your sharing design rather than treating it as a deployment detail.

What would a partner scope and deliver in a fixed-scope engagement?

A fixed-scope engagement starts with a written scope, deliverables and timeline agreed before work begins. Typical deliverables include an inventory of credentials and the services they reach, a documented permission model, the configured sharing and project structure, an offboarding and rotation runbook, and tests that show a user without access cannot view secret values. DeployOpen plans, configures, hardens and documents the setup inside your infrastructure. Ask for each deliverable and an explicit list of exclusions, such as provider-side app registrations, identity provider changes or vault integration. A quote follows from that written scope.

When should we move n8n secrets to an external vault?

Consider a vault when you need central rotation, a single audit trail of secret access across tools, or a policy that keeps secrets outside the application database. It also helps when several instances share the same external services. OpenBao, an open-source secrets platform, is one option, but confirm which external secret sources your n8n edition supports and whether that capability is limited to a paid plan. A vault adds a service you must operate, back up and patch, so its cost recurs. Stored credentials still depend on the encryption key, so the vault does not remove that requirement.

How DeployOpen scopes shared credential governance for n8n

DeployOpen plans and implements credential sharing for n8n inside infrastructure you control, starting with a written scope that names which teams, projects and external services are involved. The work covers sharing rules, owner and admin visibility, and the decision on whether secrets stay in n8n or move to an external vault.

How we scope

  • Inventory the credentials teams use today, including API keys and OAuth connections, and who owns each one
  • Map which users and projects need to run workflows without seeing the underlying secret
  • Agree in writing who may share credentials, who keeps owner and admin visibility, and what is out of scope

How we build

  • Configure project and user sharing so credentials are used by workflows but not displayed to consumers
  • Confirm the edition and plan features your sharing model depends on before configuration starts
  • Test sharing permissions with real test accounts and record the expected result for each role

How we hand over

  • Document the sharing model, role assignments, and the owner for each shared connection
  • Provide a runbook for rotating a shared API key or reauthorizing an OAuth connection
  • Walk through the vault decision record so your security team can review the reasoning

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts
  • Ongoing support, upgrades and continuous testing are available as a retainer
  • Confirm with DeployOpen during scoping which follow-up items are covered by the retainer and which need a new scope

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.