How to expire Cognito App credentials

0

I have created a Cognito pool and an app. I want the ClientID and ClienrSecret to be expired in 10days from the date of creations. How do I do it?

Rohit
質問済み 2ヶ月前190ビュー
1回答
0
承認された回答

Hi,

According to the AWS documentation, you can't change secrets after you create an app, so you will need to create a new app with a new secret if you want to rotate the secret.

A cost effective solution could be to embed this logic into an AWS Lambda function and schedule the execution using EventBridge.

profile picture
エキスパート
回答済み 2ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ