drone orgsecret add myorg docker_cacert "$(cat ca.pem)"
Where ca.pem is a big 'ol string that looks like:
-----BEGIN CERTIFICATE-----…
The CLI reports “bad flag syntax”:
bad flag syntax: -----BEGIN CERTIFICATE-----…
drone orgsecret add myorg docker_cacert "$(cat ca.pem)"
Where ca.pem is a big 'ol string that looks like:
-----BEGIN CERTIFICATE-----…
The CLI reports “bad flag syntax”:
bad flag syntax: -----BEGIN CERTIFICATE-----…
you should read the secret from disk as shown here:
https://docs.drone.io/cli/orgsecret/drone-orgsecret-add/
Oh yes, thanks a lot!