Drone-go: There is no client.SecretCreate anymore?

Hello,

I’m using drone-go in order to my bot send some few commands to drone. But, after update my packages, drone-go is missing SecretCreate function inside client. Is there an alternative to add secrets to my repo? (I’m using drone 0.8.6)

Thanks in advance

Secret endpoint are available in the 0.8 version of the drone-go client. You should ensure you are using some sort of dependency management (go modules, dep, etc) and pin to the following tagged version of the Go package:

[[constraint]]
  name = "github.com/drone/drone-go"
  version = "0.8.4"
1 Like

aweasome! Thank you! (: