Sign and verify models
You can sign and verify models in one of two ways, either by using a container that does the signing and verifying of artifacts, or by using a stand-alone executable to sign and verify your artifacts.
Sign and verify AI/ML models by using a container Copy linkLink copied!
Use the RHTAS model-transparency CLI to sign and verify artificial intelligence and machine learning (AI/ML) models. The CLI requires your Trust Root configuration, but its commands run in a container image, so you do not need to install the binary locally.
Before you begin Copy linkLink copied!
- Installation of RHTAS running on Red Hat OpenShift Container Platform.
- A running Securesign instance.
- An OpenID Connect (OIDC) identity for retrieving tokens or client credentials.
- A workstation with the
podmanbinary installed.
About this task Copy linkLink copied!
Signing and verifying AI/ML models by using the CLI is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs), might not be functionally complete, and Red Hat does not recommend to use them for production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process. See the support scope for Red Hat Technology Preview features for more details.
On RHTAS 1.2 and below, the Rekor key is configured to use SHA384 encryption. You must rotate the Rekor signer key to use SHA256. If you do not change the encryption type for Rekor, then verifying artifacts will cause mismatch errors.
For more information about this issue, see the RHTAS Release Notes.
Procedure Copy linkLink copied!
Sign and verify artificial intelligence and machine learning models by using the model transparency command-line tool Copy linkLink copied!
Use the model transparency CLI to sign and verify artificial intelligence and machine learning (AI/ML) models, ensuring their integrity and authenticity. Models can be stored in a local directory or an Open Container Initiative (OCI) image registry such as Quay.io.
Before you begin Copy linkLink copied!
- Installation of the RHTAS operator running on Red Hat OpenShift Container Platform.
- A running Securesign instance.
- Your OpenID Connect (OIDC) issuer URL, and user credentials for signing and verifying your ML models.
- Python 3.10 or later installed on your workstation.
- A workstation with the
oc,pip, andcurlbinaries installed.