pods icon indicating copy to clipboard operation
pods copied to clipboard

Secrets management

Open woodsb02 opened this issue 1 year ago • 4 comments

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

woodsb02 avatar Apr 25 '24 08:04 woodsb02

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.

marhkb avatar Sep 21 '24 19:09 marhkb

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

woodsb02 avatar Sep 21 '24 23:09 woodsb02

Events for secrets was just merged into podman - see https://github.com/containers/podman/issues/24030

Does this provide the necessary features to make secrets management possible/easier in pods?

woodsb02 avatar Feb 28 '25 23:02 woodsb02

Could be interesting to provide integration with KeePassXC / Bitwarden or similar ...

softexpert avatar Mar 20 '25 21:03 softexpert