feat:kintone APIのパスワードの暗号化対応

This commit is contained in:
xiaozhe.ma
2024-08-05 19:26:31 +09:00
parent 48f2c4a2d1
commit 35df63664e
4 changed files with 12 additions and 9 deletions

View File

@@ -38,4 +38,4 @@ class KINTONE_ENV:
self.DOMAIN_ID=domain.id
self.BASE_URL = domain.url
self.KINTONE_USER = domain.kintoneuser
self.API_V1_AUTH_VALUE = base64.b64encode(bytes(f"{domain.kintoneuser}:{domain.kintonepwd}","utf-8"))
self.API_V1_AUTH_VALUE = base64.b64encode(bytes(f"{domain.kintoneuser}:{domain.decrypt_kintonepwd()}","utf-8"))