Skip to main content
title
Link
Chris McKelt
  • 181
  • 1
  • 1
  • 7

docker compose & azure key vault - passing secrets to a container on startup

FluentDocker
Source Link
Chris McKelt
  • 181
  • 1
  • 1
  • 7

I am using docker-compose to create 5 containers that run my application. Two containers need credentials retrieve from Azure Key Vault (web.config passwords to access 3rd party service).

As I am committing this to a public repo I do not want to store any azure credentials in plain text in the docker-compose.yaml file when starting up each container.

Is there a better way to do this?

I am thinking to use [FluentDocker][https://github.com/mariotoffia/FluentDocker]https://github.com/mariotoffia/FluentDocker to grab the secrets and dynamically create each container - but wonder if there is a better way?

Can I use Azure Key Vault with Docker?

Is it easier to use Docker secrets?

Or something else?

I am using docker-compose to create 5 containers that run my application. Two containers need credentials retrieve from Azure Key Vault (web.config passwords to access 3rd party service).

As I am committing this to a public repo I do not want to store any azure credentials in plain text in the docker-compose.yaml file when starting up each container.

Is there a better way to do this?

I am thinking to use [FluentDocker][https://github.com/mariotoffia/FluentDocker] to grab the secrets and dynamically create each container - but wonder if there is a better way?

Can I use Azure Key Vault with Docker?

Is it easier to use Docker secrets?

Or something else?

I am using docker-compose to create 5 containers that run my application. Two containers need credentials retrieve from Azure Key Vault (web.config passwords to access 3rd party service).

As I am committing this to a public repo I do not want to store any azure credentials in plain text in the docker-compose.yaml file when starting up each container.

Is there a better way to do this?

I am thinking to use https://github.com/mariotoffia/FluentDocker to grab the secrets and dynamically create each container - but wonder if there is a better way?

Can I use Azure Key Vault with Docker?

Is it easier to use Docker secrets?

Or something else?

english
Source Link
Chris McKelt
  • 181
  • 1
  • 1
  • 7

I am using docker-compose to create 5 containers that run my application. Two containers need credentials stored inretrieve from Azure Key Vault (web.config passwords to access 3rd party service).

As I am committing this to a public repo I do not want to store any azure credentials in plain text in the docker-compose.yaml file when starting up each container.

Is there a better way to do this?

I am thinking to use [FluentDocker][https://github.com/mariotoffia/FluentDocker] to grab the secrets and dynamically create each container - but wonder if there is a better way?

Can I use Azure Key Vault with Docker? or is

Is it easier to use Docker secrets? 

Or something else?

Thanks

I am using docker-compose to create 5 containers that run my application. Two containers need credentials stored in Azure Key Vault.

As I am committing this to a public repo I do not want to store any azure credentials in plain text in the docker-compose.yaml file.

Is there a better way to do this?

I am thinking to use [FluentDocker][https://github.com/mariotoffia/FluentDocker] to grab the secrets and dynamically create each container - but wonder if there is a better way?

Can I use Azure Key Vault with Docker? or is it easier to use Docker secrets? Or something else?

Thanks

I am using docker-compose to create 5 containers that run my application. Two containers need credentials retrieve from Azure Key Vault (web.config passwords to access 3rd party service).

As I am committing this to a public repo I do not want to store any azure credentials in plain text in the docker-compose.yaml file when starting up each container.

Is there a better way to do this?

I am thinking to use [FluentDocker][https://github.com/mariotoffia/FluentDocker] to grab the secrets and dynamically create each container - but wonder if there is a better way?

Can I use Azure Key Vault with Docker?

Is it easier to use Docker secrets? 

Or something else?

Source Link
Chris McKelt
  • 181
  • 1
  • 1
  • 7
Loading