mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Added support for TLS client auth for datasource proxies (#5801)
This commit is contained in:
@@ -49,6 +49,10 @@
|
||||
label="With Credentials"
|
||||
checked="current.withCredentials" switch-class="max-width-6">
|
||||
</gf-form-switch>
|
||||
<gf-form-switch class="gf-form" ng-if="current.access=='proxy'"
|
||||
label="TLS Client Auth"
|
||||
checked="current.tlsAuth" switch-class="max-width-6">
|
||||
</gf-form-switch>
|
||||
</div>
|
||||
|
||||
<div class="gf-form" ng-if="current.basicAuth">
|
||||
@@ -64,5 +68,19 @@
|
||||
</span>
|
||||
<input class="gf-form-input max-width-21" type="password" ng-model='current.basicAuthPassword' placeholder="password" required></input>
|
||||
</div>
|
||||
|
||||
<div class="gf-form" ng-if="current.tlsAuth && current.access=='proxy'">
|
||||
<span class="gf-form-label width-7">
|
||||
Client Cert
|
||||
</span>
|
||||
<input class="gf-form-input max-width-23" type="text" ng-model='current.tlsClientCert' placeholder="cert path" required></input>
|
||||
</div>
|
||||
|
||||
<div class="gf-form" ng-if="current.tlsAuth && current.access=='proxy'">
|
||||
<span class="gf-form-label width-7">
|
||||
Client Key
|
||||
</span>
|
||||
<input class="gf-form-input max-width-23" type="text" ng-model='current.tlsClientKey' placeholder="key path" required></input>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user