Title
#help
Yoni Augarten

Yoni Augarten

10/05/2022, 2:07 PM
Hey @Kevin Vasko, which access key and secret key are you referring to?
k

Kevin Vasko

10/05/2022, 2:09 PM
to access lakeFS. So for example, if i create a user or they use their LDAP credentials and use python to access lakeFS instead of hard coding credentials in the code in clear text, what are the options?
Yoni Augarten

Yoni Augarten

10/05/2022, 2:13 PM
Thanks for the details, @Kevin Vasko. It is a question of how your application is deployed and how you manage secrets in it. For example, if you're running on AWS, they can come from AWS Secrets Manager. If you're running in Kubernetes, they can come from Kubernetes secrets.
k

Kevin Vasko

10/05/2022, 2:14 PM
Can you point me to how that’s done with say the python lakefs_client package? Is there a way of pulling it from credentials file maybe?
Yoni Augarten

Yoni Augarten

10/05/2022, 2:15 PM
You should handle lakeFS credentials as you would any other set of credentials in your app (e.g. database password, API keys of third party services, access tokens, etc.)
2:17 PM
There is currently no built in way to pull them from a file. Most users choose to pass the credentials to the code using environment variables.
k

Kevin Vasko

10/05/2022, 2:17 PM
Got it.
2:18 PM
Yeah, that’s i’ve never found the perfect solution for this either haha. It always seem like an “after thought”.
Yoni Augarten

Yoni Augarten

10/05/2022, 2:20 PM
I agree, handling sensitive information is always scary😛
Barak Amar

Barak Amar

10/05/2022, 3:07 PM
3:07 PM
One way to load them. managing secrets, depends a lot on the environment you are running in.