We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5f31d1 commit c46e68bCopy full SHA for c46e68b
BaseService.cs
@@ -41,6 +41,10 @@ public BaseService(string serviceId)
41
}
42
43
string ApiKey = Environment.GetEnvironmentVariable(serviceId.ToUpper() + "_IAM_APIKEY");
44
+ // check for old IAM API key name as well
45
+ if (string.IsNullOrEmpty(apiKey)) {
46
+ apiKey = Environment.GetEnvironmentVariable(ServiceName.ToUpper() + "_APIKEY");
47
+ }
48
string Username = Environment.GetEnvironmentVariable(serviceId.ToUpper() + "_USERNAME");
49
string Password = Environment.GetEnvironmentVariable(serviceId.ToUpper() + "_PASSWORD");
50
string ServiceUrl = Environment.GetEnvironmentVariable(serviceId.ToUpper() + "_URL");
0 commit comments