in this case it looks like your syntax is invalid. If you look at the syntax at the above link you will note that data should be set to the encrypted string value, not a map.
Is the encrypted secret the preferred way?
I’m guessing the drone commands should be available on the drone server?
(I am new to drone and still learning the ropes)
nope, the reason I asked if you were trying to use encrypted secrets is because the yaml you provided had syntax that is only required when using encrypted secrets or external secrets.
since you are using registry secrets, the following section should be removed:
I also want to add that there are a lot of syntax and structural errors in the original example that do not match anything in the documentation. So be sure to read the documentation closely.
let’s take a step back and look at how plugin parameters and secrets work. plugins are configured by setting key values in the settings section, like this:
sometimes you want these setting values to come from secrets, so that you do not need to store them in plain text in your yaml which would be insecure. You can therefore add named secrets through the user interface as shown below: