是否可以在 AWS Secrets Manager 中每小时刷新一次令牌?

Is it possible to refresh token every hour in AWS Secrets Manager?

文档:

AWS Secrets Manager automatically triggers a rotation this number of days 
after the previous rotation. 
If you ever rotate the secret manually, the rotation interval resets.

You can choose one of the predefined values, 
or choose Custom and then type any number 
between 1 and the maximum value of 365.

一小时怎么样?

还有其他可以提供帮助的服务吗?

根据评论。

秘密的最短自动刷新时间为1 天。来自 docs:

Secrets Manager schedules the next rotation when the previous one completes. Secrets Manager schedules the date by adding the rotation interval (number of days) to the actual date of the last rotation. The service chooses the hour within that 24-hour date window randomly. The minute is also chosen somewhat randomly, but weighted towards the top of the hour and influenced by a variety of factors that help distribute load.

每小时更新一次机密的一种方法是使用 Scheduled CloudWatch Event rules。该规则将每小时触发一个 lambda 函数,这反过来会在 AWS Secrets Manager 中设置新的密钥值。