Open connections to Timestream after credential expires

0

Lets say I open a connection to Timestream, from a long-running service. The connection potentially stays open for multiple days.

Meanwhile, the connection was opened by authority of a temporary cert.. which expires a few hours in.

What happens to the connection? Does it stay valid, or does it get auto-terminated somehow?

1 Answer
0

When you establish a connection to AWS Timestream using temporary credentials, the connection itself will remain active as long as it's being used, even if the credentials have expired. AWS Timestream does not automatically close the connection when the credentials expire, but the expired credentials will cause any further requests to fail with an "AccessDenied" or a similar error.

profile picture
EXPERT
answered a year ago
  • The first part of your post made me feel relieved. The second part made me anxious again :D What do you mean, specifically, by "further requests"? Do you mean any brand new connections, or... ?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions