the provided token has expired aws rds with s3

0

hi, It shows me the error 'the provided token has expired' when creating the backup from sql server to send it to S3. I followed the steps of the official guide

已提問 2 年前檢視次數 6337 次
1 個回答
0

Hi There

I understand that you are getting an error 'the provided token has expired' when creating the backup from sql server to S3.

Please note that the error “The provided token has expired” means that the session token used in the request is expired or the time on your signed requests differs from the time on the server you are sending it, in this case the S3 server.

With that said, there are a few things that can affect the time on your request. Here are the most common ones:

1.) Application not refreshing the Sessions Token:

Refresh temporary credentials five minutes before their expiration is the recommendation, if your application does not refresh the token consistently you will get the expired error.

2.) Time on the server:

A consistent and accurate time reference is crucial for many server tasks and processes. If your instance’s date and time aren’t set correctly, the AWS credentials are rejected.

Also please go through the below link[1], has detailed information on how to identify the cause of Expired Token issue and how it can be resolved.

I have also attached documentation that can be followed to perform a native backup of your user database in your Amazon Relational Database Service (Amazon RDS) DB instance that's running SQL Server. When you need to store the backup file in Amazon Simple Storage Service (Amazon S3) [2]

I hope that the given information is helpful to you.

—————References——————

[1] https://aws.amazon.com/premiumsupport/knowledge-center/security-token-expired/

[2] https://aws.amazon.com/premiumsupport/knowledge-center/native-backup-rds-sql-server/

Mfanelo
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南