Disable-ZrStoreSecurity
Disables data-plane token verification for a store by removing token verification from every node configuration of that store across all managers, so the store's nodes stop requiring caller tokens.
Syntax
Disable-ZrStoreSecurity
-Store <string>
[-Restart]
[-Managers <string[]>] [-Port <int>] [-Token <string>] [-TimeoutSec <int>]
[-WhatIf] [-Confirm]
Description
Disable-ZrStoreSecurity is the inverse of Enable-ZrStoreSecurity: it removes token verification from every node configuration of the named store, across all managers, so the store's nodes no longer require callers to present a token. With -Restart the running nodes are rolling-restarted to apply the change now; otherwise it takes effect at the next restart. Requires an active workspace or an explicit -Managers list and an admin token.
This is a state-changing operation that removes authentication from the store's data plane. Once applied (and the nodes restarted), any client that can reach the store's nodes can read and write data without a token. Only disable data-plane security deliberately, and re-enable it when the maintenance window is over.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
-Store | string | Yes | Name of the store whose node configurations are updated to stop verifying tokens. Position 0. |
-Restart | switch | No | Rolling-restarts the store's running nodes so the change takes effect immediately instead of at the next restart. |
-Managers | string[] | No | Management Service endpoints (host, host:port, or URL) to target. When omitted, the active workspace's managers are used. |
-Port | int | No | Management Service port for bare-host managers. Default 7801. |
-Token | string | No | Admin bearer token for authenticated control-plane calls. |
-TimeoutSec | int | No | Per-request timeout in seconds. Default 30. |
Supports -WhatIf and -Confirm.
Examples
Disable token verification for the orders store and rolling-restart its nodes to apply it immediately.
Disable-ZrStoreSecurity -Store orders -Restart