Python - How to access DB credentials from AWS Secrets Manager? | AWS Secrets Manager Tutorial

preview_player
Показать описание
This video demonstrates
1. Create AWS Secrets Manager
2. Store RDS credentials in AWS Secrets Manager
3. Write Python code to access database details from secrets manager and connect to mysql database.

For Online/Classroom trainings and project support please contact
Java Home Cloud, Banglore India
+919886611117
Рекомендации по теме
Комментарии
Автор

Awesome video, I don't consider myself an AWS or Python expert, but I understood everything, thanks!

juanm
Автор

This explanation helped me to fix an error. Thanks for the info👍

shinygeorge
Автор

This is real good. A quick video showing lot of things. Thank you.

vmalj
Автор

Hari, this is an awesome presentation. Hats off to you the way you explain it.

gyohannan
Автор

Great video Hari. If it were a jewel, definitely a diamond! Took it right from your example to my production code.

routeflasher
Автор

Great Video! You helped me so much. Thanks.

DiegoMadrigali
Автор

Really helpful and insightful. Thanks!

zubyranks
Автор

Thanks for the video ... in the video you explained that there are other ways to do the same and secrets manager is one of the ways ... Can you please point out a few other ways, so that I can explore them ... Thanks

vivekpuurkayastha
Автор

hi very informative video...bu how to use this secret manager in aws glue to access mysql database

deepakshrikanttamhane
Автор

Sir what if we have more than one schema/database in our MySQL RDS


should I need to create separate secrets for another schema/database in the same RDS?

idreesahmed
Автор

Great video. Does this also work within a Lambda function? I tried it but can't seem to print the username and password within the handler. thanks

marianek
Автор

Whoever has access to code can they not simply print the secret to know the value ? how can i secure it from doing that ?

sridharrayappagari
Автор

I am not getting that what is the secret here ... People who have code execution rights can simply print and see the password details from that secretDect dictionary details getting from the secret manager right ... I think it's only for people who have read-only privileges to the code or people with AWS role with permissions... Pls, let me know if I am wrong.

pachappagarimohanvamsi
Автор

Great video! However after creating a secret in secret manager I am no longer able to connect to the RDS DB instance. This is the error: "ERROR:root:1045 (28000): Access denied for user '<username>@<myip> (using password: YES)".
What happened?

santealtamura
Автор

Thank you - this tutorial was very helpful. 
One question: Is there any other way to programmatically connect to AWS (I mean if I don't want to store access key and secret key in my laptop / computer).

ig
Автор

Great explanation. Could you please expand this demo with using this last code in lambda?

marianek
Автор

That's what i want but i need in nodejs

Aman-iepy
Автор

Dear Hari, if my python app is running on ec2 how can i ensure my app has access to read secrets from secrets manager??

VinaySingh-gwyi
Автор

Hi could you please let me know which version of python and pip we have to use? I tried to use python 2 and I got error that unknown service name secrets manager..

krishnamoorthy
Автор

Can leverage AWS secrets manager to be integrated with google sheet api?

gene