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
질문됨 4년 전368회 조회
1개 답변
0
수락된 답변

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
답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠