We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sentry config generate-secret-key
1 parent b41a64b commit cce2a3fCopy full SHA for cce2a3f
src/sentry/runner/commands/config.py
@@ -70,3 +70,10 @@ def delete(option, no_input):
70
options.delete(option)
71
except UnknownOption:
72
raise click.ClickException('unknown option: %s' % option)
73
+
74
75
+@config.command(name='generate-secret-key')
76
+def generate_secret_key():
77
+ "Generate a new cryptographically secure secret key value."
78
+ from sentry.runner.settings import generate_secret_key
79
+ click.echo(generate_secret_key())
0 commit comments