|
@@ -61,7 +61,7 @@ class Test(View):
|
|
credentials = sts.get_federation_token(
|
|
credentials = sts.get_federation_token(
|
|
Name='chanjunkai@163.com', # or any unique text related to user
|
|
Name='chanjunkai@163.com', # or any unique text related to user
|
|
Policy=json.dumps(Policy),
|
|
Policy=json.dumps(Policy),
|
|
- DurationSeconds=3600,
|
|
|
|
|
|
+ DurationSeconds=36000,
|
|
)
|
|
)
|
|
|
|
|
|
print(credentials)
|
|
print(credentials)
|