diff --git a/ui/app/components/secret-list-header.js b/ui/app/components/secret-list-header.js
deleted file mode 100644
index 4bb884d46e..0000000000
--- a/ui/app/components/secret-list-header.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import Component from '@glimmer/component';
-
-export default class SecretListHeader extends Component {
- // api
- isCertTab = false;
- isConfigure = false;
- baseKey = null;
- backendCrumb = null;
- model = null;
- options = null;
-
- get isKV() {
- return ['kv', 'generic'].includes(this.args.model.engineType);
- }
-}
diff --git a/ui/app/templates/components/secret-list-header-tab.hbs b/ui/app/templates/components/secret-list-header-tab.hbs
deleted file mode 100644
index afae54be72..0000000000
--- a/ui/app/templates/components/secret-list-header-tab.hbs
+++ /dev/null
@@ -1,5 +0,0 @@
-{{#unless this.dontShowTab}}
-
- {{@label}}
-
-{{/unless}}
\ No newline at end of file
diff --git a/ui/lib/core/addon/components/key-value-header.hbs b/ui/lib/core/addon/components/key-value-header.hbs
index 29da23c953..28e048ac96 100644
--- a/ui/lib/core/addon/components/key-value-header.hbs
+++ b/ui/lib/core/addon/components/key-value-header.hbs
@@ -4,7 +4,7 @@
{{#each this.secretPath as |path index|}}
/
- {{#if this.linkToPaths}}
+ {{#if (and this.linkToPaths (not @isEngine))}}
+ {{@label}}
+
+ {{else}}
+
+ {{@label}}
+
+ {{/if}}
+{{/unless}}
\ No newline at end of file
diff --git a/ui/app/components/secret-list-header-tab.js b/ui/lib/core/addon/components/secret-list-header-tab.js
similarity index 92%
rename from ui/app/components/secret-list-header-tab.js
rename to ui/lib/core/addon/components/secret-list-header-tab.js
index a6cf273962..ef281b5d13 100644
--- a/ui/app/components/secret-list-header-tab.js
+++ b/ui/lib/core/addon/components/secret-list-header-tab.js
@@ -14,6 +14,8 @@
* @param {string} [path] - set on options-for-backend this tells us the specifics of the URL the query should hit.
* @param {string} label - The name displayed on the tab. Set on the options-for-backend.
* @param {string} [tab] - The name of the tab. Set on the options-for-backend.
+ * @param {boolean} [isEngine=false] - If used within an Ember engine, will need to modify how the links to routes are defined.
+ * @param {string} [link] - If within an engine provide the name of the link that is defined in the routes file fo the engine, example : 'overview'.
*
*/
import Component from '@glimmer/component';
@@ -23,6 +25,7 @@ import { inject as service } from '@ember/service';
export default class SecretListHeaderTab extends Component {
@service store;
@tracked dontShowTab;
+
constructor() {
super(...arguments);
this.fetchCapabilities();
diff --git a/ui/app/templates/components/secret-list-header.hbs b/ui/lib/core/addon/components/secret-list-header.hbs
similarity index 63%
rename from ui/app/templates/components/secret-list-header.hbs
rename to ui/lib/core/addon/components/secret-list-header.hbs
index dbaeeaf43a..7399bd0b72 100644
--- a/ui/app/templates/components/secret-list-header.hbs
+++ b/ui/lib/core/addon/components/secret-list-header.hbs
@@ -1,14 +1,23 @@
-{{#let (options-for-backend @model.engineType) as |options|}}
+{{#let (options-for-backend @model.engineType "" @isEngine) as |options|}}
-
+