GitHub credential required
--json, this arrives as a parseable contract on stdout:
repo scope, made under Org or Workspace Hub → Vault → Connect Provider. See Connect GitHub for private repos.
Because the contract is machine-readable, a script can branch on it:
Repository not found, after connecting
GitHub returns the same “not found” response for a private repository whether it doesn’t exist or you can’t see it. So once you have a credential connected and a sync still fails, there are two possibilities and the message names both:- The repository path is wrong. Check the URL.
- Your token lacks
repoaccess to that repository. Check the token’s scopes.
The agent is using the wrong account
The usual cause is a workspace connection shadowing the org one. Resolution checks the agent’s own credential binding, then the workspace vault, then the org vault, and the first active match wins. A GitHub connection someone made in the workspace beats the one the org shares. Look at the actual resolution:The credential exists but doesn’t work
A listing shows a credential is present. It doesn’t show whether it still works.ACTIVE, NEEDS_REAUTH, or REVOKED — visible in jstm vault audit.
A credential is missing for a skill
A skill declares the services it requires. If one has no credential, the run stops and names the provider rather than guessing.readiness reports blockers and exits non-zero when there are any. Many have a targeted fix:
A team can’t see an org credential
Org credentials have a scope. A credential set to Selected workspaces is only available to the workspaces named.Selected workspaces without a workspace
1 and sends nothing, because an empty restriction is meaningless. Name at least one workspace with repeatable --workspace.
Tokens never appear in output
No command prints a credential’s value.vault audit, vault show, and vault grant list return metadata only. Sync errors are written so they can’t echo a token back.
The CLI has no --token flag by design, so a token never lands in your shell history.
Agents don’t receive credentials either. Each call to a service goes through the connector gateway with a short-lived token scoped to that service, and the gateway holds the grant. See Vault.