Skip to content

Commit

Permalink
docs: fix custom ui message_base64 (#2356)
Browse files Browse the repository at this point in the history
  • Loading branch information
fairclothjm authored Nov 7, 2024
1 parent 3418cb7 commit 1351ad1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions website/docs/r/config_ui_custom_messages.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Manages a UI custom message in Vault. Custom messages are displayed in the Vault

```hcl
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"
title = "Upcoming maintenance"
message_base64 = 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"
}
```

Expand All @@ -34,7 +34,7 @@ The following arguments are supported:

* `title` - (Required) The title of the custom message to create.

* `message` - (Required) The base64-encoded content of the custom message.
* `message_base64` - (Required) The base64-encoded content of the custom message.

* `start_time` - (Required) The time when the custom message begins to be active. This value can be set to a future time, but cannot
occur on or after the `end_time` value.
Expand Down

0 comments on commit 1351ad1

Please sign in to comment.