Get Admin Credentials script added

This commit is contained in:
ahmadbilalkhalid 2019-11-20 14:57:12 +05:00
parent 281e391ba6
commit ce3f128745

8
scripts/get-admin.py Normal file
View file

@ -0,0 +1,8 @@
import decouple
from os.path import join as join_path
from etcd3_wrapper import Etcd3Wrapper
client = Etcd3Wrapper(port=decouple.config('PORT'))
admin_uotp = client.get(join_path(decouple.config('BASE_PREFIX'), 'admin'))
print(admin_uotp.value)