2022-03-09 22:48:13 +00:00
|
|
|
# nmcli agent
|
|
|
|
|
|
|
|
> Run nmcli as a NetworkManager secret agent or polkit agent.
|
2022-07-30 13:23:57 +01:00
|
|
|
> This subcommand can also be called with `nmcli a`.
|
2022-03-09 22:48:13 +00:00
|
|
|
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
|
|
|
|
|
|
|
|
- Register nmcli as a secret agent and listen for secret requests:
|
|
|
|
|
|
|
|
`nmcli agent secret`
|
|
|
|
|
|
|
|
- Register nmcli as a polkit agent and listen for authorization requests:
|
|
|
|
|
|
|
|
`nmcli agent polkit`
|
|
|
|
|
|
|
|
- Register nmcli as a secret agent and a polkit agent:
|
|
|
|
|
|
|
|
`nmcli agent all`
|