drone secret add

This subcommand creates a new repository secret. Please note this command requires push privileges to the repository.

NAME:
   drone secret add - adds a secret

USAGE:
   drone secret add [command options] [repo/name] [secret] [value]

OPTIONS:
   --repository value            repository name (e.g. octocat/hello-world)
   --name value                  secret name
   --data value                  secret value
   --allow-pull-request          permit read access to pull requests

Example usage, creates a secret:

$ drone secret add octocat/hello-world my_token e72e16c7e42f29

Example usage, creates a secret from a file:

$ drone secret add octocat/hello-world my_token @/path/to/secret.json