Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
d3d595a7
Unverified
Commit
d3d595a7
authored
Nov 20, 2019
by
Peter Holmberg
Committed by
GitHub
Nov 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MySql: Fix tls auth settings in config page (#20501)
parent
58b79589
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
0 deletions
+62
-0
public/app/features/datasources/partials/tls_auth_settings.html
+62
-0
No files found.
public/app/features/datasources/partials/tls_auth_settings.html
0 → 100644
View file @
d3d595a7
<div
class=
"gf-form-group"
>
<div
class=
"gf-form"
>
<h6>
TLS Auth Details
</h6>
<info-popover
mode=
"header"
>
TLS Certs are encrypted and stored in the Grafana database.
</info-popover>
</div>
<div
ng-if=
"current.jsonData.tlsAuthWithCACert"
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form gf-form--v-stretch"
><label
class=
"gf-form-label width-7"
>
CA Cert
</label></div>
<div
class=
"gf-form gf-form--grow"
ng-if=
"!current.secureJsonFields.tlsCACert"
>
<textarea
rows=
"7"
class=
"gf-form-input gf-form-textarea"
ng-model=
"current.secureJsonData.tlsCACert"
placeholder=
"Begins with -----BEGIN CERTIFICATE-----"
></textarea>
</div>
<div
class=
"gf-form"
ng-if=
"current.secureJsonFields.tlsCACert"
>
<input
type=
"text"
class=
"gf-form-input max-width-12"
disabled=
"disabled"
value=
"configured"
/>
<a
class=
"btn btn-secondary gf-form-btn"
href=
"#"
ng-click=
"current.secureJsonFields.tlsCACert = false"
>
reset
</a>
</div>
</div>
</div>
<div
ng-if=
"current.jsonData.tlsAuth"
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form gf-form--v-stretch"
><label
class=
"gf-form-label width-7"
>
Client Cert
</label></div>
<div
class=
"gf-form gf-form--grow"
ng-if=
"!current.secureJsonFields.tlsClientCert"
>
<textarea
rows=
"7"
class=
"gf-form-input gf-form-textarea"
ng-model=
"current.secureJsonData.tlsClientCert"
placeholder=
"Begins with -----BEGIN CERTIFICATE-----"
required
></textarea>
</div>
<div
class=
"gf-form"
ng-if=
"current.secureJsonFields.tlsClientCert"
>
<input
type=
"text"
class=
"gf-form-input max-width-12"
disabled=
"disabled"
value=
"configured"
/>
<a
class=
"btn btn-secondary gf-form-btn"
href=
"#"
ng-click=
"current.secureJsonFields.tlsClientCert = false"
>
reset
</a
>
</div>
</div>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form gf-form--v-stretch"
><label
class=
"gf-form-label width-7"
>
Client Key
</label></div>
<div
class=
"gf-form gf-form--grow"
ng-if=
"!current.secureJsonFields.tlsClientKey"
>
<textarea
rows=
"7"
class=
"gf-form-input gf-form-textarea"
ng-model=
"current.secureJsonData.tlsClientKey"
placeholder=
"Begins with -----BEGIN RSA PRIVATE KEY-----"
required
></textarea>
</div>
<div
class=
"gf-form"
ng-if=
"current.secureJsonFields.tlsClientKey"
>
<input
type=
"text"
class=
"gf-form-input max-width-12"
disabled=
"disabled"
value=
"configured"
/>
<a
class=
"btn btn-secondary gf-form-btn"
href=
"#"
ng-click=
"current.secureJsonFields.tlsClientKey = false"
>
reset
</a>
</div>
</div>
</div>
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment