client-oidc-key-export.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
  2. <ol class="breadcrumb">
  3. <li><a href="#/realms/{{realm.realm}}/clients">{{:: 'clients' | translate}}</a></li>
  4. <li><a href="#/realms/{{realm.realm}}/clients/{{client.id}}">{{client.clientId}}</a></li>
  5. <li><a href="#/realms/{{realm.realm}}/clients/{{client.id}}/oidc/keys">{{:: 'keys' | translate}}</a></li>
  6. <li class="active">{{:: 'gen-client-private-key' | translate}}</li>
  7. </ol>
  8. <h1>{{:: 'generate-private-key' | translate}}</h1>
  9. <form class="form-horizontal" name="keyForm" novalidate kc-read-only="!client.access.configure">
  10. <fieldset class="form-group col-sm-10">
  11. <div class="form-group">
  12. <label class="col-md-2 control-label" for="downloadKeyFormat">{{:: 'archive-format' | translate}}</label>
  13. <div class="col-sm-6">
  14. <div>
  15. <select class="form-control" id="downloadKeyFormat"
  16. ng-model="jks.format"
  17. ng-options="f for f in keyFormats">
  18. </select>
  19. </div>
  20. </div>
  21. <kc-tooltip>{{:: 'archive-format.tooltip' | translate}}</kc-tooltip>
  22. </div>
  23. <div class="form-group">
  24. <label class="col-md-2 control-label" for="keyAlias">{{:: 'key-alias' | translate}}</label>
  25. <div class="col-md-6">
  26. <input class="form-control" type="text" id="keyAlias" name="keyAlias" data-ng-model="jks.keyAlias" autofocus required>
  27. </div>
  28. <kc-tooltip>{{:: 'key-alias.tooltip' | translate}}</kc-tooltip>
  29. </div>
  30. <div class="form-group">
  31. <label class="col-md-2 control-label" for="keyPas">{{:: 'key-password' | translate}}</label>
  32. <div class="col-md-6">
  33. <input class="form-control" kc-password id="keyPas" name="keyPas" data-ng-model="jks.keyPassword" autofocus required>
  34. </div>
  35. <kc-tooltip>{{:: 'key-password.tooltip' | translate}}</kc-tooltip>
  36. </div>
  37. <div class="form-group">
  38. <label class="col-md-2 control-label" for="storePas">{{:: 'store-password' | translate}}</label>
  39. <div class="col-md-6">
  40. <input class="form-control" kc-password id="storePas" name="storePassword" data-ng-model="jks.storePassword" autofocus required>
  41. </div>
  42. <kc-tooltip>{{:: 'store-password.tooltip' | translate}}</kc-tooltip>
  43. </div>
  44. <div class="form-group">
  45. <div class="col-md-10 col-md-offset-2" data-ng-show="client.access.configure">
  46. <button class="btn btn-primary" type="submit" data-ng-click="download()">{{:: 'generate-and-download' | translate}}</button>
  47. <button class="btn btn-default" type="submit" data-ng-click="cancel()">{{:: 'cancel' | translate}}</button>
  48. </div>
  49. </div>
  50. </fieldset>
  51. </form>
  52. </div>
  53. <kc-menu></kc-menu>