marhkb / pods

Keep track of your podman containers
GNU General Public License v3.0
757 stars 15 forks source link

Secrets management #792

Open woodsb02 opened 6 months ago

woodsb02 commented 6 months ago

It would be nice to be able to manage podman secrets.

It would also be good to be able to use existing secrets when configuring other settings (such as in the value of environment variables when creating a container).

$ podman secret --help
Manage secrets

Description:
  Manage secrets

Usage:
  podman secret [command]

Available Commands:
  create      Create a new secret
  exists      Check if a secret exists in local storage
  inspect     Inspect a secret
  ls          List secrets
  rm          Remove one or more secrets
marhkb commented 1 month ago

Probably currently not easy to implement because podman does not implements for secrets. So I can't detect if an secret is created/deleted/updated outside from pods. See https://docs.podman.io/en/latest/markdown/podman-events.1.html

Docker on the other hand got it right: https://docs.docker.com/reference/cli/docker/system/events/#secrets

Currently, I have not much time to report the issue to the podman developers. So, any help in getting this issue resolved is appreciated.

woodsb02 commented 1 month ago

Currently, I have not much time to report the issue to the podman developers.

So, any help in getting this issue resolved is appreciated.

I have created an issue for this here:

https://github.com/containers/podman/issues/24030