Version: 0.8

kore create secret generic

kore create secret generic#

Creates a generic type secret in kore

Synopsis#

Lets you create generic secrets, from files, environments files and literals.

kore create secret generic [flags]

Examples#

$ kore create secret generic <name> -t <team> [options]
# Create a secret from a file
$ kore create secret generic gke --from-file=<key>=<filename>

Options#

-d, --description DESC A description for this secret DESC
--dry-run Shows the resource but does not apply or create (defaults: false)
--from-env-file PATH Builds a secret from the environment file, PATH
--from-file KEY=PATH Builds a secret from the key reference KEY=PATH
--from-literal strings Adds a literal to the secret `KEY=NAME
-h, --help help for generic
--type TYPE The type of secret you are creating TYPE (default "generic")

Options inherited from parent commands#

--debug Indicates we should use debug / trace logging (default: false)
--force Used to force an operation to happen (default: false)
--no-wait Indicates we should not wait for resources to provision
-o, --output string Output format of the resource (json,yaml,table,template) (default "table")
--profile string Use a profile other than your default for this command
--show-headers Indicates we should display headers on table out (default true)
-t, --team string The team you are operating within
--verbose Enables verbose logging for debugging purposes (default: false)

SEE ALSO#