...
1## cosign upload wasm
2
3Upload a wasm module to the supplied container image reference
4
5```
6cosign upload wasm [flags]
7```
8
9### Examples
10
11```
12 cosign upload wasm -f foo.wasm <image uri>
13```
14
15### Options
16
17```
18 --allow-http-registry whether to allow using HTTP protocol while connecting to registries. Don't use this for anything but testing
19 --allow-insecure-registry whether to allow insecure connections to registries (e.g., with expired or self-signed TLS certificates). Don't use this for anything but testing
20 --attachment-tag-prefix [AttachmentTagPrefix]sha256-[TargetImageDigest].[AttachmentName] optional custom prefix to use for attached image tags. Attachment images are tagged as: [AttachmentTagPrefix]sha256-[TargetImageDigest].[AttachmentName]
21 -f, --file string path to the wasm file to upload
22 -h, --help help for wasm
23 --k8s-keychain whether to use the kubernetes keychain instead of the default keychain (supports workload identity).
24 --registry-password string registry basic auth password
25 --registry-token string registry bearer auth token
26 --registry-username string registry basic auth username
27```
28
29### Options inherited from parent commands
30
31```
32 --output-file string log output to a file
33 -t, --timeout duration timeout for commands (default 3m0s)
34 -d, --verbose log debug output
35```
36
37### SEE ALSO
38
39* [cosign upload](cosign_upload.md) - Provides utilities for uploading artifacts to a registry
40
View as plain text