目录
当前位置: 首页 > 文档资料 > Yubikey 使用手册 >

轮换钥匙 - 钥匙镜像

优质
小牛编辑
136浏览
2023-12-01

Snapshot key

To rotate the snapshot key:

  1. ❯ notary -D -v -s https://127.0.0.1:4443 -d ~/.docker/trust key rotate <aws_account_id>.dkr.ecr.us-east-1.amazonaws.com/app snapshot -r
  2. Enter passphrase for new targets key with ID 3c10139 (<aws_account_id>.dkr.ecr.us-east-1.amazonaws.com/app):
  3. Repeat passphrase for new targets key with ID 3c10139 (<aws_account_id>.dkr.ecr.us-east-1.amazonaws.com/app):
  4. Enter the User Pin for the attached Yubikey:
  5. Please touch the attached Yubikey to perform signing.
  6. Successfully rotated targets key for repository <aws_account_id>.dkr.ecr.us-east-1.amazonaws.com/app