Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
changchaishi opened this issue Dec 19, 2024 · 0 comments
Open
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@changchaishi
Copy link
Contributor

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

@changchaishi changchaishi added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

1 participant