summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kajinami <tkajinam@redhat.com>2023-03-23 00:53:37 +0900
committerTakashi Kajinami <tkajinam@redhat.com>2023-03-23 00:54:50 +0900
commit3c9e7d9aeb8d25582be346b084af0d156080bffb (patch)
treedb4bed9cb61f1ee94df4a3e04a2b0e7a38598a9e
parent4239bcaa56bfc6ee0bb727ab817229a116bc992b (diff)
downloadosprofiler-3c9e7d9aeb8d25582be346b084af0d156080bffb.tar.gz
[profiler] hmac_key should be secret
... apparently because the parameter takes secret key(s) for data encryption. Change-Id: I76836aa2a99549b23174f1869cc09fbf0c30681b
-rw-r--r--osprofiler/opts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/osprofiler/opts.py b/osprofiler/opts.py
index 58d5806..af8d4c4 100644
--- a/osprofiler/opts.py
+++ b/osprofiler/opts.py
@@ -67,6 +67,7 @@ Possible values:
_hmac_keys_opt = cfg.StrOpt(
"hmac_keys",
default="SECRET_KEY",
+ secret=True,
help="""
Secret key(s) to use for encrypting context data for performance profiling.