Global InfraGlobal Infra Cloud
cassandra

human-role

CLI reference for human-role (cassandra).

gi cassandra human-role

Subcommands

CommandDescription
gi cassandra human-role listList human-roles.
gi cassandra human-role createCreate a new human-role.
gi cassandra human-role update <id>Update a human-role.
gi cassandra human-role delete <id>Delete a human-role.
gi cassandra human-role disable <id>Stops this person from connecting, without removing the role or its permissions. Rotating the password is the only way to enable the account again.
gi cassandra human-role elevate <id>Grants write access on every keyspace of this tenant for a limited period, after which it is removed automatically. Only a role whose access-level is read-write can be elevated.
gi cassandra human-role rotate_password <id>Replaces the password of this role with a newly generated one and stores it in Vault. If the account was disabled, this re-enables it.

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 human-role list

# Filter by attribute
gi cassandra human-role list -f attributes.access_level=read_only

# Create from file
gi cassandra human-role create --file asset.yaml

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

# Delete
gi cassandra human-role delete <id>

# Disable
gi cassandra human-role disable <id>

# Elevate
gi cassandra human-role elevate <id>

# Rotate_password
gi cassandra human-role rotate_password <id>

Usage Notes

On this page