A Vault administrator is preparing a server configuration file for a new Vault Enterprise installation. They want to ensure that the Vault UI is accessible and that the server listens on all network interfaces for API requests. Which configuration settings should they use?
The 'ui' parameter is a top-level configuration option that enables the Vault UI. Setting it to true makes the UI accessible at the /ui path. The 'listener' stanza's 'address' parameter specifies the bind address; using '0.0.0.0:8200' makes Vault listen on all network interfaces on port 8200. This combination correctly enables the UI and allows API requests from any interface.
Why this answer
To enable the Vault UI, set 'ui = true' at the top level of the configuration file. To listen on all interfaces, set 'address = "0.0.0.0:8200"' in the 'listener' stanza. This allows the UI to be accessed via any network interface and the API to accept requests from remote clients.
Incorrect placement of 'ui' in other stanzas is a common mistake.
Exam trap
The trap here is misplacing the 'ui' parameter inside a stanza like 'listener' or 'storage'; it is a top-level setting and must not be nested.