Skip to main content

diagrid kv update

Update a Diagrid key-value store

Description

Update the scopes of a Diagrid key-value store.

diagrid kv update <kv-store> [flags]

Examples


# Restrict a key-value store to a specific set of App IDs
diagrid kv update my-kv-store --project my-project --scopes app-a,app-b

# Remove all scope restrictions (accessible to every App ID)
diagrid kv update my-kv-store --project my-project --scopes ""

Options

-p, --project string Name of existing project
--scopes strings Comma-separated list of App IDs that may access this key-value store. Pass an empty value to allow all App IDs.
-w, --wait Wait for long-running resource update to finish
-h, --help help for update

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO