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.

已提問 1 年前檢視次數 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
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南