+
+ {i18n.translate(
+ 'xpack.triggersActionsUI.components.healthCheck.encryptionErrorBeforeKey',
+ {
+ defaultMessage: 'To create an alert, set a value for ',
+ }
+ )}
+ {'xpack.encrypted_saved_objects.encryptionKey'}
+ {i18n.translate(
+ 'xpack.triggersActionsUI.components.healthCheck.encryptionErrorAfterKey',
+ {
+ defaultMessage: ' in your kibana.yml file. ',
+ }
+ )}
+
+ {i18n.translate(
+ 'xpack.triggersActionsUI.components.healthCheck.encryptionErrorAction',
+ {
+ defaultMessage: 'Learn how.',
+ }
+ )}
+
+
+
+ }
+ />
+);
+
+const TlsError = ({
+ docLinks: { ELASTIC_WEBSITE_URL, DOC_LINK_VERSION },
+ className,
+}: PromptErrorProps) => (
+