mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 09:42:25 +00:00
UI: Remove "encryption" from transit actions (#27346)
* Remove encryption from transit actions * Update encryption key > cryptographic key. Fixes #25780 * Add changelog
This commit is contained in:
3
changelog/27346.txt
Normal file
3
changelog/27346.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
```release-note:improvement
|
||||
ui: Update language in Transit secret engine to reflect that not all keys are for encyryption
|
||||
```
|
||||
@@ -10,11 +10,11 @@
|
||||
<p.levelLeft>
|
||||
<h1 class="title is-3">
|
||||
{{#if (eq this.mode "create")}}
|
||||
Create Encryption Key
|
||||
Create Key
|
||||
{{else if (eq this.mode "edit")}}
|
||||
Edit Encryption Key
|
||||
Edit Key
|
||||
{{else}}
|
||||
Encryption Key
|
||||
Key
|
||||
<code>{{this.key.id}}</code>
|
||||
{{/if}}
|
||||
</h1>
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
<div class="field is-grouped box is-fullwidth is-bottomless">
|
||||
<Hds::ButtonSet>
|
||||
<Hds::Button
|
||||
@text="Create encryption key"
|
||||
@text="Create key"
|
||||
@icon={{if @requestInFlight "loading"}}
|
||||
data-test-transit-key="create"
|
||||
type="submit"
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<p class="help">
|
||||
The minimum decryption version required to reverse transformations performed with the encryption key. Results from
|
||||
The minimum decryption version required to reverse transformations performed with the cryptographic key. Results from
|
||||
lower key versions may be rewrapped with the new key version using the
|
||||
<code>rewrap</code>
|
||||
action.
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
<ToolbarActions>
|
||||
{{#if (and (eq @tab "versions") @key.canRotate)}}
|
||||
<ConfirmAction
|
||||
@buttonText="Rotate encryption key"
|
||||
@buttonText="Rotate key"
|
||||
class="toolbar-button"
|
||||
@buttonColor="secondary"
|
||||
@confirmTitle="Rotate this key?"
|
||||
@@ -65,7 +65,7 @@
|
||||
{{#if (eq @mode "show")}}
|
||||
{{#if (or @capabilities.canUpdate @capabilities.canDelete)}}
|
||||
<ToolbarSecretLink @secret={{@key.id}} @backend={{@key.backend}} @mode="edit" replace={{true}}>
|
||||
Edit encryption key
|
||||
Edit key
|
||||
</ToolbarSecretLink>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<div class="box is-sideless is-fullwidth is-marginless">
|
||||
<NamespaceReminder @mode="perform" @noun="datakey creation" />
|
||||
<div class="content has-bottom-margin-l">
|
||||
<p>Generate a new high-entropy key and value using <code>{{@key.name}}</code> as the encryption key.</p>
|
||||
<p>Generate a new high-entropy key and value using <code>{{@key.name}}</code> as the cryptographic key.</p>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label for="param" class="is-label">Output format</label>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<form {{on "submit" (fn @doSubmit (hash ciphertext=@ciphertext context=@context nonce=@nonce))}} ...attributes>
|
||||
<div class="box is-sideless is-fullwidth is-marginless">
|
||||
<div class="content has-bottom-margin-l">
|
||||
<p>You can decrypt ciphertext using <code>{{@key.name}}</code> as the encryption key.</p>
|
||||
<p>You can decrypt ciphertext using <code>{{@key.name}}</code> as the cryptographic key.</p>
|
||||
</div>
|
||||
<div class="field">
|
||||
<div id="ciphertext-control" class="control">
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<div class="box is-sideless is-fullwidth is-marginless">
|
||||
<NamespaceReminder @mode="perform" @noun="encryption" />
|
||||
<div class="content has-bottom-margin-l">
|
||||
<p>You can encrypt plaintext data using <code>{{@key.name}}</code> as the encryption key.</p>
|
||||
<p>You can encrypt plaintext data using <code>{{@key.name}}</code> as the cryptographic key.</p>
|
||||
</div>
|
||||
<KeyVersionSelect @key={{@key}} @onVersionChange={{fn (mut @key_version)}} @key_version={{@key_version}} />
|
||||
<div class="field">
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
>
|
||||
<div class="box is-sideless is-fullwidth is-marginless">
|
||||
<div class="content">
|
||||
<p>Export a key using <code>{{@key.name}}</code> as the encryption key.</p>
|
||||
<p>Export a key using <code>{{@key.name}}</code> as the cryptographic key.</p>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label for="type" class="is-label">Key type</label>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<p>
|
||||
You can rewrap the provided ciphertext using the latest version of
|
||||
<code>{{@key.name}}</code>
|
||||
as the encryption key.
|
||||
as the cryptographic key.
|
||||
</p>
|
||||
</div>
|
||||
<KeyVersionSelect @key={{@key}} @onVersionChange={{fn (mut @key_version)}} @key_version={{@key_version}} />
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<p>
|
||||
Return the cryptographic signature of the given data using
|
||||
<code>{{@key.name}}</code>
|
||||
as the encryption key and the specified hash algorithm.
|
||||
as the cryptographic key and the specified hash algorithm.
|
||||
</p>
|
||||
</div>
|
||||
<KeyVersionSelect @key={{@key}} @onVersionChange={{fn (mut @key_version)}} @key_version={{@key_version}} />
|
||||
|
||||
@@ -140,11 +140,11 @@ const SECRET_BACKENDS = {
|
||||
transit: {
|
||||
searchPlaceholder: 'Filter keys',
|
||||
item: 'key',
|
||||
create: 'Create encryption key',
|
||||
create: 'Create key',
|
||||
navigateTree: false,
|
||||
editComponent: 'transit-edit',
|
||||
listItemPartial: 'secret-list/item',
|
||||
firstStep: `To use transit, you'll need to create an encryption key`,
|
||||
firstStep: `To use transit, you'll need to create a key`,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user