How to sign my panel plugin?

I tried to follow this guide: Sign a plugin | Grafana Plugin Tools to sign a private plugin but I ran into issues.

At the cloud access policies I can not find the plugin:write scope described in the guide and when I try to sign my plugin I get the error message

sign-plugin@3.2.0  Error signing manifest.

Server responded with status code 403 along with:
• code: Forbidden
• message: You do not have permission to perform the requested action.

which is probably because i don’t have the correct scope selected to perform the signing. What do I have to select / how to fix this?

Given that I did the same yesterday (and it worked), I suggest you look closer. Really type `plugins:write` and then the option should appear.

thanks for your reply. I did look/search for it, but I can’t find it. There’s only provisioned-plugins:write and stack-plugins:write, but no plugins:write. I tried adding both and giving access, but it doesn’t work

@develdoc make sure the user you are using for your org has admin permissions and also make sure you are in the correct organization (top left selector)

Oh, in the Realms Combobox I had “develdoc” selected but when I open the dropdown it offers me the option “develdoc (all stacks)”, which is different. With all-stacks the plugins:write scope appears.

If I open the box again I can only select “develdoc” and the plugin scope is gone again. It’s effectively switching between all stacks and not all stacks. That’s a bit weird, if they are 2 different things I would have expected 2 options in the list.

I checked the plugin:write scope, tested it and my plugin was signed successfully.

Thank you very much!

1 Like