nmcli-agent

Run nmcli as a NetworkManager secret agent or polkit agent.

TLDR

Register nmcli as a secret agent and listen for secret requests

$ nmcli agent secret
copy


Register nmcli as a polkit agent and listen for authorization requests
$ nmcli agent polkit
copy


Register nmcli as a secret agent and a polkit agent
$ nmcli agent all
copy

Copied to clipboard