{{! Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0 }} {{#if @model.errors.name}} {{#each @model.errors.name as |error|}} {{error.message}} {{/each}} {{/if}} {{#if @model.errors.description}} {{#each @model.errors.description as |error|}} {{error.message}} {{/each}} {{/if}} {{#if @model.errors.issuer}} {{#each @model.errors.issuer as |error|}} {{error.message}} {{/each}} {{/if}} {{#if @model.errors.client_id}} {{#each @model.errors.client_id as |error|}} {{error.message}} {{/each}} {{/if}} {{#if @model.errors.client_secret}} {{#each @model.errors.client_secret as |error|}} {{error.message}} {{/each}} {{/if}} {{#unless @model.isNew}} {{/unless}} {{! Signing Algorithms }} <:title>{{t 'form.signing_algorithms.label'}} <:description>{{t 'form.signing_algorithms.help'}} <:body> {{#if @model.errors.signing_algorithms}} {{#each @model.errors.signing_algorithms as |error|}} {{error.message}} {{/each}} {{/if}} {{t 'titles.value'}} {{t 'titles.actions'}} {{#each @model.signing_algorithms as |algorithm i|}} {{t 'form.algorithm.label' }} {{#each this.signingAlgorithms as |algorithmOption|}} {{/each}} {{t 'actions.remove'}} {{/each}} {{t 'resources.auth-method.titles.new-signing-algorithm' }} {{#each this.signingAlgorithms as |algorithmOption|}} {{/each}} {{t 'actions.add'}} {{! Allowed Audiences }} <:title>{{t 'form.allowed_audiences.label'}} <:description>{{t 'form.allowed_audiences.help'}} <:body> {{#if @model.errors.allowed_audiences}} {{#each @model.errors.allowed_audiences as |error|}} {{error.message}} {{/each}} {{/if}} {{t 'titles.value'}} {{t 'titles.actions'}} {{#each @model.allowed_audiences as |audience i|}} {{t 'form.claim.label'}} {{t 'actions.remove'}} {{/each}} {{t 'actions.add'}} {{! Claims Scopes }} <:title>{{t 'form.claims_scopes.label'}} <:description>{{t 'form.claims_scopes.help'}} <:body> {{#if @model.errors.claims_scopes}} {{#each @model.errors.claims_scopes as |error|}} {{error.message}} {{/each}} {{/if}} {{t 'titles.value'}} {{#each @model.claims_scopes as |claimsScope i|}} {{t 'form.claims_scope.label'}} {{t 'actions.remove'}} {{/each}} {{t 'actions.add'}} {{! Account Claim Maps }} <:title>{{t 'form.account_claim_maps.label'}} <:description>{{t 'form.account_claim_maps.help'}} <:body> {{#if @model.errors.account_claim_maps}} {{#each @model.errors.account_claim_maps as |error|}} {{error.message}} {{/each}} {{/if}} {{t 'form.from_claim.label'}} {{t 'form.to_claim.label'}} {{t 'titles.actions'}} {{#each @model.account_claim_maps as |claimMap i|}} {{t 'form.from_claim.label'}} {{t 'form.to_claim.label'}} {{#each this.toClaims as |toClaimOption|}} {{/each}} {{t 'actions.remove'}} {{/each}} {{t 'resources.auth-method.titles.new-to-claim' }} {{#each this.toClaims as |toClaimOption|}} {{/each}} {{t 'actions.add'}} {{! Certificates }} <:title>{{t 'form.idp_ca_certs.label'}} <:description>{{t 'form.idp_ca_certs.help'}} <:body> {{#if @model.errors.idp_ca_certs}} {{#each @model.errors.idp_ca_certs as |error|}} {{error.message}} {{/each}} {{/if}} {{t 'titles.value'}} {{t 'titles.actions'}} {{#each @model.idp_ca_certs as |cert i|}} {{t 'form.certificate.label'}} {{t 'actions.remove'}} {{/each}} {{t 'actions.add'}} {{#if @model.errors.max_age}} {{#each @model.errors.max_age as |error|}} {{error.message}} {{/each}} {{/if}} {{#if @model.errors.api_url_prefix}} {{#each @model.errors.api_url_prefix as |error|}} {{error.message}} {{/each}} {{/if}} {{#unless @model.isNew}} {{/unless}} {{#if (can 'save model' @model)}} {{/if}}