From ab139513e4b13e64cf6a1c0e560d72ab8daf8610 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Wed, 1 Sep 2021 14:10:31 +0200 Subject: [PATCH] nodes/ovh.icinga2: switch sipgate to access tokens --- nodes/ovh/icinga2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes/ovh/icinga2.py b/nodes/ovh/icinga2.py index 9232c24..ce2de74 100644 --- a/nodes/ovh/icinga2.py +++ b/nodes/ovh/icinga2.py @@ -48,8 +48,8 @@ nodes['ovh.icinga2'] = { 'restrict-to': { '172.19.138.0/24', }, - 'sipgate_user': vault.decrypt('encrypt$gAAAAABfujAmCUnicSAllq8MskXnPodKp3cGcfA6Abvef-rAYwB2CtCwt9oBRVKFskJPVArDaF1wfjNTfLwgX3gTP7xFutJ1HA=='), - 'sipgate_pass': vault.decrypt('encrypt$gAAAAABfui_4B7UmOosI_gsQ-xvmd3X_BUDSl-G2KF_Tg8O6RpUvk0gHexOKsrTb6se1ipXsh7RC9pbZCKMtesW0C6j24LHXDKCOjkqI77oO0ZjnG6SUwfcJqg61biNiRlXy8z-9LCGA'), + 'sipgate_user': bwpass.attr('sipgate.de/hi@kunsmann.eu', 'icinga_tokenid'), + 'sipgate_pass': bwpass.attr('sipgate.de/hi@kunsmann.eu', 'icinga_token'), }, 'icinga2_api': { 'custom': {