Hello everyone: When I use the method :” assume_role”, like this: sts_client = boto3.client('sts', I create a role in terminal: I return that : Traceback (most recent call last): File "/Users/yuanminghui/PycharmProjects/myproject1/10-sts-demo.py", line 64, in test1 response = sts_client.assume_role(RoleArn='arn:aws:iam:::role/AccessRole1', RoleSessionName="ymh_bucketAccess") File "/Users/yuanminghui/PycharmProjects/myproject1/venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call return self._make_api_call(operation_name, kwargs) File "/Users/yuanminghui/PycharmProjects/myproject1/venv/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call raise error_class(parsed_response, operation_name) botocore.exceptions.ClientError: An error occurred (Unknown) when calling the AssumeRole operation: Unknown I really do not know whats wrong with this? Is there someone can help? Thanks a lot. best wishes! |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com