[v9.3.x] Docs: Updating sign plugin docs (#59419)

Docs: Updating sign plugin docs (#59322)

Updating sign plugin docs

(cherry picked from commit 5a3f0e8696)

Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
This commit is contained in:
Grot (@grafanabot)
2022-11-29 09:30:11 +01:00
committed by GitHub
co-authored by Timur Olzhabayev
parent 1b3a248142
commit 79d76996aa
@@ -40,11 +40,9 @@ Public plugins need to be reviewed by the Grafana team before you can sign them.
```bash
export GRAFANA_API_KEY=<YOUR_API_KEY>
npx @grafana/sign-plugin plugin:sign
npx @grafana/sign-plugin
```
> **Note:** If running NPM 7+ the `npx` commands mentioned in this article may hang. The workaround is to use `npx --legacy-peer-deps <command to run>`.
## Sign a private plugin
1. In your plugin directory, sign the plugin with the API key you just created. Grafana Sign Plugin creates a [MANIFEST.txt](#plugin-manifest) file in the `dist` directory of your plugin.
@@ -53,7 +51,7 @@ Public plugins need to be reviewed by the Grafana team before you can sign them.
```bash
export GRAFANA_API_KEY=<YOUR_API_KEY>
npx @grafana/sign-plugin plugin:sign --rootUrls https://example.com/grafana
npx @grafana/sign-plugin --rootUrls https://example.com/grafana
```
## Plugin signature levels