mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 20:36:26 +02:00
add is default text (#18717)
This commit is contained in:
parent
b4a89d0b19
commit
072e2f449f
@ -30,6 +30,7 @@ export default class PkiIssuerModel extends PkiCertificateBaseModel {
|
||||
return false;
|
||||
}
|
||||
|
||||
@attr isDefault; // readonly
|
||||
@attr('string') issuerId;
|
||||
@attr('string', { displayType: 'masked' }) certificate;
|
||||
@attr('string', { displayType: 'masked', label: 'CA Chain' }) caChain;
|
||||
|
||||
@ -38,6 +38,16 @@
|
||||
</ToolbarActions>
|
||||
</Toolbar>
|
||||
|
||||
{{#if @issuer.isDefault}}
|
||||
<p class="has-top-margin-m">
|
||||
This is your default issuer certificate. You will see it in your
|
||||
<LinkTo @route="issuers.index">
|
||||
list of Issuers.
|
||||
</LinkTo>
|
||||
You may also want to configure its usage and other behaviors.
|
||||
</p>
|
||||
{{/if}}
|
||||
|
||||
<main data-test-issuer-details>
|
||||
{{#each @issuer.formFieldGroups as |fieldGroup|}}
|
||||
{{#each-in fieldGroup as |group fields|}}
|
||||
@ -60,7 +70,7 @@
|
||||
{{else if (eq attr.name "keyId")}}
|
||||
<InfoTableRow @label={{or attr.options.label (humanize (dasherize attr.name))}} @value={{get @issuer attr.name}}>
|
||||
{{#if @issuer.keyId}}
|
||||
<LinkTo @route="keys.key" @model={{@issuer.keyId}}>{{@issuer.keyId}}</LinkTo>
|
||||
<LinkTo @route="keys.key.details" @model={{@issuer.keyId}}>{{@issuer.keyId}}</LinkTo>
|
||||
{{else}}
|
||||
<Icon @name="minus" />
|
||||
{{/if}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user