I have the VPN connection configured, it requires a password. The machine in question is actually just a virtual machine that I plan to run headless.

When I select that the wired connection automatically connects to the VPN no connection will automatically connect on boot. If I disable it, the machine connects to the wired connection automatically. Obviously I don't have the VPN enabled then.

How can I achieve both?

BTW: I have not saved the password in the keyring, it's saved unencrypted.