Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix custom ui message_base64 #2356

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading