mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-23 23:51:08 +02:00
* remove intercepting helpText * add subtext directly to StringList input component * update tests and add coverage for new openapi-attrs util * update test * add warning validation to input * lol is this right i dont know go * literally no idea what im doing * add Description to display attrs struct * update struct comment * add descriptions to remaining go fields * add missing comma * remaining commas..." * add description to display attrs * update tests * update tests * add changelog; * Update ui/app/utils/openapi-to-attrs.js * update tests following backend changes * clearly name variable * format files * no longer need to test for modified tooltip since coming from backend now
31 lines
1.1 KiB
Handlebars
31 lines
1.1 KiB
Handlebars
<CheckboxGrid
|
|
@name="keyUsage"
|
|
@label="Key usage"
|
|
@subText="Specifies the default key usage constraint on the issued certificate. To specify no default key_usage constraints, uncheck every item in this list."
|
|
@fields={{this.keyUsageFields}}
|
|
@value={{@model.keyUsage}}
|
|
@onChange={{this.checkboxChange}}
|
|
data-test-key-usage-key-usage-checkboxes
|
|
/>
|
|
<CheckboxGrid
|
|
@name="extKeyUsage"
|
|
@label="Extended key usage"
|
|
@subText="Specifies the default key usage constraint on the issued certificate. To specify no default ext_key_usage constraints, uncheck every item in this list."
|
|
@fields={{this.extKeyUsageFields}}
|
|
@value={{@model.extKeyUsage}}
|
|
@onChange={{this.checkboxChange}}
|
|
class="has-top-margin-s"
|
|
data-test-key-usage-ext-key-usage-checkboxes
|
|
/>
|
|
<div class="has-top-margin-xxl">
|
|
<StringList
|
|
class="is-box-shadowless"
|
|
data-test-input="extKeyUsageOids"
|
|
@label="Extended key usage OIDs"
|
|
@inputValue={{get @model "extKeyUsageOids"}}
|
|
@onChange={{this.onStringListChange}}
|
|
@attrName="extKeyUsageOids"
|
|
@subText="A list of extended key usage OIDs. Add one item per row."
|
|
@showHelpText={{false}}
|
|
/>
|
|
</div> |