ByteChef LogoByteChef
Settings

Connections

Edit connection properties, replace connection credentials, and control who can see and reuse a connection.

A connection stores the credentials and settings a component needs to reach an external service. Its secret values are encrypted at rest. This page covers how administrators and connection owners maintain an existing automation connection (editing its properties and replacing its credentials) and, in Enterprise Edition, how connection visibility controls who can see that a connection exists and reuse it.

For creating and using connections in workflows, see Connections.


Editing connection properties

Some connections have properties besides their credentials, for example the base URI of an HTTP Client connection.

  1. In the automation Connections list, choose Edit on the connection. The dialog shows the connection's name, its properties filled in with the stored values, and its tags.
  2. Change the values you need.
  3. Click Save.
  • Only the connection's properties are changed. The stored credentials are kept. To replace them, use Update credentials (see Replacing credentials).
  • A property you clear is removed from the connection.
  • If someone else changed the connection after you opened it, the save is rejected. Reload and try again.

Replacing credentials

When a connection's credentials stop working, for example after a password change or a revoked token, you can enter new credentials instead of creating a new connection. Every workflow that uses the connection keeps using it.

  1. In the automation Connections list, choose Edit on the connection. When the connection's credentials were rejected, the dialog opens on the credentials form. Otherwise, click Update credentials in the dialog footer.
  2. Enter the new values.
  3. Click Update credentials. The dialog confirms with "Credentials updated".

The Edit Connection dialog on the credentials form - an empty Token field above the stored, masked authorization parameters, with Back and Update credentials in the footer

Behavior:

  • The new values replace the stored authorization parameters. A credential field you leave blank is cleared, not kept. Tokens saved for the previous credentials, such as an OAuth2 refresh token, are discarded.
  • Properties outside the authorization, such as a base URL or region, are not changed. The authorization type cannot be switched.
  • Saving stores the values without testing them. A wrong credential is flagged as invalid the next time the connection runs.
  • Saving clears the connection's invalid-credentials flag, so workflows that were blocked by it run again.
  • The replacement is refused when someone changed the connection after you opened it (reload and try again), and on a connection that is not active.
  • Managed connections do not offer Update credentials.

Only the connection's owner (the user who created it) or a tenant admin can replace its credentials. The server rejects the request for anyone else. Each replacement is recorded as a CONNECTION_CREDENTIALS_UPDATED audit event. The event holds the connection ID only. Credential values are never recorded.

This applies to automation connections. Embedded connections are covered in Embedded connections.


Organization Connections

Enterprise Edition

Coming soon

The Settings → Connections page and connection visibility are not available in the latest released version of ByteChef.

The page is headed Organization Connections, described as "Manage organization-wide shared connections.", with a New Connection button. It requires the ADMIN authority. Connections belong to the environment selected in the left sidebar header.

ColumnDescription
NameThe connection's name.
ComponentThe component the connection authenticates, with its icon. If the component no longer exists, the raw component name is shown.
EnvironmentThe environment the connection belongs to.
Created ByThe user who created the connection.
Last ModifiedWhen the connection last changed.

New Connection opens the standard connection dialog, with the same component picker, connection properties and OAuth2 flow as any other connection. Organization connections cannot be narrowed to a smaller visibility. To remove one, delete it.

The visibility model

Enterprise Edition

Coming soon

Connection visibility is not available in the latest released version of ByteChef.

Every connection has exactly one visibility, ordered PRIVATE < WORKSPACE < ORGANIZATION:

VisibilityWho can reach itTypical use
PRIVATEThe owner, plus anyone named in a grant.A personal sandbox credential.
WORKSPACEEvery member of the owning workspace.A credential shared across a workspace's projects.
ORGANIZATIONEvery member of every workspace in the organization.An organization-wide credential.

New connections are created with WORKSPACE visibility by default.

The visibility picker in the connection dialog offers three choices:

ChoiceStored value
Shared with workspaceWORKSPACE (default).
PrivatePRIVATE, withheld from the workspace.
Specific peoplePRIVATE, plus grants that name individual users.

Switching away from Specific people keeps the grants, so switching back restores the same audience.

ORGANIZATION is not offered in the picker. It is set by creating the connection on the Organization Connections page. A request that asks for ORGANIZATION at creation time is rejected with "Only PRIVATE or WORKSPACE visibility can be set on connection creation".

Granting the same user twice has no effect.

Per-edition behavior

Edition or platformBehavior
Community EditionEvery connection is stored as WORKSPACE. There is no picker and there are no grants.
EmbeddedEvery connection is stored as PRIVATE, because it belongs to one connected user of your product.

Both rules are applied on the server and ignore the request body.

What sharing exposes

WORKSPACE visibility lets members use a connection and see that it exists. It does not let them read or change the credential:

  • The connection APIs obfuscate authorizationParameters and return parameters as null.
  • Only the connection's owner and tenant admins can replace credentials or edit connection properties.

A colleague can run a workflow with a shared connection but cannot extract the credential or point it at another account.

Visibility is checked before permissions. A member who holds CONNECTION_EDIT still cannot act on a connection that is hidden from them.

Changing visibility

Enterprise Edition

Coming soon

Connection visibility is not available in the latest released version of ByteChef.

Every connection in the automation Connections list shows a scope badge next to its name:

BadgeIconMeaning
Privatelock"Visible only to you. Share it to give named colleagues access."
Specific peoplepeople"Withheld from the workspace and shared with named colleagues."
Workspacebuilding"Visible to every member of the current workspace."
Organizationglobe"Visible to every member across all workspaces in the organization."

Click the badge to open the visibility picker.

  • Share with the whole workspace - choose Shared with workspace.
  • Share with named colleagues - choose Specific people and add users from the workspace member list. Removing a user from the list revokes their access. The badge then shows Specific people with the number of people named.
  • Withhold the connection - choose Private. Named people keep their grants, so switching back restores the same audience.

Changes apply immediately. There is no separate save step.

In Community Edition, and on screens without a workspace context, no badge is shown.

API operations

All four operations are limited to the connection's owner and tenant admins:

OperationEffect
setConnectionVisibility(workspaceId, connectionId, visibility)Sets a connection's visibility. Rejects ORGANIZATION, and refuses to narrow to PRIVATE while an active deployment uses the connection.
grantConnectionAccess(workspaceId, connectionId, userId)Names one user on a PRIVATE connection. Idempotent.
revokeConnectionAccess(workspaceId, connectionId, userId)Removes that user's grant.
connectionGrants(workspaceId, connectionId)Lists the users a connection is shared with.

A grantee must be a member of the owning workspace. Grants are deleted with the connection.

What gets audited

EventWhenAvailability
CONNECTION_CREDENTIALS_UPDATEDA connection's credentials were replaced.Available
CONNECTION_DISCONNECTEDA connection was detached from deployments and test configurations.Available
CONNECTION_VISIBILITY_CHANGEDA connection's visibility changed.Coming soon
CONNECTION_ACCESS_GRANTEDA user was named on a private connection.Coming soon
CONNECTION_ACCESS_REVOKEDA user's grant was removed.Coming soon

See Audit Events.

How is this guide?

Last updated on

On this page