mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 16:45:43 -06:00
* Update ApiKeysAddedModal.tsx * Update ApiKeysForm.tsx * API text edits * Update QueryInspector.tsx
80 lines
1.4 KiB
Plaintext
80 lines
1.4 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Render should render component 1`] = `
|
|
<div
|
|
className="modal-body"
|
|
>
|
|
<div
|
|
className="modal-header"
|
|
>
|
|
<h2
|
|
className="modal-header-title"
|
|
>
|
|
<Icon
|
|
name="key-skeleton-alt"
|
|
size="lg"
|
|
/>
|
|
<span
|
|
className="p-l-1"
|
|
>
|
|
API Key Created
|
|
</span>
|
|
</h2>
|
|
<a
|
|
className="modal-header-close"
|
|
ng-click="dismiss();"
|
|
>
|
|
<Icon
|
|
name="times"
|
|
/>
|
|
</a>
|
|
</div>
|
|
<div
|
|
className="modal-content"
|
|
>
|
|
<div
|
|
className="gf-form-group"
|
|
>
|
|
<div
|
|
className="gf-form"
|
|
>
|
|
<span
|
|
className="gf-form-label"
|
|
>
|
|
Key
|
|
</span>
|
|
<span
|
|
className="gf-form-label"
|
|
>
|
|
api key test
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div
|
|
className="grafana-info-box"
|
|
style={
|
|
Object {
|
|
"border": 0,
|
|
}
|
|
}
|
|
>
|
|
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.
|
|
<br />
|
|
<br />
|
|
You can authenticate a request using the Authorization HTTP header, example:
|
|
<br />
|
|
<br />
|
|
<pre
|
|
className="small"
|
|
>
|
|
curl -H "Authorization: Bearer
|
|
api key test
|
|
"
|
|
test/path
|
|
/api/dashboards/home
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|