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
gefragt vor 4 Jahren368 Aufrufe
1 Antwort
0
Akzeptierte Antwort

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
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen