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

preguntada hace 2 años6337 visualizaciones
1 Respuesta
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
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas