Use the PASM CLI put-file-secret command to create a "file" secret type by providing a file as secret. The maximum file size limit is 5 MB.
Syntax
pasmcli put-file-secret [options]
Option | Description |
-h or --help | Displays usage text. |
-b or --boxid string | The name or ID of the box. |
-f or --filename string | File to store as Secret data. |
-s or --secretid string | The secret ID or name of the secret. Strings must be enclosed in double quotes. |