Skip to content

Commit 722428a

Browse files
author
gabino
committed
Change unmasked characters length from ApiKey secret logging
1 parent 8e04b61 commit 722428a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cuenca/resources/api_keys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ApiKey(Creatable, Queryable, Retrievable, Updateable):
1616
_resource: ClassVar = 'api_keys'
1717
_query_params: ClassVar = ApiKeyQuery
1818

19-
secret: Annotated[str, LogConfig(masked=True, unmasked_chars_length=4)]
19+
secret: Annotated[str, LogConfig(masked=True)]
2020
deactivated_at: Optional[dt.datetime] = None
2121
user_id: Optional[str] = None
2222
model_config = ConfigDict(

0 commit comments

Comments
 (0)