On the configuration page for the IAM User, select Security credentials, and then generate credentials in HTTPS Git credentials for AWS CodeCommit. With the generic Git connector, you must use a username and password for the IAM user, instead of an access key and secret key. You can connect to CodeCommit using the Harness platform-agnostic Git connector, instead of the AWS CodeCommit connector. Setup for HTTPS users using Git credentials from AWS.The DescribeRegions action is required for all AWS connections, regardless of what AWS resource you use with Harness.įor instructions on setting up the IAM user for CodeCommit connections, go to the following AWS documentation: Regardless of which connector you choose, the IAM account you use to connect to CodeCommit must have the following policies: You can use either an AWS CodeCommit connector or the platform-agnostic Git connector to connect to AWS CodeCommit repos. ![]() If your code repo connector uses SSH Key authentication, the SSH Key is stored as a Harness SSH credential secret, and the SSH credential's Username must be git. This means that, if you are using a Harness code repo connector to pull manifests from a repo, then the user account you use in the connector must have read repo (or equivalent) permissions in your Git provider.įor permissions in the Harness Git Experience, go to Source Code Manager Settings. In general, the Git provider user account you use to set up a connector needs the same permissions it would need if you were working from Git. This topic assumes you're adding connectors at the project scope, but the process is the same for the other scopes. You can add code repo connectors at the account, organization, or project scopes. ![]() Connectors are used to pull code as well as other important files, such as Helm charts, Kubernetes manifests, and Terraform scripts, from your Git repos. Harness code repository connectors connect your Harness account with your Git platform.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |