Drone orgsecret can't handle private key text?

 drone orgsecret add myorg docker_cacert "$(cat ca.pem)"

Where ca.pem is a big 'ol string that looks like:


The CLI reports “bad flag syntax”:

bad flag syntax: -----BEGIN CERTIFICATE-----…

you should read the secret from disk as shown here:

1 Like

Oh yes, thanks a lot!