attach
Manage secret attachments
Usage: sos secret attach <COMMAND>
Commands:
add Add an attachment
list List attachments
get Print an attachment
download Decrypt and download a file attachment
remove Remove an attachment
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
add
Add an attachment
Usage: sos secret attach add <COMMAND>
Commands:
file Add a file attachment
note Add a note attachment
link Add a link attachment
password Add a password attachment
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
More help
list
List attachments
Usage: sos secret attach list [OPTIONS] <SECRET>
Arguments:
<SECRET> Secret name or identifier
Options:
-a, --account <ACCOUNT> Account name or address
-f, --folder <FOLDER> Folder name or id
-v, --verbose Print more information
-h, --help Print help
get
Print an attachment
Usage: sos secret attach get [OPTIONS] <SECRET> <ATTACHMENT>
Arguments:
<SECRET> Secret name or identifier
<ATTACHMENT> Field name or identifier
Options:
-a, --account <ACCOUNT> Account name or address
-f, --folder <FOLDER> Folder name or id
-h, --help Print help
download
Decrypt and download a file attachment
Usage: sos secret attach download [OPTIONS] <SECRET> <ATTACHMENT> <FILE>
Arguments:
<SECRET> Secret name or identifier
<ATTACHMENT> Field name or identifier
<FILE> Path for the decrypted file
Options:
-a, --account <ACCOUNT> Account name or address
-f, --folder <FOLDER> Folder name or id
--force Overwrite an existing file
-h, --help Print help
remove
Remove an attachment
Usage: sos secret attach remove [OPTIONS] <SECRET> <ATTACHMENT>
Arguments:
<SECRET> Secret name or identifier
<ATTACHMENT> Field name or identifier
Options:
-a, --account <ACCOUNT> Account name or address
-f, --folder <FOLDER> Folder name or id
-h, --help Print help