9eaea7bc14
* fixes issues in key-edit component * adds capabilities checks for keys and providers * adds distribute component to key and provider edit * adds wizard steps for kmse
49 lines
1.8 KiB
Handlebars
49 lines
1.8 KiB
Handlebars
{{#if @isSupported}}
|
||
<WizardSection
|
||
@headerText={{if
|
||
(eq @mountSubtype "keymgmt")
|
||
"Your key and provider"
|
||
(unless @actionText "All set!" "Generate Credential")
|
||
}}
|
||
>
|
||
<p>
|
||
{{#if (eq @mountSubtype "keymgmt")}}
|
||
Your key and your provider have been created and connected. From here, you can click the key name to view the key
|
||
You’re now ready to start using the secrets engine.
|
||
{{else if @actionText}}
|
||
Here is your generated credential. As you can see, we can only show the credential once, so you'll want to be sure to
|
||
save it. If you need another credential in the future, just come back and generate a new one.
|
||
{{else}}
|
||
Well done!
|
||
{{/if}}
|
||
You're now ready to start using your new
|
||
{{@mountName}}
|
||
Secrets Engine.
|
||
</p>
|
||
</WizardSection>
|
||
{{else}}
|
||
<WizardSection @headerText="Viewing engine configuration">
|
||
<p>
|
||
Here you can see all the details of your new engine. This can be useful to get information for things like TTL or Seal
|
||
Wrap settings.
|
||
</p>
|
||
</WizardSection>
|
||
{{/if}}
|
||
<WizardSection @headerText="Want to start again or move on?" @class="wizard-details has-bottom-margin-l">
|
||
{{#if @isSupported}}
|
||
<button type="button" class="button next-feature-step" {{action @onRepeat}}>
|
||
Create another
|
||
{{unless @needsEncryption @mountName}}
|
||
{{@nextStep}}
|
||
{{if @needsEncryption "key"}}
|
||
<Icon @name="sync" class="hs-icon-button-right" />
|
||
</button>
|
||
{{/if}}
|
||
<button type="button" class="button next-feature-step" {{action @onReset}}>
|
||
Enable another Secrets Engine<Icon @name="sync" class="hs-icon-button-right" />
|
||
</button>
|
||
<button type="button" class="button next-feature-step" {{action @onDone}}>
|
||
{{@nextFeature}}
|
||
<Chevron @isButton={{true}} />
|
||
</button>
|
||
</WizardSection> |