{{#if (eq this.model.backendType "database")}}
  <GenerateCredentialsDatabase
    @backendPath={{this.model.backendPath}}
    @roleName={{this.model.roleName}}
    @roleType={{this.model.dbCred.roleType}}
    @model={{this.model.dbCred}}
  />
{{else}}
  {{! TODO smells a little to have action off of query param requiring a conditional }}
  <GenerateCredentials
    @backendPath={{this.model.backendPath}}
    @backendType={{this.model.backendType}}
    @roleName={{this.model.roleName}}
    @action={{if this.action this.action ""}}
  />
{{/if}}