From 67596fead18bfded4c6f50513d94c53ca722084d Mon Sep 17 00:00:00 2001 From: Chris Burns <29541485+ChrisJBurns@users.noreply.github.com> Date: Tue, 3 Jan 2023 14:56:24 +0000 Subject: [PATCH] deprecation: deprecates import key pair docs (#2585) Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> --- IMPORT.md | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/IMPORT.md b/IMPORT.md index 982b1a6c8be..7f525e57b3c 100644 --- a/IMPORT.md +++ b/IMPORT.md @@ -1,17 +1 @@ -# Import RSA and EC Keypairs -* Currently only supports RSA and ECDSA private keys - -### Import a keypair - -```shell -$ 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 - -```shell -$ cosign sign --key import-cosign.key $IMAGE_DIGEST -``` +> Note of deprecation: This document has been migrated into [`sigstore/docs`](https://github.com/sigstore/docs/blob/main/content/en/cosign/import-keypair.md) as part of [documentation migration](https://github.com/sigstore/cosign/issues/822) and PR: https://github.com/sigstore/docs/pull/54. To view the live docs page, go to: https://docs.sigstore.dev/cosign/import-keypair