GitSync At the Enterprise Level

0

We are looking to utilize GitSync in our Cloudformation templates to easily manage our AWS Service updates that could be needed. It looks like the CodeConnection is made for a signle user, but what happens if that user leaves the company and their Github/Gitlab/Bitbucket account is deactivated?

Do we need to re-create the connection with a new user, and then go through each CFN stack to update to the connected Repo? Could we create the connection with a service token instead so that we don't have this problem in the future? For example; we use Gitlab and they have the ability to create a "Service Account" that cannot log in and is not a billable user, but can be given an access token that we would like to use to create our connection.

1개 답변
0
수락된 답변

Hello,

Thank you for reaching out to us.

Service Accounts in Gitlab only supports authentication with a personal access token or PAT. Unfortunately support of PAT based authentication for normal Gitlab.com accounts to create CodeConnection is not supported as of now. Currently we have an open internal Feature Request for the same, however we cannot provide an ETA as to when it will be supported. You can track the What's New with AWS [1] section for any updates on the same.

Also to address :- Do we need to re-create the connection with a new user, and then go through each CFN stack to update to the connected Repo?  Yes, it will require you to re-create the connection with a new user and update the CloudFormation i.e in case the user leaves and their Github/Gitlab/Bitbucket account is deactivated.

Based on your current ask, one way to address this issue would be to use a dedicated Admin account[that is not tied to a single User and which will not be deactivated] to create CodeConnections.

I hope the above information proves to be helpful.

References

[1] https://docs.gitlab.com/ee/user/profile/service_accounts.html

[2] https://aws.amazon.com/about-aws/whats-new/2024/?whats-new-content-all

AWS
지원 엔지니어
답변함 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠