Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 426 Bytes

IMPORT.md

File metadata and controls

17 lines (14 loc) · 426 Bytes

Import RSA and EC Keypairs

  • Currently only supports RSA and ECDSA private keys

Import a keypair

$ cosign import-key-pair --key opensslrsakey.pem
Enter password for private key:
Enter password for private key again:
Private key written to import-cosign.key
Public key written to import-cosign.pub

Sign a container with imported keypair

$ cosign sign --key import-cosign.key dlorenc/demo