Security while providing connection options.

0

How can I provide connection options securely while loading data using glueContext.create_dynamic_frame.from_options , writing them down in the script is a no go and providing them through arguments to the job also does not seem to be secure. Is there something that I am missing here or there is no other way? TIA.

lalywr
preguntada hace 4 años368 visualizaciones
1 Respuesta
0
Respuesta aceptada

GlueContext.extract_jdbc_conf method might help your use-case.
With this method, you can retrieve JDBC parameters from your existing Glue connections.

jdbc_conf = glue_context.extract_jdbc_conf(connection_name=&#39;<Glue connection name>&#39;)
user = jdbc_conf[&#39;user&#39;]
password = jdbc_conf[&#39;password&#39;]

See details here.
https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-pyspark-extensions-glue-context.html

AWS
respondido hace 4 años

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