Prerequisites
- Cosign and Go installed
- A machine identity with Universal Auth, and the Member role in your KMS project
Step 1: Install the plugin
Build the plugin, and put it in a directory on yourPATH so Cosign can find it:
Step 2: Set the plugin’s credentials
Set the following environment variables with your machine identity’s credentials and the ID of your KMS project:string
required
The client ID of your machine identity’s Universal Auth.
string
required
A client secret for your machine identity’s Universal Auth.
string
required
The ID of the KMS project that your keys are in.
string
default:"https://app.infisical.com"
The address of Infisical. If you use EU Cloud, set it to
https://eu.infisical.com. If you self-host Infisical, set it to the address of your instance.Step 3: Sign and verify images
In each command,<key-name> is the name of a Sign/Verify key in your KMS project.
To sign an image: