Skip to content

Simplify the CodeCommit migration by just using the AWS IAM Credentials #32905

@changchaishi

Description

@changchaishi

Feature Description

Proposal

In the AWS CodeCommit migration page, the users no longer need to provide https_git_credentials_password and https_git_credentials_username along with aws_access_key_id and aws_secret_access_key to form the remote clone Url. Just AWS credentials are already enough to derive the git auth username and password, by using aws_access_key_id as username and {amazonDateStr}Z{AWSSigv4Signature} as password.

This feature simplifies the process of gathering credentials from AWS for the migration, and also, reduces the confusion to users as to why they need to generate both HTTP (normal git credentials) and AWS Credentials at the same time.

The AWS already has a mechanism and tool for such features to derive the clone URL by just using AWS IAM credentials. The references are source and https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-git-remote-codecommit.html

The PR I will create is based on the implementation of the tool.

Screenshots

Snipaste_2024-12-19_14-57-13

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions