|
|
|
|
|
by jimsmart
486 days ago
|
|
I think it was actually normalised long before container-based development was even a thing. It's always just been standard common practice — both in development and for live deployment. With the assumption being that it's safe, if the box itself is safe (is secure and is running trusted processes). You have to store the secrets somewhere, and at point of usage they are no longer secret. So one has to assume that any truly determined adversary will undoubtedly get hold of all secrets anyhow. Anything else is all about minimising risk. And, as with all security practices, there is always a cost/benefit analysis that has to be made, and there will be some kind of cost/benefit tradeoffs made throughout the system / system design, as a result. But regarding your original point: I would actually think that container-based development makes it easier to provide secrets to only the containers that need them, because e.g. with Docker, environmental variables can easily be specified in separate env files that are passed only to specific containers. |
|