YAML for Git Repository

View as Markdown

Git target for pushing changes to remote Git repositories.

YAML parameters for Git Repository

PARAMETERS
repositoryrequiredstring
The URL to the Git repository
targetrequiredstring
The human-readable ID of the target
namestring
The name of the target
authGitAuthYaml
Authentication details
disabledboolean
Indicates if this target is disabled (default: false)
tagsstring[]
The list of tags associated with the target
permissionsPermissionsYaml
The permissions for the target
use_asUseAsYaml
Defines how the target can be used (as deployment target, proxy, or both)
notestring
Note for this resource
agent_notestring
YAML note for AI agents operating on this resource
typestring

Value: GIT

Last modified on Sep 17, 2026

YAML examples for Git Repository

Git target with HTTP authentication

yaml
- target: myRepo type: GIT name: name repository: git@provider.com:myOrg/myRepo.git auth: method: HTTP username: uname password: pass

Http Auth

yaml
- target: myRepo type: GIT name: name repository: git@provider.com:myOrg/myRepo.git auth: method: HTTP username: uname password: pass

Assets Key Auth

yaml
- target: myRepo type: GIT name: name repository: git@provider.com:myOrg/myRepo.git auth: method: ASSETS_KEY username: uname asset: myKey

Ssh Key Auth

yaml
- target: myRepo type: GIT name: name repository: git@provider.com:myOrg/myRepo.git auth: method: SSH_KEY username: uname key: secure!ol0ItkcRFuCsEcCnOGMn3A==.alJAviJ7L7AB8mFrnDkyYB==

Current Auth

yaml
- target: myRepo type: GIT name: name repository: git@provider.com:myOrg/myRepo.git auth: method: CURRENT