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
Logger.LogWarning($"The CA is currently in the Disabled state. It must be Enabled to perform operations. Skipping config validation and AWS PCA Client creation...");
48
+
Logger.MethodExit();
49
+
return;
50
+
}
43
51
AwsClient=newAwsPcaClient(configProvider);
44
52
Logger.MethodExit(LogLevel.Debug);
53
+
45
54
}
46
55
47
56
//done
@@ -455,6 +464,12 @@ public async Task<EnrollmentResult> Enroll(
455
464
publicasyncTaskPing()
456
465
{
457
466
Logger.MethodEntry();
467
+
if(!_enabled)
468
+
{
469
+
Logger.LogWarning($"The CA is currently in the Disabled state. It must be Enabled to perform operations. Skipping config validation and AWS PCA Client creation...");
Logger.LogInformation($"Validated {certType} ({certType})configured for AnyGateway");
517
+
returnTask.CompletedTask;
487
518
}
488
519
489
520
//done
@@ -620,6 +651,13 @@ public Dictionary<string, PropertyConfigInfo> GetCAConnectorAnnotations()
620
651
Hidden=false,
621
652
DefaultValue="",
622
653
Type="String"
654
+
},
655
+
[Constants.Enabled]=new()
656
+
{
657
+
Comments="Flag to Enable or Disable gateway functionality. Disabling is primarily used to allow creation of the CA prior to configuration information being available.",
Logger.LogWarning($"The CA is currently in the Disabled state. It must be Enabled to perform operations. Skipping config validation and AWS PCA Client creation...");
0 commit comments