Forrest logo
back to the web-ext tool

web-ext:tldr:e2e0e

web-ext: Sign a package for self-hosting.
$ web-ext sign --api-key ${api_key} --api-secret ${api_secret}
try on your machine

The command "web-ext sign" is used to sign a web extension package with Firefox for distribution. Web extensions are add-ons that extend the functionality of the Firefox browser.

In this specific command, the "--api-key" flag is used to specify the API key needed to authenticate with Mozilla's signing service. The ${api_key} placeholder is meant to be replaced with the actual API key you have obtained from Mozilla.

Similarly, the "--api-secret" flag is used to specify the API secret needed for authentication. The ${api_secret} placeholder is meant to be replaced with the corresponding API secret you have obtained.

By running this command with the correct API key and secret, the "web-ext" tool will sign your web extension package, making it ready for distribution through Mozilla's extension gallery or other platforms.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the web-ext tool