diff --git a/changelog/13090.txt b/changelog/13090.txt
new file mode 100644
index 000000000..82ad157d1
--- /dev/null
+++ b/changelog/13090.txt
@@ -0,0 +1,3 @@
+```release-note:improvement
+ui: customizes empty state messages for transit and transform
+```
\ No newline at end of file
diff --git a/ui/app/helpers/options-for-backend.js b/ui/app/helpers/options-for-backend.js
index 1d44934e4..e918e60c5 100644
--- a/ui/app/helpers/options-for-backend.js
+++ b/ui/app/helpers/options-for-backend.js
@@ -87,6 +87,7 @@ const SECRET_BACKENDS = {
displayName: 'Transformation',
navigateTree: false,
listItemPartial: 'secret-list/transform-list-item',
+ firstStep: 'create a transformation and a role',
tabs: [
{
name: 'transformations',
@@ -136,6 +137,7 @@ const SECRET_BACKENDS = {
navigateTree: false,
editComponent: 'transit-edit',
listItemPartial: 'secret-list/item',
+ firstStep: 'create an encryption key',
},
};
diff --git a/ui/app/models/secret-engine.js b/ui/app/models/secret-engine.js
index ffb314288..fc674bb6a 100644
--- a/ui/app/models/secret-engine.js
+++ b/ui/app/models/secret-engine.js
@@ -4,8 +4,8 @@ import { fragment } from 'ember-data-model-fragments/attributes';
import fieldToAttrs, { expandAttributeMeta } from 'vault/utils/field-to-attrs';
import { validator, buildValidations } from 'ember-cp-validations';
-//identity will be managed separately and the inclusion
-//of the system backend is an implementation detail
+// identity will be managed separately and the inclusion
+// of the system backend is an implementation detail
const LIST_EXCLUDED_BACKENDS = ['system', 'identity'];
const Validations = buildValidations({
diff --git a/ui/app/routes/vault/cluster/secrets/backend/overview.js b/ui/app/routes/vault/cluster/secrets/backend/overview.js
index e3cbc947f..fb46f85d7 100644
--- a/ui/app/routes/vault/cluster/secrets/backend/overview.js
+++ b/ui/app/routes/vault/cluster/secrets/backend/overview.js
@@ -68,7 +68,7 @@ export default Route.extend({
if (noConnectionCapabilities) {
return 'You cannot yet generate credentials. Ask your administrator if you think you should have access.';
} else {
- return 'You can connect and external database to Vault. We recommend that you create a user for Vault rather than using the database root user.';
+ return 'You can connect an external database to Vault. We recommend that you create a user for Vault rather than using the database root user.';
}
};
controller.set('showEmptyState', showEmptyState);
diff --git a/ui/app/templates/vault/cluster/secrets/backend/list.hbs b/ui/app/templates/vault/cluster/secrets/backend/list.hbs
index b55c7977e..04ecb4620 100644
--- a/ui/app/templates/vault/cluster/secrets/backend/list.hbs
+++ b/ui/app/templates/vault/cluster/secrets/backend/list.hbs
@@ -113,14 +113,25 @@
{{/if}}
{{else}}
{{#if (eq baseKey.id '')}}
-
-
- {{options.create}}
-
-
+ {{#if (and options.firstStep (not tab))}}
+
+
+ {{options.create}}
+
+
+ {{else}}
+
+
+ {{options.create}}
+
+
+ {{/if}}
{{else}}
{{#if filterIsFolder}}