prefect_github.credentials
Credential classes used to perform authenticated interactions with GitHub
Classes
GitHubCredentials
Block used to manage GitHub authentication.
Attributes:
token: the token to authenticate into GitHub.
format_git_credentials
url: Repository URL (e.g., “https://github.com/org/repo.git”)
- Complete URL with credentials embedded
ValueError: If token is not configured
get_client
- An authenticated GitHub GraphQL HTTPEndpoint client.