Aws api认证出错

错误代码:

AuthFailure: AWS was not able to validate the provided access credentials

原因:
主要是因为系统时间相差太多引起的

解决办法:

//查看当前时区  如果是UTC
date

那么用中国时间减8个小时即可
设置系统时间
hwclock --set --date="08/26/2019 03:44:00"
hwclock --systohc
date -s 03:44:00

你可能感兴趣的:(Aws api认证出错)