1podman-secret-create(1)()                            podman-secret-create(1)()
2
3
4

NAME

6       podman-secret-create - Create a new secret
7
8

SYNOPSIS

10       podman secret create [options] name file|-
11
12

DESCRIPTION

14       Creates  a  secret  using  standard input or from a file for the secret
15       content.
16
17
18       Create accepts a path to a file, or -, which tells podman to  read  the
19       secret from stdin
20
21
22       A secret is a blob of sensitive data which a container needs at runtime
23       but should not be stored in the image or in  source  control,  such  as
24       usernames  and  passwords, TLS certificates and keys, SSH keys or other
25       important generic strings or binary content (up to 500 kb in size).
26
27
28       Secrets will not be committed to an image with podman commit, and  will
29       not be in the archive created by a podman export
30
31

OPTIONS

33   --env=false
34       Read secret data from environment variable
35
36
37   --driver=driver
38       Specify the secret driver (default file, which is unencrypted).
39
40
41   --help
42       Print usage statement.
43
44

EXAMPLES

46              $ podman secret create my_secret ./secret.json
47              $ podman secret create --driver=file my_secret ./secret.json
48              $ printf <secret> | podman secret create my_secret -
49
50
51

SEE ALSO

53       podman-secret (1)
54
55

HISTORY

57       January   2021,  Originally  compiled  by  Ashley  Cui  acui@redhat.com
58       ⟨mailto:acui@redhat.com⟩
59
60
61
62                                                     podman-secret-create(1)()
Impressum