Get Admin Credentials script added
This commit is contained in:
parent
281e391ba6
commit
ce3f128745
1 changed files with 8 additions and 0 deletions
8
scripts/get-admin.py
Normal file
8
scripts/get-admin.py
Normal 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)
|
Loading…
Reference in a new issue