@@ -89,24 +89,6 @@ public class CredentialProfileOptions
89
89
/// Absolute path to the file on disk containing an OIDC token.
90
90
/// </summary>
91
91
public string WebIdentityTokenFile { get ; set ; }
92
- /// <summary>
93
- /// The name of the section which contains the custom endpoints for a service or services.
94
- /// For example:
95
- /// [profile foo]
96
- /// services = bar
97
- /// [services bar]
98
- /// s3 =
99
- /// endpoint_url = https://custom-endpoint-s3:80
100
- /// ec2 =
101
- /// endpoint_url = https://custome-endpoint_ec2:80
102
- /// This will tell the SDK to look for custom endpoints in "bar" for the profile "foo.
103
- /// A single Services section can contain configurations for multiple services.
104
- /// </summary>
105
- public string Services { get ; set ; }
106
- /// <summary>
107
- /// The global endpoint to use for a profile. Service specific endpoints will always override this value.
108
- /// </summary>
109
- public string EndpointUrl { get ; set ; }
110
92
111
93
/// <summary>
112
94
/// The AWS account ID that temporary AWS credentials will be resolved for using AWS SSO.
@@ -164,8 +146,6 @@ internal bool IsEmpty
164
146
string . IsNullOrEmpty ( SourceProfile ) &&
165
147
string . IsNullOrEmpty ( Token ) &&
166
148
string . IsNullOrEmpty ( CredentialProcess ) &&
167
- string . IsNullOrEmpty ( Services ) &&
168
- string . IsNullOrEmpty ( EndpointUrl ) &&
169
149
string . IsNullOrEmpty ( SsoAccountId ) &&
170
150
string . IsNullOrEmpty ( SsoRegion ) &&
171
151
string . IsNullOrEmpty ( SsoRegistrationScopes ) &&
@@ -187,8 +167,6 @@ public override string ToString()
187
167
"RoleSessionName=" + RoleSessionName + ", " +
188
168
"SecretKey=XXXXX, " +
189
169
"SourceProfile=" + SourceProfile + ", " +
190
- "EndpointUrl=" + EndpointUrl + ", " +
191
- "Services=" + Services + ", " +
192
170
"Token=" + Token +
193
171
", " + "UserIdentity=" + UserIdentity +
194
172
", " + "CredentialProcess=" + CredentialProcess +
@@ -213,13 +191,13 @@ public override bool Equals(object obj)
213
191
return false ;
214
192
215
193
return AWSSDKUtils . AreEqual (
216
- new object [ ] { AccessKey , EndpointName , ExternalID , MfaSerial , RoleArn , RoleSessionName , SecretKey , SourceProfile , Token , UserIdentity , CredentialProcess , WebIdentityTokenFile , SsoAccountId , SsoRegion , SsoRegistrationScopes , SsoRoleName , SsoStartUrl , SsoSession , Services , EndpointUrl , AwsAccountId } ,
217
- new object [ ] { po . AccessKey , po . EndpointName , po . ExternalID , po . MfaSerial , po . RoleArn , po . RoleSessionName , po . SecretKey , po . SourceProfile , po . Token , po . UserIdentity , po . CredentialProcess , po . WebIdentityTokenFile , po . SsoAccountId , po . SsoRegion , po . SsoRegistrationScopes , po . SsoRoleName , po . SsoStartUrl , po . SsoSession , po . Services , po . EndpointUrl , po . AwsAccountId } ) ;
194
+ new object [ ] { AccessKey , EndpointName , ExternalID , MfaSerial , RoleArn , RoleSessionName , SecretKey , SourceProfile , Token , UserIdentity , CredentialProcess , WebIdentityTokenFile , SsoAccountId , SsoRegion , SsoRegistrationScopes , SsoRoleName , SsoStartUrl , SsoSession , AwsAccountId } ,
195
+ new object [ ] { po . AccessKey , po . EndpointName , po . ExternalID , po . MfaSerial , po . RoleArn , po . RoleSessionName , po . SecretKey , po . SourceProfile , po . Token , po . UserIdentity , po . CredentialProcess , po . WebIdentityTokenFile , po . SsoAccountId , po . SsoRegion , po . SsoRegistrationScopes , po . SsoRoleName , po . SsoStartUrl , po . SsoSession , po . AwsAccountId } ) ;
218
196
}
219
197
220
198
public override int GetHashCode ( )
221
199
{
222
- return Hashing . Hash ( AccessKey , EndpointName , ExternalID , MfaSerial , RoleArn , RoleSessionName , SecretKey , SourceProfile , Token , UserIdentity , CredentialProcess , WebIdentityTokenFile , SsoAccountId , SsoRegion , SsoRegistrationScopes , SsoRoleName , SsoStartUrl , SsoSession , Services , EndpointUrl , AwsAccountId ) ;
200
+ return Hashing . Hash ( AccessKey , EndpointName , ExternalID , MfaSerial , RoleArn , RoleSessionName , SecretKey , SourceProfile , Token , UserIdentity , CredentialProcess , WebIdentityTokenFile , SsoAccountId , SsoRegion , SsoRegistrationScopes , SsoRoleName , SsoStartUrl , SsoSession , AwsAccountId ) ;
223
201
}
224
202
}
225
203
}
0 commit comments