TKN-PIPELINE-SIGN(1)
β¨ NAME β¨
tkn-pipeline-sign β Sign Tekton Pipeline. Bestie, this is the TKN-PIPELINE-SIGN(1) manual page, and it is literally all about signing a Tekton Pipeline. Slay. π
π©· SYNOPSIS π©·
tkn pipeline sign
πΈ DESCRIPTION πΈ
Okay so this command signs the Tekton Pipeline using a private key file you provide or a KMS reference. Key files support ecdsa, ed25519, and rsa.
For KMS:
- GCP: this should have the structure of
gcpkms://projects/<project>/locations/<location>/keyRings/<keyring>/cryptoKeys/<key>wherelocation,keyring, andkeyare filled in appropriately. Rungcloud auth application-default loginto authenticate. - Vault: this should have the structure of
hashivault://<keyname>, where thekeynameis filled out appropriately. - AWS: this should have the structure of
awskms://[ENDPOINT]/[ID/ALIAS/ARN](endpoint optional). - Azure: this should have the structure of
azurekms://[VAULT_NAME][VAULT_URL]/[KEY_NAME].
π OPTIONS π
--allow-missing-template-keys[=true]β When this is true, any template errors caused by a missing field or map key get ignored. It only applies togolangandjsonpathoutput formats. β¨-f,--file-name=""β The βFle nameβ (their spelling, not mine π) of the signed pipeline. If you use the original file name, it will overwrite the file.-h,--help[=false]β help forsign.-K,--key-file=""β Key file.-m,--kms-key=""β KMS key url.-o,--output=""β Output format. One of: (json,yaml,name,go-template,go-template-file,template,templatefile,jsonpath,jsonpath-as-json,jsonpath-file).--show-managed-fields[=false]β When true, keep themanagedFieldswhen printing objects in JSON or YAML format.--template=""β Template string or path to template file to use when-o=go-template,-o=go-template-file. The template format is golang templates[ β¨http://golang.org/pkg/text/template/#pkg-overviewβ©].
π OPTIONS INHERITED FROM PARENT COMMANDS π
These came from the parent command, bestie β not invented by me, promise. π«Ά
-c,--context=""β name of the kubeconfig context to use (default:kubectl config current-context).-k,--kubeconfig=""β kubectl config file (default:$HOME/.kube/config).-n,--namespace=""β namespace to use (default: from$KUBECONFIG).-C,--no-color[=false]β disable coloring (default:false).
π EXAMPLE π
Sign a Pipeline pipeline.yaml:
tkn pipeline sign pipeline.yaml -K=cosign.key -f=signed.yaml
or using kms:
tkn pipeline sign pipeline.yaml -m=gcpkms://projects/PROJECTID/locations/LOCATION/keyRings/KEYRING/cryptoKeys/KEY/cryptoKeyVersions/VERSION -f=signed.yaml
π¦ SEE ALSO π¦
Thatβs the tea β: this page is Auto generated byspf13/cobra, and the manual name isTKN-PIPELINE-SIGN(1). No date in the footer, so no invented date β periodt π β¨
π¦ where this page comes from
- nixos 26.05: tektoncd-cli 0.45.0
- nixpkgs unstable: tektoncd-cli 0.46.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms