Store Git configuration in Glue Studio Version Control

0

I started using the Github integration (Version Control functionality) in Glue Studio and I'm able to Push and Pull to/from my repository in Github. However, each time I leave Glue Studio I need to reconfigure the Git configuration (Personal access token + Repository owner). It even states that "You will need to re-enter this information each time you log in to AWS Management Console.". I was wondering if there is a way to permanently store the configuration?

The need to reconfigure this every time I use the service would be a good reason for me not to use it because this is a tedious job.

질문됨 일 년 전394회 조회
1개 답변
0

Glue doesn't store it because if it would be saved with the job and would be leaked.
Eventually those credentials should be stored on AWS Secret Manager and just reference that secret in the job.
What you can do at the time being (other than having them at hand to copy/paste) is having a script that uses the API to execute the same action, you could have the script at hand in your computer and execute it as needed.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/glue/client/update_source_control_from_job.html
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/glue/client/update_job_from_source_control.html

profile pictureAWS
전문가
답변함 일 년 전

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

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

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

관련 콘텐츠