Expand description
Git credential helpers for worker-managed repositories.
This module handles credential broker requests, local helper script setup, and Git/GitHub CLI wiring for repos managed through the A2A control plane.
§Examples
ⓘ
let query = GitCredentialQuery::default();
let creds = request_git_credentials(client, server, &token, None, "ws-1", "get", &query).await?;Structs§
- GitCredential
Material - Short-lived Git credential material issued by the server.
- GitCredential
Query - Parsed
git credentialrequest fields from stdin.
Functions§
- configure_
repo_ git_ auth - Configures a repository to use the CodeTether Git credential helper.
- configure_
repo_ git_ github_ app - Stores GitHub App identifiers in repository-local Git config.
- request_
git_ credentials - Requests short-lived Git credentials from the A2A control plane.
- run_
git_ credential_ helper - Runs the Git credential helper command for this worker binary.
- write_
git_ credential_ helper_ script - Writes the repository-local shell wrapper used by Git credential helpers.