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.

asked a year ago367 views
1 Answer
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
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions