diff --git a/changelog/11705.txt b/changelog/11705.txt
new file mode 100644
index 000000000000..42d683d81f57
--- /dev/null
+++ b/changelog/11705.txt
@@ -0,0 +1,3 @@
+```release-note:improvement
+ui: Add specific error message if unseal fails due to license
+```
diff --git a/ui/app/controllers/vault/cluster/unseal.js b/ui/app/controllers/vault/cluster/unseal.js
index 7f975cd9011b..8d1e76adbdc0 100644
--- a/ui/app/controllers/vault/cluster/unseal.js
+++ b/ui/app/controllers/vault/cluster/unseal.js
@@ -3,6 +3,7 @@ import Controller from '@ember/controller';
export default Controller.extend({
wizard: service(),
+ showLicenseError: false,
actions: {
transitionToCluster(resp) {
@@ -19,5 +20,9 @@ export default Controller.extend({
isUnsealed(data) {
return data.sealed === false;
},
+
+ handleLicenseError() {
+ this.set('showLicenseError', true);
+ },
},
});
diff --git a/ui/app/styles/components/empty-state.scss b/ui/app/styles/components/empty-state.scss
index 9f685794bdad..7a90a73ea205 100644
--- a/ui/app/styles/components/empty-state.scss
+++ b/ui/app/styles/components/empty-state.scss
@@ -8,6 +8,16 @@
box-shadow: 0 -2px 0 -1px $ui-gray-300;
}
+.empty-state-transparent {
+ align-items: center;
+ color: $grey;
+ background: transparent;
+ display: flex;
+ justify-content: center;
+ padding: $spacing-xxl 0;
+ box-shadow: none;
+}
+
.empty-state-content {
max-width: 320px;
}
diff --git a/ui/app/styles/components/splash-page.scss b/ui/app/styles/components/splash-page.scss
index 2b6c887bade5..637bfd5fa4bb 100644
--- a/ui/app/styles/components/splash-page.scss
+++ b/ui/app/styles/components/splash-page.scss
@@ -21,5 +21,5 @@
}
.splash-page-header {
- padding: $size-6 $size-5;
+ padding: $size-6 0;
}
diff --git a/ui/app/templates/vault/cluster/unseal.hbs b/ui/app/templates/vault/cluster/unseal.hbs
index 86be949bf65b..d135f55443b1 100644
--- a/ui/app/templates/vault/cluster/unseal.hbs
+++ b/ui/app/templates/vault/cluster/unseal.hbs
@@ -1,26 +1,60 @@
-
- Unseal Vault
-
-
{{capitalize model.name}} is {{if model.unsealed 'unsealed' 'sealed'}}
++ Unseal Vault by entering portions of the unseal key. This can be done via multiple mechanisms on multiple computers. Once all portions are entered, the root key will be decrypted and Vault will unseal. +
+