diff options
Diffstat (limited to 'ipalib/plugins/vault.py')
-rw-r--r-- | ipalib/plugins/vault.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/ipalib/plugins/vault.py b/ipalib/plugins/vault.py index 8de782ee9..05db63cdc 100644 --- a/ipalib/plugins/vault.py +++ b/ipalib/plugins/vault.py @@ -17,8 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -from __future__ import print_function - from ipalib.frontend import Command, Object from ipalib import api, errors from ipalib import Bytes, Flag, Str, StrEnum @@ -975,22 +973,6 @@ class vaultconfig_show(Retrieve): ), ) - def forward(self, *args, **options): - - file = options.get('transport_out') - - # don't send these parameters to server - if 'transport_out' in options: - del options['transport_out'] - - response = super(vaultconfig_show, self).forward(*args, **options) - - if file: - with open(file, 'w') as f: - f.write(response['result']['transport_cert']) - - return response - def execute(self, *args, **options): if not self.api.Command.kra_is_enabled()['result']: |