CmdID

CmdID / Commands

systemd-creds

List, show, encrypt, and decrypt service credentials. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Encrypt a file and set a specific name

systemd-creds encrypt --name name path/to/input_file path/to/outputIdentify

Decrypt the file again

systemd-creds decrypt path/to/input_file path/to/output_fileIdentify

Encrypt text from stdin

echo -n text | systemd-creds encrypt --name name - path/to/outputIdentify
-nNo trailing newline toybox

Encrypt the text and append it to the .service file (the credentials will be available in $CREDENTIALS_DIRECTORY)

echo -n text | systemd-creds encrypt --name name --pretty - - >>serviceIdentify
-nNo trailing newline toybox

Create a credential that is only valid until the given timestamp

systemd-creds encrypt --not-after "timestamp" path/to/input_file path/to/output_fileIdentify