docker secret create <SECRET NAME> <SECRET>

Create a secret from a file or STDIN as content

Arguments

NameDescription
SECRET NAME
SECRETfilepaths

Options

NameDescription
-d, --driver <string>Secret driver
-l, --label <list>Secret labels
--template-driver <string>Template driver