Im trying to load Secrets (to be more precise an .env File) from Bitwarden into a docker-compose.yml File using only a Bitwarden access Token. So more or less like in the Githubactions but as a docker-compose.yml.
From the very slim Documentation i came up with smth like that but its for github actions:
name: Get Secrets
uses: bitwarden/sm-action@v1
with:
access_token: ${{ secrets.BW_ACCESS_TOKEN }}
secrets: |
00000000000000000000000000000000000 > env_file_distributor_frontend
run: |
touch .env
echo $env_file_distributor_frontend > .env
and I want the same for my docker-compose.