ArgoCD Interlace uses 2 key files for 2 features respectively.
- GPG public key for source material verification
- Cosign private key for signing provenance/manifest
A GPG verification key is required for the source material verification feature described here.
You can export your public key with YOUR_PUBKEY_EMAIL
by the following command.
This public key need to be corresponding to your signing key which was used for source material signing.
$ gpg --export <YOUR_PUBKEY_EMAIL> --armor > ./pubring.gpg
If you do not have any GPG key or you want to use a new key, generate the new one and export it to a file. See this GitHub document.
Then, you can configure the secret for the public key by following this
A cosign signing key is required for ArgoCD Interlace to sign the generated provenance and to sign the resource manifest.
If you do not have the one, you can generate the new one by this command. Also see the document in the cosign project.
$ cosign generate-key-pair
Then, you can configure the secret for the private key by following this