Skip to content

Commit

Permalink
AWS Lambda example fix: force password-login for SSO+Master PW accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
aaunario-keeper committed Oct 18, 2024
1 parent edf9f8b commit 41ec4b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/aws_lambda/lambda_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ def get_params():
private_key = os.environ.get('KEEPER_PRIVATE_KEY')
token = os.environ.get('KEEPER_DEVICE_TOKEN')
my_params = KeeperParams()

# Force password-login (needed for SSO + Master Password accounts)
my_params.config = {'sso_master_password': True}

my_params.user = user
my_params.password = pw
my_params.server = server
Expand Down

0 comments on commit 41ec4b5

Please sign in to comment.