﻿# OpenHands Provider Connections own credentials shared by profiles

OpenHands Provider Connections share credentials and a base URL across LLM profiles while profiles keep model choices; connection updates and deletion have broader effects than one profile.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-openhands-provider-connection-ownership/
Language: en

## Find the owner of a hidden credential field

An LLM profile shows a selected model but no editable API key or base URL. It may be linked to a Provider Connection. The [model-configuration guide](https://docs.openhands.dev/openhands/usage/agent-canvas/model-configuration) describes a connection storing provider credentials and an optional endpoint once, while linked profiles retain their own model configuration. Hidden inline fields therefore need not mean the profile lacks credentials; their owner has moved to the shared connection.

## Map the profiles affected by an update

The [LLM Profiles guide](https://docs.openhands.dev/openhands/usage/agent-canvas/llm-profiles) says editing the connection's key or base URL applies to every linked profile. This is useful for credential rotation, but changing a shared endpoint to repair a single model can alter other profiles too. Inventory the links and check whether the new endpoint serves all required model identifiers. A profile-specific model problem should not automatically trigger a connection-wide endpoint replacement.

## Understand deletion and unlinking

Agent Canvas prevents deletion while profiles still reference a connection. Re-link or change those profiles before removing their shared owner. This is a dependency constraint, not proof that the connection is currently healthy. Conversely, choosing no connection lets a profile use its own credentials. Record that ownership decision so a later rotation does not leave an unexpectedly independent profile using an obsolete key.

## Check backend availability and bulk creation

Provider Connections are documented for local agent-server backends and hidden on OpenHands Cloud. The bulk-add flow can link several new profiles to a connection, while a keyless selection creates profiles that need credentials later. Thus seeing a model in a profile list does not establish a working authenticated route. The [Agent Profiles guide](https://docs.openhands.dev/openhands/usage/agent-canvas/agent-profiles) further separates choosing the agent from the LLM configuration it references.

## Verify the affected routes deliberately

After an authorized credential change, use a small request through each materially different linked model route. Confirm the intended endpoint and model rather than only the profile display name. [Response-contract guidance](/journal/learn-openrouter-response-contract/) distinguishes authentication and usable model output; [tool observations](/journal/learn-codex-tool-observation/) identify which route was exercised. Keep the connection-to-profile map with maintenance notes. Shared credential storage reduces repetition while creating an explicit dependency that future changes must respect.
