apikeyModal.html 875 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <div class="modal-body">
  2. <div class="modal-header">
  3. <h2 class="modal-header-title">
  4. <i class="fa fa-key"></i>
  5. <span class="p-l-1">API Key Created</span>
  6. </h2>
  7. <a class="modal-header-close" ng-click="dismiss();">
  8. <i class="fa fa-remove"></i>
  9. </a>
  10. </div>
  11. <div class="modal-content">
  12. <div class="gf-form-group">
  13. <div class="gf-form">
  14. <span class="gf-form-label">Key</span>
  15. <span class="gf-form-label">{{key}}</span>
  16. </div>
  17. </div>
  18. <div class="grafana-info-box" style="border: 0;">
  19. 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.
  20. <br>
  21. <br>
  22. You can authenticate request using the Authorization HTTP header, example:
  23. <br>
  24. <br>
  25. <pre class="small">
  26. curl -H "Authorization: Bearer {{key}}" {{rootPath}}/api/dashboards/home
  27. </pre>
  28. </div>
  29. </div>
  30. </div>