Hi team. I am trying to integrate Infisical into m...
# infisical-help
d
Hi team. I am trying to integrate Infisical into my Docker containers and I'm having some issues with the suggested way on the website (https://infisical.com/docs/integrations/platforms/docker). So, either I pass in the token to be visible in the Docker environment when I inspect it or I pass in the client secret and client id via a script that anyone who can get into the container can read? Isn't there a safer way where the variables are only seen by the tool that is started from the infisical cli? Also, the first option makes it hard to refresh the token without restarting the container.
p
Hi Dennis! How are you running those docker containers? Are you managing them yourself or do you use an orchestrator (AWS ECS, Kubernetes, etc). If you are using an orchestrator, we have more types of machine identities capable of authenticating without the need to share those secrets. Let us know and we can help you find a better way to authenticate your CLI inside the container.