Skip to content

Commit 42a01a9

Browse files
hannah-nguyen-caHannahbmoffatt
authored
Add Rotation Token for SecretsManager Rotation Event (#583)
* Add Rotation Token for SecretsManager Rotation Event --------- Co-authored-by: Hannah <78242123+hannah-nguyen-ca@@users.noreply.github.com> Co-authored-by: Bryan Moffatt <[email protected]>
1 parent 043923f commit 42a01a9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

events/secretsmanager.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ type SecretsManagerSecretRotationEvent struct {
88
Step string `json:"Step"`
99
SecretID string `json:"SecretId"`
1010
ClientRequestToken string `json:"ClientRequestToken"`
11+
RotationToken string `json:"RotationToken"`
1112
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"Step": "createSecret",
33
"SecretId": "arn:aws:secretsmanager:us-east-1:111122223333:secret:id-ABCD1E",
4-
"ClientRequestToken": "1ab23456-cde7-8912-34fg-h56i78j9k12l"
4+
"ClientRequestToken": "1ab23456-cde7-8912-34fg-h56i78j9k12l",
5+
"RotationToken": "abcd1234-efgh-5678-ijkl-8ab4515a7db0"
56
}

0 commit comments

Comments
 (0)