vault_config_ui_custom_message

Manages a UI custom message in Vault. Custom messages are displayed in the Vault UI either on the login page or immediately after succesfully logging in.

Example Usage

resource "vault_config_ui_custom_message" "maintenance" {
  title         = "Upcoming maintenance"
  message       = base64encode("Vault will be offline for planned maintenance on February 1st, 2024 from 05:00Z to 08:00Z")
  type          = "banner"
  authenticated = true
  start_time    = "2024-01-01T00:00:00.000Z"
  end_time      = "2024-02-01T05:00:00.000Z"
}

Argument Reference

The following arguments are supported:

Attributes Reference

No additional attributes are exported by this resource.

Import

Custom messages can be imported using their id e.g.

$ terraform import vault_config_ui_custom_message.maintenance df773ef1-2794-45d3-9e25-bcccffe4dbde