HELLO :

  The version I am using is ceph luminous 12.2.4 ,and what types of ceph can 
support AssumeRole or STS?

 

Thanks a lot.

kyle

 

发件人: Pritha Srivastava <[email protected]>
日期: 2019年5月23日 星期四 上午11:49
收件人: Yuan Minghui <[email protected]>
抄送: "[email protected]" <[email protected]>
主题: Re: [ceph-users] assume_role() :http_code 405 error

 

Hello,

It looks like the version that you are trying this on, doesn't support 
AssumeRole or STS. What version of Ceph are you using?

Thanks,

Pritha

 

On Thu, May 23, 2019 at 9:10 AM Yuan Minghui <[email protected]> wrote:

Hello :

       When I try to make a secure-temp-sesstion(STS), I try the following 
actions:

s3 = session.client('sts',
                    aws_access_key_id=tomAccessKey,
                    aws_secret_access_key=tomSecretKey,
                    endpoint_url=host
                    )  #返回一个低级的客户端实例

response = s3.assume_role(RoleArn='arn:aws:iam:::role/S3Access1',
                                    RoleSessionName='test_session1',
                                    )

 

however, it returns that:

Is there someone can help with this problems?

 

Thanks  a lot.

Kyle

 

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to