The Daily Shaarli

All links of one day in a single page.

April 22, 2024

Storing sensitive data using Podman secrets: Which method should you use? | Enable Sysadmin
thumbnail
Then you can use it in your container as an environment variable:

~~~
$ podman run --secret=my-password,type=env,target=MY_PASSWORD \
    registry.access.redhat.com/ubi9:latest \
    printenv MY_PASSWORD

Gr8P@ssword!
~~~