Global InfraGlobal Infra Cloud
cassandra

grant

CLI reference for grant (cassandra).

gi cassandra grant

Subcommands

CommandDescription
gi cassandra grant listList grants.
gi cassandra grant createCreate a new grant.
gi cassandra grant update <id>Update a grant.
gi cassandra grant delete <id>Delete a grant.

Flags

list flags

FlagAliasDescription
--filter-fFilter assets (e.g. attributes.name=my-asset)

create flags

FlagAliasDescription
--file—Path to a YAML or JSON file describing the asset

update flags

FlagAliasDescription
--file—Path to a YAML or JSON file with updated attributes

Examples

# List all
gi cassandra grant list

# Filter by attribute
gi cassandra grant list -f attributes.permission=SELECT

# Create from file
gi cassandra grant create --file asset.yaml

# Update
gi cassandra grant update <id> --file asset.yaml

# Delete
gi cassandra grant delete <id>

Usage Notes

On this page