mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +00:00
add help document relevant to default mapping of credentials to machines
* src/util/virauthconfig.c
This commit is contained in:
parent
5da28cc306
commit
969b27d84c
@ -76,7 +76,11 @@ password=letmein
|
|||||||
|
|
||||||
[credentials-dev]
|
[credentials-dev]
|
||||||
username=joe
|
username=joe
|
||||||
password=hello</pre>
|
password=hello
|
||||||
|
|
||||||
|
[credentials-defgrp]
|
||||||
|
username=defuser
|
||||||
|
password=defpw</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The second set of groups provide mappings of credentials to
|
The second set of groups provide mappings of credentials to
|
||||||
@ -90,7 +94,8 @@ credentials=$CREDENTIALS</pre>
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
For example, following the previous example, here is how to
|
For example, following the previous example, here is how to
|
||||||
list some machines
|
map some machines. For convenience libvirt supports a default
|
||||||
|
mapping of credentials to machines:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
@ -106,8 +111,15 @@ credentials=test
|
|||||||
[auth-libvirt-prod1.example.com]
|
[auth-libvirt-prod1.example.com]
|
||||||
credentials=prod
|
credentials=prod
|
||||||
|
|
||||||
|
[auth-libvirt-default]
|
||||||
|
credentials=defgrp
|
||||||
|
|
||||||
[auth-esx-dev1.example.com]
|
[auth-esx-dev1.example.com]
|
||||||
credentials=dev</pre>
|
credentials=dev
|
||||||
|
|
||||||
|
[auth-esx-default]
|
||||||
|
credentials=defgrp</pre>
|
||||||
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The following service types are known to libvirt
|
The following service types are known to libvirt
|
||||||
|
Loading…
Reference in New Issue
Block a user