From 3d01d42f26166cb9c5ae524cf80979d82a9f2ebd Mon Sep 17 00:00:00 2001 From: Ashley Cui Date: Tue, 16 Mar 2021 16:12:32 -0400 Subject: Docs: removing secrets is safe for in-use secrets Add docs explaining that it is safe to remove a secret that is in use by a container: secrets are copied and mounted into the container at creation Signed-off-by: Ashley Cui --- docs/source/markdown/podman-secret-rm.1.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/source/markdown/podman-secret-rm.1.md') diff --git a/docs/source/markdown/podman-secret-rm.1.md b/docs/source/markdown/podman-secret-rm.1.md index 5169626dc..c6f5079ba 100644 --- a/docs/source/markdown/podman-secret-rm.1.md +++ b/docs/source/markdown/podman-secret-rm.1.md @@ -10,6 +10,12 @@ podman\-secret\-rm - Remove one or more secrets Removes one or more secrets. +`podman secret rm` is safe to use on secrets that are in use by a container. +The created container will still have access to the secret data because secrets are +copied and mounted into the container when a container is created. If a secret is deleted and +another secret is created with the same name, the secret inside the container will not change; +the old secret value will still remain. + ## OPTIONS #### **--all**, **-a** -- cgit v1.2.3-54-g00ecf