tldr/pages/linux/nmcli-agent.md

18 lines
477 B
Markdown
Raw Normal View History

# nmcli agent
2023-08-02 06:26:52 +01:00
> Run `nmcli` as a NetworkManager secret agent or polkit agent.
> This subcommand can also be called with `nmcli a`.
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
2023-08-02 06:26:52 +01:00
- Register `nmcli` as a secret agent and listen for secret requests:
`nmcli agent secret`
2023-08-02 06:26:52 +01:00
- Register `nmcli` as a polkit agent and listen for authorization requests:
`nmcli agent polkit`
2023-08-02 06:26:52 +01:00
- Register `nmcli` as a secret agent and a polkit agent:
`nmcli agent all`