open-vault/ui/app/templates/components/wizard/secrets-display.hbs
Jordan Reimer 9eaea7bc14
KMSE Wizard Steps (#15171)
* 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
2022-04-26 13:17:42 -06:00

49 lines
1.8 KiB
Handlebars
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{#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
Youre 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>