Delete container image signatures

Delete existing container image signatures with matching internal IDs.

The IDs can be gathered by using the pubtools-pyxis-get-signatures entrypoint. The reason for using internal IDs is to ensure the unambiguity of the to-be-removed signatures.

CLI reference

usage: pubtools-pyxis-delete-signatures [-h] --pyxis-server PYXIS_SERVER
                                        [--pyxis-insecure]
                                        [--pyxis-krb-principal PYXIS_KRB_PRINCIPAL]
                                        [--pyxis-krb-ktfile PYXIS_KRB_KTFILE]
                                        [--pyxis-ssl-crtfile PYXIS_SSL_CRTFILE]
                                        [--pyxis-ssl-keyfile PYXIS_SSL_KEYFILE]
                                        --ids IDS
                                        [--request-threads REQUEST_THREADS]

Named Arguments

--pyxis-server

Pyxis service hostname

--pyxis-insecure

Allow insecure connection to Pyxis

--pyxis-krb-principal

Pyxis kerberos principal in form: name@REALM

--pyxis-krb-ktfile

Pyxis Kerberos client keytab. Optional. Used for login if TGT is not available.

--pyxis-ssl-crtfile

Path to .crt file for the SSL authentication

--pyxis-ssl-keyfile

Path to .key file for the SSL authentication

--ids

comma separated signature IDs to remove or json file when prefixed with @

--request-threads

Maximum number of threads to use for parallel requests

Default: 16

Examples

NOTE: The demonstration of various authentication types can be seen in “Get operator indices” entrypoint examples.

Get multiple signatures with specified IDs

pubtools-pyxis-delete-signatures \
--pyxis-server https://pyxis-server-url/ \
--pyxis-ssl-crtfile /path/to/file.crt \
--pyxis-ssl-keyfile /path/to/file.key \
--ids sigid1,sigid2