Forrest logo
back to context overview

cosign

List of commands for cosign:

  • cosign:tldr:00058 cosign: Sign a blob with a local key pair file.
    $ cosign sign-blob --key ${cosign-key} ${filename}
    try on your machine
    explain this command
  • cosign:tldr:2c1ce cosign: Copy a container image and its signatures.
    $ cosign copy ${example-com-src:latest} ${example-com-dest:latest}
    try on your machine
    explain this command
  • cosign:tldr:4425b cosign: Verify an image with a public key stored in a Kubernetes secret.
    $ cosign verify -key k8s://${namespace}/${key} ${image}
    try on your machine
    explain this command
  • cosign:tldr:4647f cosign: Verify a container against a public key.
    $ cosign verify -key ${cosign-pub} ${image}
    try on your machine
    explain this command
  • cosign:tldr:a973f cosign: Generate a key-pair.
    $ cosign generate-key-pair
    try on your machine
    explain this command
  • cosign:tldr:e5f7d cosign: Sign a container and store the signature in the registry.
    $ cosign sign -key ${cosign-key} ${image}
    try on your machine
    explain this command
  • cosign:tldr:f8119 cosign: Sign a container image with a key pair stored in a Kubernetes secret.
    $ cosign sign -key k8s://${namespace}/${key} ${image}
    try on your machine
    explain this command
back to context overview