Before deploying AI Supply Chain Security, make sure you understand:
Select OS
Select your operating system to view installation instructions.
Select Deployment Type
Select Hybrid or Disconnected mode. See Hybrid and Disconnected modes for more information.
Export your HiddenLayer information (product license, API key, and API secret). For Hybrid mode, scan results are sent to the HiddenLayer Console.
- Replace
%QUAY_USERNAME%and%QUAY_PASSWORD%with actual values. - Replace
%CLI_LICENSE%with the Supply Chain CLI license key. - Replace
%HL_API_KEYand%HL_API_SECRET%with your HiddenLayer API key and secret, generated in the Console.
export HIDDENLAYER_USERNAME=%QUAY_USERNAME% export HIDDENLAYER_PASSWORD=%QUAY_PASSWORD% export HL_LICENSE=%CLI_LICENSE% export HL_CLIENT_ID=%HL_API_KEY% export HL_CLIENT_SECRET=%HL_API_SECRET%- Replace
Run the following commands to login to the HiddenLayer Quay repository.
docker login --username=$HIDDENLAYER_USERNAME --password=$HIDDENLAYER_PASSWORD quay.ioUse the docker pull command to download the Supply Chain CLI image.
- Change the Supply Chain CLI version if you want to pull a different Supply Chain version. For example, change
latestto25.1.0.
docker pull quay.io/hiddenlayer/distro-cli-modelscanner:latest- Change the Supply Chain CLI version if you want to pull a different Supply Chain version. For example, change
Supply Chain is Ready to Scan Model Files
The Supply Chain Enterprise CLI is ready. See Scan Model Files for instructions on scanning model files.