FeedAkış
Open, portable, evidence-driven resources for AI agents. Inspect the source, check the verification level, and adopt only what earns its place.
Yapay zekâ ajanları için açık, taşınabilir ve kanıt odaklı kaynaklar. Kaynağı incele, doğrulama seviyesini gör ve yalnızca işine yarayanı kullan.
Credential ownership is part of the integration contract
Classify BYOK, managed, and local-session integrations by credential owner, execution plane, consent, data crossing, and revocation instead of treating them as interchangeable provider access.
- VersionSürüm
- 0.1.0-draft
- MaturityOlgunluk
- drafttaslak
- LicenseLisans
- MIT
- AuthorsYazarlar
- Mete Avcı, Me the Tech
- VerificationDoğrulama
- passing (L1/L2)başarılı (L1/L2)
- Disclosure classYayın sınıfı
- PUBLIC-PRACTICE
credential-ownership-is-part-of-integration-contract.md
Credential ownership is part of the integration contract
Family: Rule
Disclosure class: PUBLIC-PRACTICE
Maturity: Draft
An integration is not fully described by a provider name and endpoint. Its credential owner, execution plane, consent boundary, and data path are part of the contract.
Do not treat user-supplied credentials, service-managed credentials, and an already-authenticated local session as interchangeable ways to reach the same provider.
Classify the access mode first
Before implementing or publishing an adapter, identify which security model it uses.
Common classes include:
- user-supplied / BYOK — the user provides a credential for the intended integration;
- managed — a trusted service owns or brokers the credential on the user's behalf;
- local session — work uses a session that already exists on the user's device or local application surface.
A product may support more than one mode for the same provider. Each mode still needs its own explicit boundary.
Record the responsibility matrix
For each mode, state:
- where execution happens;
- who owns the credential;
- where the credential may be stored;
- which component may read or use it;
- how consent is established;
- what user/content data crosses the boundary;
- how revocation or disconnect works;
- whether the mode requires network, filesystem, browser, or local-process authority;
- which public contract is shared with callers;
- which implementation remains private or local.
If these differ between modes, do not hide the difference behind one ambiguous connection flag.
Never silently migrate credential authority
A fallback must not silently change the credential owner or trust boundary.
For example, failure of a user-supplied credential should not automatically authorize a managed credential, and failure of a managed API path should not silently take over a user's local authenticated session.
A mode transition requires the consent and policy appropriate to the destination mode.
Keep managed secrets out of distributed clients
When a trusted service owns managed credentials or commercially sensitive provider logic, keep them on the trusted side of the distribution boundary. A client should receive only the public interface and the minimum local code needed for its declared responsibility.
Do not rely on repository privacy, import conventions, environment variables, or obfuscation to protect a secret that is bundled into a client artifact.
Local sessions remain local authority
Possession of a local browser or application session does not make that session a cloud credential. Do not upload, replay, or repurpose local session material outside its declared boundary without explicit consent and a reviewed security design.
Inventory is not authority
A catalog can describe that a provider/product/surface exists and which mode it supports. Catalog presence must not import private implementations, grant credentials, select a provider automatically, or authorize an effect.
Completion test
Before calling an integration connection-ready, a reviewer should be able to identify the access mode, execution plane, credential owner, storage/reader boundary, consent path, data crossing, revocation behavior, and authority required for effects.
If the answer changes depending on whether the integration is BYOK, managed, or local-session, those modes need separate contracts.
# Credential ownership is part of the integration contract
**Family:** Rule
**Disclosure class:** `PUBLIC-PRACTICE`
**Maturity:** Draft
An integration is not fully described by a provider name and endpoint. Its credential owner, execution plane, consent boundary, and data path are part of the contract.
Do not treat user-supplied credentials, service-managed credentials, and an already-authenticated local session as interchangeable ways to reach the same provider.
## Classify the access mode first
Before implementing or publishing an adapter, identify which security model it uses.
Common classes include:
- **user-supplied / BYOK** — the user provides a credential for the intended integration;
- **managed** — a trusted service owns or brokers the credential on the user's behalf;
- **local session** — work uses a session that already exists on the user's device or local application surface.
A product may support more than one mode for the same provider. Each mode still needs its own explicit boundary.
## Record the responsibility matrix
For each mode, state:
- where execution happens;
- who owns the credential;
- where the credential may be stored;
- which component may read or use it;
- how consent is established;
- what user/content data crosses the boundary;
- how revocation or disconnect works;
- whether the mode requires network, filesystem, browser, or local-process authority;
- which public contract is shared with callers;
- which implementation remains private or local.
If these differ between modes, do not hide the difference behind one ambiguous connection flag.
## Never silently migrate credential authority
A fallback must not silently change the credential owner or trust boundary.
For example, failure of a user-supplied credential should not automatically authorize a managed credential, and failure of a managed API path should not silently take over a user's local authenticated session.
A mode transition requires the consent and policy appropriate to the destination mode.
## Keep managed secrets out of distributed clients
When a trusted service owns managed credentials or commercially sensitive provider logic, keep them on the trusted side of the distribution boundary. A client should receive only the public interface and the minimum local code needed for its declared responsibility.
Do not rely on repository privacy, import conventions, environment variables, or obfuscation to protect a secret that is bundled into a client artifact.
## Local sessions remain local authority
Possession of a local browser or application session does not make that session a cloud credential. Do not upload, replay, or repurpose local session material outside its declared boundary without explicit consent and a reviewed security design.
## Inventory is not authority
A catalog can describe that a provider/product/surface exists and which mode it supports. Catalog presence must not import private implementations, grant credentials, select a provider automatically, or authorize an effect.
## Completion test
Before calling an integration connection-ready, a reviewer should be able to identify the access mode, execution plane, credential owner, storage/reader boundary, consent path, data crossing, revocation behavior, and authority required for effects.
If the answer changes depending on whether the integration is BYOK, managed, or local-session, those modes need separate contracts.
Try it yourself (Feed Labs)Kendi ajanında dene (Feed Labs)
Export blinded scenarios without descriptive IDs or expected answers, then compare your assistant without vs. with this artifact loaded:
Açıklayıcı kimlikler ve beklenen cevaplar gizlenmiş kör senaryoları dışa aktarıp kendi asistanında bu kaynak olmadan ve bu kaynakla karşılaştırma yap:
python -B scripts/eval_review.py --blind credential-ownership-is-part-of-integration-contractUsage guideKullanım rehberi
Classify BYOK, managed, and local-session integrations by credential owner, execution plane, consent, data crossing, and revocation instead of treating them as interchangeable provider access.
Best for: Designing cloud or external service connections. When not to use: Fully local, unauthenticated tools that never handle API keys, managed tokens, or authenticated sessions. Status: Catalog release (releaseEligible: true; declarative L1/L2 contract verified; host runtime enforcement remains separate).
Trust summary
- License: MIT
- Executable scripts: None
- Network / credential access required: No
- External dependencies: None
- Use side effects: Advisory / declarative contract only
- Verification:
passing(Level 1–2 structural and executable contract verification; host runtime enforcement and live model compliance remain separate)
How to use
- Open credential-ownership-is-part-of-integration-contract.md. Add the native rule to the relevant agent guidance or engineering review checklist.
- Classify each mode as bring-your-own credential, managed credential or local authenticated session. Record owner, execution plane, consent, data transfer and revocation separately.
- Review the companion conformance suite and record concrete evidence for your own environment.
Example
A desktop connector that uses an existing local login describes its local authority and revocation instead of pretending it is a centrally managed service token.
Known limitations
Advisory rule only; actual secret storage, consent prompts, revocation paths, and execution-plane isolation must be implemented by the integration runtime.
Frequently asked questionsSık sorulan sorular
Can a connector silently migrate to another credential mode?
No. Credential ownership and consent are material parts of the integration contract.
Is this a verified release?
This declarative artifact is included in the release catalog based on passing L1/L2 structural and contract verification. Passing contract checks do not replace host runtime enforcement; inspect the registry record for exact scope and limitations.
Can I adapt it for my team or commercial project?
Yes. Feed's MIT license permits use, modification and redistribution, including commercial use, with the required notices. It does not grant access to external services or trademarks.
CompatibilityUyumluluk
No runtime-specific compatibility evidence is declared. Treat this artifact as a declarative specification whose enforcement depends on the consuming runtime.
Çalışma ortamına özgü uyumluluk kanıtı beyan edilmemiş. Bu kaynağı, uygulaması kullanan çalışma ortamına bağlı bir deklaratif sözleşme olarak değerlendirin.
Declared effectsBeyan edilen etkiler
- ExecutableÇalıştırılabilir
- NoHayır
- Network accessAğ erişimi
- NoHayır
- Filesystem writesDosya yazma
- NoHayır
Verification evidenceDoğrulama kanıtı
- Artifact-specific verifier tests/test_credential_ownership_verification.py passed 13/13 against the current Rule/Eval pair, covering exact registry binding, version parity, explicit Eval relation, non-executable declarations, distinct BYOK/managed/local-session contracts, the credential responsibility matrix, explicit mode-transition authority, managed-secret distribution boundaries, local-session locality, inventory/authentication versus effect authority, and the exact reviewed conformance case set.
- Feed registry determinism, native-path integrity, Eval integrity, and release-candidate validation checks passed for this verifier. This L1/L2 evidence proves declarative contract alignment only and does not claim host runtime enforcement or private runtime compatibility.
ProvenanceKaynak geçmişi
Clean-room public re-authoring of general integration credential ownership, execution-plane, consent, and responsibility-classification practices; no provider secrets, private routing, or implementation source is embedded.