.nh .TH "apptainer" "1" "Sep 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP apptainer-sign - Add digital signature(s) to an image .SH SYNOPSIS .PP \fBapptainer sign [sign options...] \fP .SH DESCRIPTION .PP 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. .PP Key material can be provided via PEM-encoded file, or an entity in the PGP keyring. To manage the PGP keyring, see 'apptainer help key'. .SH OPTIONS .PP \fB-g\fP, \fB--group-id\fP=0 sign objects with the specified group ID .PP \fB-h\fP, \fB--help\fP[=false] help for sign .PP \fB--key\fP="" path to the private key file .PP \fB-k\fP, \fB--keyidx\fP=0 PGP private key to use (index from 'key list --secret') .PP \fB-i\fP, \fB--sif-id\fP=0 sign object with the specified ID .SH EXAMPLE .EX Sign with a private key: $ apptainer sign --key private.pem container.sif Sign with PGP: $ apptainer sign container.sif .EE .SH SEE ALSO .PP \fBapptainer(1)\fP .SH HISTORY .PP 23-Sep-2024 Auto generated by spf13/cobra