{{#if showConfig}} {{#with (find-by 'type' mountModel.type mountTypes) as |typeInfo|}} {{#if (eq mountType "auth")}} Enable {{typeInfo.displayName}} authentication method {{else}} Enable {{typeInfo.displayName}} secrets engine {{/if}} {{/with}} {{else}} {{#if (eq mountType "auth")}} Enable an authentication method {{else}} Enable a secrets engine {{/if}} {{/if}}

{{message-error model=mountModel}} {{#if showConfig}} {{form-field-groups model=mountModel onChange=(action "onTypeChange") renderGroup="default"}} {{#if mountModel.authConfigs.firstObject}} {{form-field-groups model=mountModel.authConfigs.firstObject}} {{/if}} {{form-field-groups model=mountModel onChange=(action "onTypeChange") renderGroup="Method Options"}} {{else}} {{#each (array "generic" "cloud" "infra") as |category|}}

{{capitalize category}}

{{#each (filter-by "category" category mountTypes) as |type|}} {{/each}}
{{/each}} {{/if}}
{{#if showConfig}}
{{else}} {{/if}}