MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / get_params

Function get_params

examples/aws_lambda/lambda_handler.py:33–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31# Keeper initialization function
32# ------------------------------------------------------
33def get_params():
34 # Change the default JSON configuration location to /tmp
35 params = get_params_from_config(keeper_tmp + '/config.json')
36
37 # Set username and password for Keeper Commander login
38 #params.config = {'sso_master_password': True} # Force Master-Password login for SSO users
39 #params.server = os.environ.get('KEEPER_SERVER') # https://keepersecurity.com
40 params.user = os.environ.get('KEEPER_USER')
41 params.password = os.environ.get('KEEPER_PASSWORD')
42
43
44 return params
45
46# ------------------------------------------------------
47# Keeper JSON report function

Callers 1

lambda_handlerFunction · 0.70

Calls 2

get_params_from_configFunction · 0.90
getMethod · 0.80

Tested by

no test coverage detected