Skip to main content

Module git_credentials

Module git_credentials 

Source
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§

GitCredentialMaterial
Short-lived Git credential material issued by the server.
GitCredentialQuery
Parsed git credential request 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.