Synopsis

codesign sign [-hvV] [--force-overwrite] [--artifact-configuration=<slug>] [--base-url=<url>] [--config-file=<file>] [--description=<text>] -O=<id> [--output=<file>] [--output-dir=<dir>] -p=<slug> -s=<slug> [--wait-for-completion-timeout=<seconds>] [--param=<key>=<value>]…​ <file>…​

Description

Sign one or more artifact files via the SignPath REST API.

Options

-O, --organization-id=<id>

SignPath organization identifier.

-p, --project-id=<slug>

SignPath project slug.

-s, --signing-policy=<slug>

SignPath signing policy slug.

--artifact-configuration=<slug>

SignPath artifact configuration slug (optional).

--description=<text>

Description shown in the SignPath signing request (optional).

--param=<key>=<value>

Custom parameter forwarded to SignPath (repeatable). Format: --param key=value --param key2=value2

--config-file=<file>

Path to a properties file containing api.token (default: ~/.config/eclipse-csi-codesign/config.properties).

--output-dir=<dir>

Directory where signed artifacts are written, preserving original filenames. Cannot be combined with --output.

--output=<file>

Output path for the signed artifact. Only valid when a single input file is provided. Cannot be combined with --output-dir.

--force-overwrite

Allow in-place replacement of input files. Required when neither --output nor --output-dir is specified.

--wait-for-completion-timeout=<seconds>

Maximum seconds to wait for signing to complete (default: 600). Poll interval, HTTP timeouts, and retry limits are derived automatically from this value.

--base-url=<url>

SignPath API base URL (default: https://app.signpath.io/Api).

-v, --verbose

Enable verbose output (shows derived timing parameters and download progress).

-h, --help

Show this help message and exit.

-V, --version

Print version information and exit.

Arguments

<file>…​

One or more files to sign (e.g. app.jar installer.exe). On Unix shells, glob patterns are expanded by the shell.