apikeyModal.html 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <div class="modal-body gf-box gf-box-no-margin">
  2. <div class="gf-box-header">
  3. <div class="gf-box-title">
  4. <i class="fa fa-key"></i>
  5. API Key Created
  6. </div>
  7. <button class="gf-box-header-close-btn" ng-click="dismiss();">
  8. <i class="fa fa-remove"></i>
  9. </button>
  10. </div>
  11. <div class="gf-box-body" style="min-height: 0px;">
  12. <div class="tight-form last">
  13. <ul class="tight-form-list">
  14. <li class="tight-form-item">
  15. <strong>Key</strong>
  16. </li>
  17. <li class="tight-form-item last">
  18. {{key}}
  19. </li>
  20. </ul>
  21. <div class="clearfix"></div>
  22. </div>
  23. <br>
  24. <br>
  25. <div class="grafana-info-box" style="text-align: left">
  26. You will only be able to view this key here once! It is not stored in this form. So be sure to copy it now.
  27. <br>
  28. <br>
  29. You can authenticate request using the Authorization HTTP header, example:
  30. <br>
  31. <br>
  32. <pre class="small" style="overflow: hidden">
  33. curl -H "Authorization: Bearer your_key_above" http://your.grafana.com/api/dashboards/db/mydash
  34. </pre>
  35. </div>
  36. </div>
  37. </div>