Make isolated connection keys read-only

This commit is contained in:
Aaron Tan 2017-08-03 10:32:28 -04:00
parent ec4092b715
commit e03ab95701

View File

@ -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'),