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.

posta un anno fa394 visualizzazioni
1 Risposta
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
ESPERTO
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande