@@ -101,9 +101,6 @@ public static class CredentialProfileTypeDetector
101
101
{
102
102
new HashSet < string > { RoleArn , SourceProfile } ,
103
103
new HashSet < string > { RoleArn , SourceProfile , AwsAccountId } ,
104
- new HashSet < string > { RoleArn , SourceProfile , AwsAccountId , Services } ,
105
- new HashSet < string > { RoleArn , SourceProfile , AwsAccountId , EndpointUrl } ,
106
- new HashSet < string > { RoleArn , SourceProfile , AwsAccountId , Services , EndpointUrl } ,
107
104
}
108
105
} ,
109
106
{
@@ -118,9 +115,6 @@ public static class CredentialProfileTypeDetector
118
115
{
119
116
new HashSet < string > { ExternalID , RoleArn , SourceProfile } ,
120
117
new HashSet < string > { ExternalID , RoleArn , SourceProfile , AwsAccountId } ,
121
- new HashSet < string > { ExternalID , RoleArn , SourceProfile , AwsAccountId , Services } ,
122
- new HashSet < string > { ExternalID , RoleArn , SourceProfile , AwsAccountId , EndpointUrl } ,
123
- new HashSet < string > { ExternalID , RoleArn , SourceProfile , AwsAccountId , EndpointUrl , Services }
124
118
}
125
119
} ,
126
120
{ CredentialProfileType . AssumeRoleExternalMFA , new List < HashSet < string > > ( ) { new HashSet < string > { ExternalID , RoleArn , SourceProfile , MfaSerial } } } ,
@@ -130,48 +124,33 @@ public static class CredentialProfileTypeDetector
130
124
new HashSet < string > { RoleArn , WebIdentityTokenFile } ,
131
125
new HashSet < string > { RoleArn , WebIdentityTokenFile , CredentialSource } ,
132
126
new HashSet < string > { RoleArn , WebIdentityTokenFile , CredentialSource , AwsAccountId } ,
133
- new HashSet < string > { RoleArn , WebIdentityTokenFile , AwsAccountId , Services } ,
134
- new HashSet < string > { RoleArn , WebIdentityTokenFile , AwsAccountId , EndpointUrl } ,
135
- new HashSet < string > { RoleArn , WebIdentityTokenFile , AwsAccountId , EndpointUrl , Services } ,
136
127
}
137
128
} ,
138
129
{
139
130
CredentialProfileType . AssumeRoleWithWebIdentitySessionName , new List < HashSet < string > > ( )
140
131
{
141
132
new HashSet < string > { RoleArn , WebIdentityTokenFile , RoleSessionName } ,
142
133
new HashSet < string > { RoleArn , WebIdentityTokenFile , RoleSessionName , AwsAccountId } ,
143
- new HashSet < string > { RoleArn , WebIdentityTokenFile , RoleSessionName , AwsAccountId , Services } ,
144
- new HashSet < string > { RoleArn , WebIdentityTokenFile , RoleSessionName , AwsAccountId , EndpointUrl } ,
145
- new HashSet < string > { RoleArn , WebIdentityTokenFile , RoleSessionName , AwsAccountId , Services , EndpointUrl } ,
146
-
147
134
}
148
135
} ,
149
136
{
150
137
CredentialProfileType . AssumeRoleMFA , new List < HashSet < string > > ( )
151
138
{
152
139
new HashSet < string > { MfaSerial , RoleArn , SourceProfile } ,
153
140
new HashSet < string > { MfaSerial , RoleArn , SourceProfile , AwsAccountId } ,
154
- new HashSet < string > { MfaSerial , RoleArn , SourceProfile , AwsAccountId , Services } ,
155
- new HashSet < string > { MfaSerial , RoleArn , SourceProfile , AwsAccountId , Services , EndpointUrl } ,
156
- new HashSet < string > { MfaSerial , RoleArn , SourceProfile , AwsAccountId , EndpointUrl }
157
141
}
158
142
} ,
159
143
{ CredentialProfileType . Basic , new List < HashSet < string > > ( )
160
144
{
161
145
new HashSet < string > { AccessKey , SecretKey } ,
162
146
new HashSet < string > { AccessKey , SecretKey , AwsAccountId } ,
163
- new HashSet < string > { AccessKey , SecretKey , AwsAccountId , EndpointUrl } ,
164
- new HashSet < string > { AccessKey , SecretKey , AwsAccountId , Services , EndpointUrl } ,
165
- new HashSet < string > { AccessKey , SecretKey , AwsAccountId , Services }
166
147
}
167
148
} ,
168
149
{
169
150
CredentialProfileType . SAMLRole , new List < HashSet < string > > ( )
170
151
{
171
152
new HashSet < string > { EndpointName , RoleArn } ,
172
153
new HashSet < string > { EndpointName , RoleArn , AwsAccountId } ,
173
- new HashSet < string > { EndpointName , RoleArn , AwsAccountId , Services } ,
174
- new HashSet < string > { EndpointName , RoleArn , AwsAccountId , Services , EndpointUrl }
175
154
}
176
155
} ,
177
156
{ CredentialProfileType . SAMLRoleUserIdentity , new List < HashSet < string > > ( ) { new HashSet < string > { EndpointName , RoleArn , UserIdentity } } } ,
@@ -180,45 +159,34 @@ public static class CredentialProfileTypeDetector
180
159
{
181
160
new HashSet < string > { AccessKey , SecretKey , Token } ,
182
161
new HashSet < string > { AccessKey , SecretKey , Token , AwsAccountId } ,
183
- new HashSet < string > { AccessKey , SecretKey , Token , AwsAccountId , EndpointUrl } ,
184
- new HashSet < string > { AccessKey , SecretKey , Token , AwsAccountId , Services , EndpointUrl }
185
162
}
186
163
} ,
187
164
{
188
165
CredentialProfileType . AssumeRoleSessionName , new List < HashSet < string > > ( )
189
166
{
190
167
new HashSet < string > { RoleArn , SourceProfile , RoleSessionName } ,
191
168
new HashSet < string > { RoleArn , SourceProfile , RoleSessionName , AwsAccountId } ,
192
- new HashSet < string > { RoleArn , SourceProfile , RoleSessionName , AwsAccountId , Services } ,
193
- new HashSet < string > { RoleArn , SourceProfile , RoleSessionName , AwsAccountId , Services , EndpointUrl }
194
169
}
195
170
} ,
196
171
{
197
172
CredentialProfileType . AssumeRoleCredentialSourceSessionName , new List < HashSet < string > > ( )
198
173
{
199
174
new HashSet < string > { RoleArn , CredentialSource , RoleSessionName } ,
200
175
new HashSet < string > { RoleArn , CredentialSource , RoleSessionName , AwsAccountId } ,
201
- new HashSet < string > { RoleArn , CredentialSource , RoleSessionName , AwsAccountId , Services } ,
202
- new HashSet < string > { RoleArn , CredentialSource , RoleSessionName , AwsAccountId , Services , EndpointUrl } ,
203
176
}
204
177
} ,
205
178
{
206
179
CredentialProfileType . AssumeRoleExternalSessionName , new List < HashSet < string > > ( )
207
180
{
208
181
new HashSet < string > { ExternalID , RoleArn , SourceProfile , RoleSessionName } ,
209
182
new HashSet < string > { ExternalID , RoleArn , SourceProfile , RoleSessionName , AwsAccountId } ,
210
- new HashSet < string > { ExternalID , RoleArn , SourceProfile , RoleSessionName , AwsAccountId , EndpointUrl } ,
211
- new HashSet < string > { ExternalID , RoleArn , SourceProfile , RoleSessionName , AwsAccountId , EndpointUrl , Services } ,
212
183
}
213
184
} ,
214
185
{
215
186
CredentialProfileType . AssumeRoleExternalMFASessionName , new List < HashSet < string > > ( )
216
187
{
217
188
new HashSet < string > { ExternalID , MfaSerial , RoleArn , SourceProfile , RoleSessionName } ,
218
189
new HashSet < string > { ExternalID , MfaSerial , RoleArn , SourceProfile , RoleSessionName , AwsAccountId } ,
219
- new HashSet < string > { ExternalID , MfaSerial , RoleArn , SourceProfile , RoleSessionName , AwsAccountId , Services } ,
220
- new HashSet < string > { ExternalID , MfaSerial , RoleArn , SourceProfile , RoleSessionName , AwsAccountId , EndpointUrl } ,
221
- new HashSet < string > { ExternalID , MfaSerial , RoleArn , SourceProfile , RoleSessionName , AwsAccountId , Services , EndpointUrl } ,
222
190
}
223
191
} ,
224
192
{ CredentialProfileType . SSO , new List < HashSet < string > > ( ) { new HashSet < string > { SsoAccountId , SsoRegion , SsoRegistrationScopes , SsoRoleName , SsoStartUrl , SsoSession } } } ,
@@ -227,9 +195,6 @@ public static class CredentialProfileTypeDetector
227
195
{
228
196
new HashSet < string > { MfaSerial , RoleArn , SourceProfile , RoleSessionName } ,
229
197
new HashSet < string > { MfaSerial , RoleArn , SourceProfile , RoleSessionName , AwsAccountId } ,
230
- new HashSet < string > { MfaSerial , RoleArn , SourceProfile , RoleSessionName , AwsAccountId , EndpointUrl } ,
231
- new HashSet < string > { MfaSerial , RoleArn , SourceProfile , RoleSessionName , AwsAccountId , Services } ,
232
- new HashSet < string > { MfaSerial , RoleArn , SourceProfile , RoleSessionName , AwsAccountId , Services , EndpointUrl } ,
233
198
}
234
199
} ,
235
200
} ;
0 commit comments