Hello guys, I was wondering whether there is a way...
# help
n
Hello guys, I was wondering whether there is a way to automate the LakeFS creation of the AccessID and Secret. I want to create LakeFS and then send those keys to my web server. My current yml is look like this. version: "3.7"
services:
web:
build: .
ports:
- "3000:3000"
environment:
LAKEFS_ACCESS_KEY_ID: ${LAKEFS_ACCESS_KEY_ID} //I want to send here
laksefs:
image: treeverse/lakefs:latest
ports:
- "8000:8000"
volumes:
- ./lakefs-config.yaml:/etc/lakefs/config.yaml
@Isan Rivkin, @Niro Got any idea on this? Sorry about trouble.
n
@Nethsara Siyum if I understand correctly, you want to create custom initial credentials?
n
Yeah, and pass to the my custom service in which I can use that credentials.
n
You can use the same method we use in the lakeFS samples repo:
Copy code
- LAKEFS_INSTALLATION_USER_NAME=everything-bagel
      - LAKEFS_INSTALLATION_ACCESS_KEY_ID=AKIAIOSFOLKFSSAMPLES
      - LAKEFS_INSTALLATION_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
lakefs 2
n
Thank u @Niro
n
You're welcome!