We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c024f16 commit f9ff7afCopy full SHA for f9ff7af
commands/secret_create.go
@@ -30,6 +30,7 @@ var secretCreateCmd = &cobra.Command{
30
[--trim=false]
31
[--from-literal=SECRET_VALUE]
32
[--from-file=/path/to/secret/file]
33
+ [--replace]
34
[STDIN]
35
[--tls-no-verify]`,
36
Short: "Create a new secret",
@@ -49,7 +50,7 @@ var secretCreateCmd = &cobra.Command{
49
50
cat ./secret.txt | faas-cli secret create NAME
51
52
# Force an update if the secret already exists
- faas-cli secret create NAME --from-file PATH --update
53
+ faas-cli secret create NAME --from-file PATH --replace
54
`,
55
RunE: runSecretCreate,
56
PreRunE: preRunSecretCreate,
0 commit comments