File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -52,18 +52,24 @@ Record the ARN of the IAM role you created, for example:
52
52
arn:aws:iam::123456789012:role/ory-network-event-streamer
53
53
```
54
54
55
- 3 . Attach the following trust policy to the IAM role you created in step 2:
55
+ 3 . Attach the following trust policy to the IAM role you created in step 2, replacing ` b21b757b-7d8e-4864-bb7b-800f5fad7aa6 ` with
56
+ your project ID:
56
57
57
- ``` json title="Trust policy (this is the same for all Ory Network customers )"
58
+ ``` json title="Trust policy (replace b21b757b-7d8e-4864-bb7b-800f5fad7aa6 with your project ID )"
58
59
{
59
60
"Version" : " 2012-10-17" ,
60
61
"Statement" : [
61
62
{
62
63
"Effect" : " Allow" ,
63
64
"Principal" : {
64
- "AWS" : " arn:aws:iam:: 601538168777:user/event-streamer "
65
+ "AWS" : " 601538168777"
65
66
},
66
- "Action" : " sts:AssumeRole"
67
+ "Action" : " sts:AssumeRole" ,
68
+ "Condition" : {
69
+ "StringEquals" : {
70
+ "sts:ExternalId" : " b21b757b-7d8e-4864-bb7b-800f5fad7aa6"
71
+ }
72
+ }
67
73
}
68
74
]
69
75
}
You can’t perform that action at this time.
0 commit comments