Skip to content

Bedrock Agentcore  >  Structures  >  HarnessSkillGitAuth

HarnessSkillGitAuth

Structure Class

HarnessSkillGitAuth dataclass

Authentication configuration for accessing a private git repository.

Attributes

credential_arn instance-attribute
credential_arn: str

The ARN of the credential in AgentCore Identity containing the password or personal access token.

username class-attribute instance-attribute
username: str | None = None

Username for authentication. Defaults to 'oauth2' if not specified.