Skip to main content

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.

warning

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

ParameterTypeRequiredDescription
-StorestringYesName of the store whose node configurations are updated to stop verifying tokens. Position 0.
-RestartswitchNoRolling-restarts the store's running nodes so the change takes effect immediately instead of at the next restart.
-Managersstring[]NoManagement Service endpoints (host, host:port, or URL) to target. When omitted, the active workspace's managers are used.
-PortintNoManagement Service port for bare-host managers. Default 7801.
-TokenstringNoAdmin bearer token for authenticated control-plane calls.
-TimeoutSecintNoPer-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