Skip to content

Commit

Permalink
fix the typo
Browse files Browse the repository at this point in the history
Signed-off-by: HH <hhcs9527@gmail.com>
  • Loading branch information
hhcs9527 committed Sep 27, 2023
1 parent a6858c0 commit ba3d2fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytekit/types/structured/snowflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_private_key():

import flytekit

pk_string = flytekit.current_context().secrets.get(TASK_TYPE, "private_key", encode_mode="rb")
pk_string = flytekit.current_context().secrets.get(SNOWFLAKE, "private_key", encode_mode="rb")
p_key = serialization.load_pem_private_key(pk_string, password=None, backend=default_backend())

pkb = p_key.private_bytes(
Expand Down

0 comments on commit ba3d2fc

Please sign in to comment.