drone.io

How to view a Drone secret using the CLI?


I want to see what the value is of a drone secret. Is there any way to view drone secrets using the drone CLI? I don't want to see it using echo "$secret" in the build.


Solution

  • You can't use the Drone CLI to see a secret's value once it has been set.