2018-06-12 21:06:37 +00:00
|
|
|
<PageHeader as |p|>
|
|
|
|
<p.levelLeft>
|
|
|
|
<h1 class="title is-3">
|
|
|
|
Secrets Engines
|
|
|
|
</h1>
|
|
|
|
</p.levelLeft>
|
|
|
|
<p.levelRight>
|
|
|
|
{{#link-to 'vault.cluster.settings.mount-secret-backend' class="button has-icon-right is-ghost is-compact"}}
|
|
|
|
Enable new engine
|
|
|
|
{{i-con glyph="chevron-right" size=11}}
|
|
|
|
{{/link-to}}
|
|
|
|
</p.levelRight>
|
|
|
|
</PageHeader>
|
2018-04-03 14:16:57 +00:00
|
|
|
|
|
|
|
{{#each supportedBackends as |backend|}}
|
2018-07-10 19:38:02 +00:00
|
|
|
{{#linked-block
|
2018-04-03 14:16:57 +00:00
|
|
|
"vault.cluster.secrets.backend.list-root"
|
|
|
|
backend.id
|
2018-07-10 19:38:02 +00:00
|
|
|
class="list-item-row"
|
2018-05-23 16:25:52 +00:00
|
|
|
data-test-secret-backend-row=backend.id
|
2018-04-03 14:16:57 +00:00
|
|
|
}}
|
|
|
|
<div class="level is-mobile">
|
|
|
|
<div class="level-left">
|
|
|
|
<div>
|
2018-08-16 17:48:24 +00:00
|
|
|
{{#link-to "vault.cluster.secrets.backend.list-root" backend.id
|
2018-04-24 21:30:44 +00:00
|
|
|
class="has-text-black has-text-weight-semibold"
|
2018-08-16 17:48:24 +00:00
|
|
|
data-test-secret-path=true
|
|
|
|
}}{{i-con glyph="folder" size=14 class="has-text-grey-light"}}{{backend.path}}{{/link-to}}
|
2018-04-03 14:16:57 +00:00
|
|
|
<br />
|
|
|
|
<span class="tag">
|
2018-05-25 16:16:33 +00:00
|
|
|
{{#if (eq backend.type 'plugin')}}
|
|
|
|
{{backend.type}}: {{backend.config.plugin_name}}
|
|
|
|
{{else}}
|
|
|
|
{{backend.type}}
|
|
|
|
{{/if}}
|
2018-04-03 14:16:57 +00:00
|
|
|
</span>
|
2018-04-09 21:49:52 +00:00
|
|
|
<code class="has-text-grey is-size-8">
|
|
|
|
{{#if (eq backend.options.version 2)}}
|
|
|
|
v2
|
|
|
|
{{/if}}
|
|
|
|
</code>
|
2018-04-03 14:16:57 +00:00
|
|
|
<code class="has-text-grey is-size-8">
|
|
|
|
{{backend.accessor}}
|
|
|
|
</code>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="level-right is-flex is-paddingless is-marginless">
|
|
|
|
<div class="level-item">
|
2018-05-23 16:25:52 +00:00
|
|
|
{{#popup-menu name="engine-menu"}}
|
|
|
|
<nav class="menu">
|
|
|
|
<ul class="menu-list">
|
|
|
|
<li class="action">
|
2018-08-16 17:48:24 +00:00
|
|
|
{{#link-to "vault.cluster.secrets.backend.configuration" backend.id}}
|
2018-05-23 16:25:52 +00:00
|
|
|
View Configuration
|
2018-08-16 17:48:24 +00:00
|
|
|
{{/link-to}}
|
2018-05-23 16:25:52 +00:00
|
|
|
</li>
|
|
|
|
{{#if item.updatePath.isPending}}
|
|
|
|
<li class="action">
|
|
|
|
<button disabled=true type="button" class="link button is-loading is-transparent"></button>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
{{/popup-menu}}
|
2018-04-03 14:16:57 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-07-10 19:38:02 +00:00
|
|
|
{{/linked-block}}
|
2018-04-03 14:16:57 +00:00
|
|
|
{{/each}}
|
|
|
|
{{#each unsupportedBackends as |backend|}}
|
2018-08-16 17:48:24 +00:00
|
|
|
<div class="list-item-row" data-test-secret-backend-row={{backend.id}}>
|
2018-04-03 14:16:57 +00:00
|
|
|
<div class="level is-mobile">
|
|
|
|
<div class="level-left">
|
|
|
|
<div>
|
2018-07-10 13:55:28 +00:00
|
|
|
<div data-test-secret-path class="has-text-weight-semibold has-text-grey">
|
2018-04-03 14:16:57 +00:00
|
|
|
{{i-con glyph="folder" size=14 class="has-text-grey-light"}} {{backend.path}}
|
|
|
|
</div>
|
|
|
|
<span class="tag">
|
|
|
|
<code>
|
|
|
|
{{#if (eq backend.type 'plugin')}}
|
|
|
|
{{backend.type}}: {{backend.config.plugin_name}}
|
|
|
|
{{else}}
|
|
|
|
{{backend.type}}
|
|
|
|
{{/if}}
|
|
|
|
</code>
|
|
|
|
</span>
|
|
|
|
<code class="has-text-grey is-size-8">
|
|
|
|
{{backend.accessor}}
|
|
|
|
</code>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="level-right is-flex is-paddingless is-marginless">
|
|
|
|
<div class="level-item">
|
2018-05-23 16:25:52 +00:00
|
|
|
{{#popup-menu name="engine-menu"}}
|
|
|
|
<nav class="menu">
|
|
|
|
<ul class="menu-list">
|
|
|
|
<li class="action">
|
2018-08-16 17:48:24 +00:00
|
|
|
{{#link-to "vault.cluster.secrets.backend.configuration" backend.id data-test-engine-config}}
|
2018-05-23 16:25:52 +00:00
|
|
|
View Configuration
|
2018-08-16 17:48:24 +00:00
|
|
|
{{/link-to}}
|
2018-05-23 16:25:52 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
{{/popup-menu}}
|
2018-04-03 14:16:57 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|