docker secret create <SECRET NAME> <SECRET>
Create a secret from a file or STDIN as content
Arguments
Name | Description |
---|---|
SECRET NAME | |
SECRET | filepaths |
Options
Name | Description |
---|---|
-d, --driver <string> | Secret driver |
-l, --label <list> | Secret labels |
--template-driver <string> | Template driver |