Why secrets and how they work #24186
-
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes they should be compatible.
I believe so.
Correct, or during build required a secret to access something.
If the secret information is supposed to end up in the image, then there is no need to use a podman secret. Think of Podman Secrets as something that will not be stored in the final image.
That depends, you could have an image on a private registry inside your intranet, that still should not include the secret information. Also secret information might change over time, so embedding it in a container image might end up with a broken image.
You should verify but they are world readable within the container, since a non root process might need access to the secret.
Not sure the definition of "safe" is, Both are available to the init process of the container, then that process has control over future processes inside of the container having access. The init process of the container can remove the file or environment variable if it does not want ancestor processes to have access.
Ask in podman-compose repo.
|
Beta Was this translation helpful? Give feedback.
Yes they should be compatible.
I believe so.
Correct, or during build required a secret to access something.