2018-04-03 14:16:57 +00:00
|
|
|
{{#if (eq selectedAction 'rotate')}}
|
|
|
|
{{#if key.canRotate}}
|
2019-05-17 17:29:21 +00:00
|
|
|
<ConfirmAction
|
|
|
|
@buttonClasses="toolbar-link"
|
|
|
|
@confirmTitle="Rotate this key?"
|
|
|
|
@confirmMessage="After rotation, all key actions will default to using the newest version of the key."
|
|
|
|
@confirmButtonText="Rotate"
|
|
|
|
@onConfirmAction={{action "doSubmit"}}
|
|
|
|
data-test-transit-key-rotate="true"
|
|
|
|
>
|
2019-02-14 16:04:46 +00:00
|
|
|
Rotate encryption key
|
2019-05-17 17:29:21 +00:00
|
|
|
</ConfirmAction>
|
2018-04-03 14:16:57 +00:00
|
|
|
{{/if}}
|
|
|
|
{{else}}
|
|
|
|
{{message-error errors=errors}}
|
|
|
|
{{#if selectedAction}}
|
|
|
|
<div data-test-transit-action={{selectedAction}}>
|
|
|
|
{{partial (concat 'components/transit-key-action/' selectedAction)}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
2020-03-16 22:48:11 +00:00
|
|
|
|