2024-09-28 10:37:19 +00:00
|
|
|
import secret_loader
|
|
|
|
|
|
|
|
secrets = secret_loader.SecretLoader()
|
|
|
|
|
2024-10-01 08:29:12 +00:00
|
|
|
|
2024-10-01 08:28:31 +00:00
|
|
|
def has_secrets():
|
|
|
|
return secrets.load('FAVRO_ORGANIZATION_ID') is not None
|
|
|
|
|
2024-09-28 10:54:34 +00:00
|
|
|
|
2024-09-28 10:37:19 +00:00
|
|
|
def favro_org_id():
|
|
|
|
return secrets.load_or_fail('FAVRO_ORGANIZATION_ID')
|
|
|
|
|
2024-09-28 10:54:34 +00:00
|
|
|
|
2024-09-28 10:37:19 +00:00
|
|
|
def favro_username():
|
|
|
|
return secrets.load_or_fail('FAVRO_USERNAME')
|
|
|
|
|
2024-09-28 10:54:34 +00:00
|
|
|
|
2024-09-28 10:37:19 +00:00
|
|
|
def favro_password():
|
|
|
|
return secrets.load_or_fail('FAVRO_PASSWORD')
|