##
AWS CLI Token has expired and refresh failed
最近半个月一直在路上耍,从成都开始到川西,然后一直耍回云南,但每天也会抽出2-3小时来工作。
最近遇到的一个工作也非常有意思,帮客户下载东西。
希望大家在辛苦工作的同时也能享受人生。
PS:川西人太多了,并且路况不好,新手司机甚选,强烈推荐来云南玩。
1、AWS CLI Token has expired and refresh failed
错误信息:Error when retrieving token from sso: Token has expired and refresh failed
解决方法:
[root@x x x x x ~]# aws s3 ls s3://sxxxxxxxxxxxx
Error when retrieving token from sso: Token has expired and refresh failed
[root@x x x x x ~]#
[root@x x x x x ~]#
[root@x x x x x ~]# aws sso login --profile dltest
Attempting to automatically open the SSO authorization page in your default browser.
If the browser does not open or you wish to use a different device to authorize this request, open the following URL:
https://device.sso.x x x x.amazonaws.com/
Then enter the code:
xxxxx
Successfully logged into Start URL: https://xxxxxxx.awsapps.com/start
[root@x x x x x ~]# aws s3 ls s3://sxxxxxxxxxxxx
2024-05-24 21:10:52 74678261 xxxxxxxxx
2024-05-24 21:13:08 74121251 xxxxxxxxx
2024-05-24 21:17:08 72727457 xxxxxxxxx
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




