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.

preguntada hace un año393 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas