You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bytebase automatically handles token generation and refresh using the EC2 instance profile.
121
121
122
+
## Cross-Account IAM Authentication
123
+
124
+
<Info>
125
+
Available in Bytebase version 3.11.1 and later
126
+
</Info>
127
+
128
+
Connect to RDS databases in different AWS accounts using IAM role assumption. This allows Bytebase running in Account A to authenticate to databases in Accounts B, C, D, etc.
129
+
130
+
### Prerequisites
131
+
132
+
- Bytebase running with an IAM role (EC2 instance profile or ECS task role)
133
+
- Target RDS instances have IAM authentication enabled
134
+
- Cross-account trust relationships configured
135
+
136
+
### Step 1: Create Target Account Role
137
+
138
+
In each target AWS account (where databases reside):
139
+
140
+
1. Go to [IAM Console → Roles](https://console.aws.amazon.com/iam/home#/roles)
141
+
2. Click **Create role**
142
+
3. Select trusted entity: **Another AWS account**
143
+
4. Enter the source account ID (where Bytebase runs)
0 commit comments