司空2媒体直传云云对接存储地址验证失败,policy配置后仍无效,在线等,急!急!急!
Completed采用各种方式进行对接,policy 未明确给出后面填写什么内容,是填写权限的json,还是权限的json字符串,还是说策略名称。各种尝试后,是否有配置成功的,在线等,急!急!急!
-
{ "access_key_id": "LTAI5txxxxxxx", "access_key_secret": "PLm9hoxxxxx", "region": "cn-hangzhou", "bucket": "xx-bucket", "arn": "acs:ram::10011111118:role/ramosstest", "policy": "{\n\"Version\": \"1\",\n\"Statement\": [\n{\n\"Effect\": \"Allow\",\n\"Action\": [\n\"oss:PutObject\"\n],\n\"Resource\": [\n\"acs:oss:*:*:examplebucket/src/*\",\n \"acs:oss:*:*:examplebucket/dest/*\"\n]\n}\n]\n}", "role_session_name": "xxxx", "provider": "ali" } 可以参考上面的示例进行配置。
Please sign in to leave a comment.
Comments
1 comment