From e03ab957019aa1df5ecda19427078ba0c3aed3ad Mon Sep 17 00:00:00 2001 From: Aaron Tan Date: Thu, 3 Aug 2017 10:32:28 -0400 Subject: [PATCH] Make isolated connection keys read-only --- awx/main/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awx/main/conf.py b/awx/main/conf.py index 1fe150191c..c8aab83860 100644 --- a/awx/main/conf.py +++ b/awx/main/conf.py @@ -211,6 +211,7 @@ register( default='', allow_blank=True, encrypted=True, + read_only=True, label=_('The RSA private key for SSH traffic to isolated instances'), help_text=_('The RSA private key for SSH traffic to isolated instances'), # noqa category=_('Jobs'), @@ -222,6 +223,7 @@ register( field_class=fields.CharField, default='', allow_blank=True, + read_only=True, label=_('The RSA public key for SSH traffic to isolated instances'), help_text=_('The RSA public key for SSH traffic to isolated instances'), # noqa category=_('Jobs'),