Skip to content

Commit

Permalink
fix: add api_key_id when init KeyGen (#73)
Browse files Browse the repository at this point in the history
Signed-off-by: ImMin5 <[email protected]>
  • Loading branch information
ImMin5 committed Dec 8, 2023
1 parent f969b70 commit 7821c63
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/spaceone/identity/manager/api_key_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ def _rollback(vo):
).timestamp()

key_gen = KeyGenerator(
prv_jwk=prv_jwk, domain_id=params["domain_id"], audience=audience
api_key_id=api_key_vo.api_key_id,
prv_jwk=prv_jwk,
domain_id=params["domain_id"],
audience=audience,
)

api_key = key_gen.generate_api_key(api_key_vo.api_key_id, params["expired_at"])
Expand Down

0 comments on commit 7821c63

Please sign in to comment.