diff --git a/changelog/11705.txt b/changelog/11705.txt
new file mode 100644
index 0000000000..42d683d81f
--- /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 7f975cd901..8d1e76adbd 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 9f685794bd..7a90a73ea2 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 2b6c887bad..637bfd5fa4 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 86be949bf6..d135f55443 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. +
+