3.0.4 • Published 9 months ago

@grafana/sign-plugin v3.0.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

Grafana / Sign Plugin

Sign Grafana plugins with ease.

ToC

@grafana/sign-plugin works on macOS, Windows and Linux. If something doesn’t work, please file an issue. If you have questions or need help, please ask in GitHub Discussions.

Signing a plugin

Signing a plugin allows Grafana to verify the authenticity of the plugin with signature verification. This gives users a way to make sure plugins haven’t been tampered with. All Grafana Labs-authored plugins, including Enterprise plugins, are signed.

All plugins require a signature since Grafana 7.0.

Please refer to Signing plugins documentation to understand how to sign a Grafana plugin. The following commands are mentioned here for development purposes.

Sign a public plugin

In your plugin directory, sign the plugin with your Grafana access policy token. Grafana sign-plugin creates a MANIFEST.txt file in the dist directory of your plugin.

export GRAFANA_ACCESS_POLICY_TOKEN=<YOUR_GRAFANA_ACCESS_POLICY_TOKEN>
npx @grafana/sign-plugin@latest

If the plugin distribution directory differs from the default dist, specify the path to use with the --distDir flag.

export GRAFANA_ACCESS_POLICY_TOKEN=<YOUR_GRAFANA_ACCESS_POLICY_TOKEN>
npx @grafana/sign-plugin@latest --distDir path/to/directory

Sign a private plugin

In your plugin directory, run the following to create a MANIFEST.txt file in the dist directory of your plugin.

npx @grafana/sign-plugin@latest --rootUrls https://example.com/grafana

Alterntives:

npx

npx @grafana/sign-plugin@latest

yarn (> 2.x)

yarn dlx @grafana/sign-plugin@latest

Contributing

We are always grateful for contribution! See the CONTRIBUTING.md for more information.

3.0.4

9 months ago

3.0.3

12 months ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.0

1 year ago

2.3.0

1 year ago

1.0.3

2 years ago

2.2.0

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.0

2 years ago

2.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.1.0

2 years ago

0.0.3

2 years ago

0.0.2

3 years ago

0.0.1

3 years ago