{{#if (eq selectedAction 'rotate')}} {{#if key.canRotate}} Rotate encryption key {{/if}} {{else}} {{#if selectedAction}}
{{ component (concat 'transit-key-action/' selectedAction) key=key keys=keys keyIsRSA=keyIsRSA verification=verification hmac=hmac param=param key_version=key_version isModalActive=isModalActive ciphertext=ciphertext plaintext=plaintext context=context nonce=nonce input=input bits=bits algorithm=algorithm signature=signature signature_algorithm=signature_algorithm hash_algorithm=hash_algorithm prehashed=prehashed wrappedToken=wrappedToken exportKeyType=exportKeyType exportKeyVersion=exportKeyVersion encodedBase64=encodedBase64 doSubmit=(action "doSubmit") toggleModal=(action "toggleModal") clearParams=(action "clearParams") }}
{{/if}} {{/if}}