sacli Rename Existing Key

Post Reply
OpenVpn Newbie
Posts: 2
Joined: Tue Jul 07, 2020 8:56 pm

sacli Rename Existing Key

Post by smichelson » Thu Jul 16, 2020 6:37 pm

Hi, does anyone know if it's possible to rename an existing key using sacli command?

For example, i have a user account with these properties:

"": {
"conn_group": "Default",
"hw_addr": "ab:cd:ef:g1:23:45",
"type": "user_connect"

Can I rename the "hw_addr" key to something else (e.g., "hw_addr_wireless")?

OpenVPN Inc.
Posts: 1055
Joined: Fri Apr 13, 2012 8:43 pm

Re: sacli Rename Existing Key

Post by novaflash » Thu Jul 16, 2020 7:33 pm

Hello smichelson,

No, it is not possible to rename. You will simply have to create a new key and delete the old one. Renaming is not an implemented feature.

For example in your case:

./sacli --user "" --key "hw_addr_wireless" --value "AB:CD:EF:G1:23:45" UserPropPut
./sacli --user "" --key "hw_addr" UserPropDel
./sacli start

Post Reply