Skip to main content

diagrid kv create

Create a Diagrid key-value store

Description

Create a Diagrid key-value store to persist state without managing infrastructure.

diagrid kv create <kv-store> [flags]

Examples


# Create a key-value store in a project
diagrid kv create my-kv-store --project my-project

Options

-p, --project string Name of existing project
--scopes strings Component scopes, list of App IDs which will have access to the default component created for this KV Store. Leave empty to allow access from all App IDs.
-w, --wait Wait for long-running resource creation to finish
--ignore-if-exists Exit with success if the KV Store already exists instead of returning an error
-h, --help help for create

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO