chenjunkai 6 년 전
부모
커밋
b27eb89629
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      Controller/Test.py

+ 2 - 1
Controller/Test.py

@@ -125,7 +125,8 @@ class Test(View):
             'Expiration':token['Credentials']['Expiration'],
             'expire':3600,
             'endpoint':endpoint,
-            'bucket_name':bucket_name
+            'bucket_name':bucket_name,
+            'arn':token['AssumedRoleUser']['Arn']
         }
         return JsonResponse(status=200,data=res)