Re: assume_role() :http_code 405 error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <prsrivas@xxxxxxxxxx>
日期: 2019523 星期四 上午11:49
收件人: Yuan Minghui <yuankylekyle@xxxxxxxxx>
抄送: "ceph-users@xxxxxxxxxxxxxx" <ceph-users@xxxxxxxxxxxxxx>
主题: 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 <yuankylekyle@xxxxxxxxx> 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:

cid:16ae2cb9a1d4cff311

Is there someone can help with this problems?

 

Thanks  a lot.

Kyle

 

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux