apptainer sign
Attach digital signature(s) to an image
Synopsis
The sign command allows a user to add one or more digital signatures to a SIF image. By default, one digital signature is added for each object group in the file.
To generate a key pair, see ‘apptainer help key newpair’
apptainer sign [sign options...] <image path>
Examples
$ apptainer sign container.sif
Options
-g, --group-id uint32 sign objects with the specified group ID
-h, --help help for sign
-k, --keyidx int private key to use (index from 'key list --secret')
-i, --sif-id uint32 sign object with the specified ID