Skip to content

Commit 55ed148

Browse files
committed
fix(auth): change auto ark api key filter to get larger access right
1 parent 58ec6f4 commit 55ed148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

veadk/auth/veauth/ark_veauth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get_ark_token(region: str = "cn-beijing") -> str:
3636
session_token = cred.session_token
3737

3838
res = ve_request(
39-
request_body={"ProjectName": "default", "Filter": {}},
39+
request_body={"ProjectName": "default", "Filter": {"AllowAll": True}},
4040
header={"X-Security-Token": session_token},
4141
action="ListApiKeys",
4242
ak=access_key,

0 commit comments

Comments
 (0)