Skip to content

fm cache ​

Reference for the fm cache command group (auto-generated from fm cache --help).

fm cache ​

text
Cross-type Cache management commands.

Use the type-specific subcommands (listed below) for instance lifecycle:
  fm cache <type> instance create --name ... --version ... --flavor ... --vpc ... --subnet ...

This command group provides read-only views across every type:
  fm cache instance list     List all instances (all types)
  fm cache instance get      Get instance details
  fm cache version list      List all versions (all types)
  fm cache flavor list       List all flavors (all types)

Usage:
  fm cache [command]

Available Commands:
  flavor      Manage Cache flavors
  instance    View Cache instances (all types)
  redis       Manage Redis caches
  valkey      Manage Valkey caches
  version     Manage Cache versions

Flags:
  -h, --help   help for cache

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache [command] --help" for more information about a command.

fm cache flavor ​

text
List available Cache instance sizes.

Usage:
  fm cache flavor [command]

Aliases:
  flavor, flavors

Available Commands:
  list        List Cache flavors

Flags:
  -h, --help   help for flavor

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache flavor [command] --help" for more information about a command.

fm cache flavor list ​

text
List all available Cache instance sizes.

Usage:
  fm cache flavor list [flags]

Flags:
  -h, --help   help for list

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

fm cache instance ​

text
View managed Cache instances across all types.

Usage:
  fm cache instance [command]

Aliases:
  instance, instances

Available Commands:
  get         Get Cache instance details
  list        List Cache instances

Flags:
  -h, --help   help for instance

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache instance [command] --help" for more information about a command.

fm cache instance get ​

text
Get detailed information about a specific Cache instance.

Usage:
  fm cache instance get <instance-id> [flags]

Flags:
  -h, --help   help for get

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

fm cache instance list ​

text
List all Cache instances.

--tag key=value (repeatable) lists only the instances carrying EVERY given resource
tag with exactly that value; key= matches a tag whose value is empty.

Usage:
  fm cache instance list [flags]

Flags:
  -h, --help          help for list
      --tag strings   only instances with this tag, key=value (repeatable; every one must match; key= matches an empty value)

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

fm cache redis ​

text
Manage Redis caches instances and more.

Usage:
  fm cache redis [command]

Available Commands:
  backup      Manage Redis backups
  config      Manage Redis configuration
  flavor      Manage Redis flavors
  instance    Manage Redis instances
  version     Manage Redis versions

Flags:
  -h, --help   help for redis

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache redis [command] --help" for more information about a command.

fm cache redis backup ​

text
Manage backups for Redis database instances.

Usage:
  fm cache redis backup [command]

Aliases:
  backup, backups

Available Commands:
  create      Create a Redis backup
  delete      Delete a Redis backup
  list        List Redis backups
  tags        Read and replace a Redis backup's resource tags

Flags:
  -h, --help   help for backup

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache redis backup [command] --help" for more information about a command.
fm cache redis backup create ​
text
Create a new backup for a Redis instance.

Examples:
  fm redis backup create <instance-id> --name my-backup
  fm redis backup create <instance-id> --name my-backup --type rdb_snapshot

Usage:
  fm cache redis backup create <instance-id> [flags]

Flags:
  -h, --help          help for create
      --name string   backup name (required)
      --tag strings   the backup's own resource tag, key=value (repeatable). The tenant's default tags are merged in; the instance's tags are not copied
      --type string   backup type (rdb_snapshot)

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache redis backup delete ​
text
Delete a backup for a Redis instance.

Usage:
  fm cache redis backup delete <instance-id> <backup-id> [flags]

Flags:
  -h, --help   help for delete

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache redis backup list ​
text
List all backups for a Redis instance.

--tag key=value (repeatable) lists only the backups carrying EVERY given resource
tag with exactly that value; key= matches a tag whose value is empty.

Usage:
  fm cache redis backup list <instance-id> [flags]

Flags:
  -h, --help          help for list
      --tag strings   only backups with this tag, key=value (repeatable; every one must match; key= matches an empty value)

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache redis backup tags ​
text
Read and replace a Redis backup's resource tags

Usage:
  fm cache redis backup tags [command]

Aliases:
  tags, tag

Available Commands:
  get         Show a Redis backup's resource tags
  set         Replace a Redis backup's resource tags

Flags:
  -h, --help   help for tags

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache redis backup tags [command] --help" for more information about a command.
fm cache redis backup tags get ​
text
Show a Redis backup's resource tags

Usage:
  fm cache redis backup tags get <instance-id> <backup-id> [flags]

Flags:
  -h, --help   help for get

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache redis backup tags set ​
text
Replace a Redis backup's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata for search and filtering: nothing else about the Redis backup changes, and the
running service is not touched.

The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm cache redis backup tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.

The backup's own tags: the instance's are neither copied nor changed.

Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.

Examples:
  fm cache redis backup tags set inst-123 bak-456 --tag env=prod --tag owner=team-a
  fm cache redis backup tags set inst-123 bak-456 --clear

Usage:
  fm cache redis backup tags set <instance-id> <backup-id> --tag <key=value> [--tag <key=value> ...] [flags]

Flags:
      --clear         remove ALL tags (mutually exclusive with --tag)
  -h, --help          help for set
      --tag strings   tag in key=value format (repeatable; replace semantics)

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

fm cache redis config ​

text
Get and set Redis instance configuration parameters.

Usage:
  fm cache redis config [command]

Available Commands:
  get         Get Redis configuration
  set         Set Redis configuration value

Flags:
  -h, --help   help for config

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache redis config [command] --help" for more information about a command.
fm cache redis config get ​
text
Get the current configuration parameters for a Redis instance.

Usage:
  fm cache redis config get <instance-id> [flags]

Flags:
  -h, --help   help for get

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache redis config set ​
text
Set a configuration parameter for a Redis instance.

Examples:
  fm redis config set instance-123 maxmemory-policy allkeys-lru
  fm redis config set instance-123 save "3600 1 300 100"

Usage:
  fm cache redis config set <instance-id> <key> <value> [flags]

Flags:
  -h, --help   help for set

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

fm cache redis flavor ​

text
List available Redis instance sizes.

Usage:
  fm cache redis flavor [command]

Aliases:
  flavor, flavors

Available Commands:
  list        List Redis flavors

Flags:
  -h, --help   help for flavor

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache redis flavor [command] --help" for more information about a command.
fm cache redis flavor list ​
text
List all available Redis instance sizes.

Usage:
  fm cache redis flavor list [flags]

Flags:
  -h, --help   help for list

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

fm cache redis instance ​

text
Manage Redis cache instances.

Usage:
  fm cache redis instance [command]

Aliases:
  instance, instances

Available Commands:
  create      Create a Redis instance
  credentials Get Redis connection credentials
  delete      Delete a Redis instance
  get         Get Redis instance details
  list        List Redis instances
  resize      Resize a Redis instance
  restart     Restart a Redis instance
  tags        Read and replace a Redis instance's resource tags

Flags:
  -h, --help   help for instance

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache redis instance [command] --help" for more information about a command.
fm cache redis instance create ​
text
Create a new managed Redis instance.

Examples:
  fm cache redis instance create --name my-cache --version 7.4 --flavor cache.mo1.small --vpc vpc-123 --subnet subnet-456
  fm cache redis instance create --name my-cache --version 7.4 --flavor cache.mo1.small --vpc vpc-123 --subnet subnet-456 --storage 20 --persistence rdb --eviction noeviction
  fm cache redis instance create --name my-cache --version 7.4 --flavor cache.mo1.small --vpc vpc-123 --subnet subnet-456 --persistence rdb --backup --backup-schedule "0 2 * * *" --backup-retention 35

Usage:
  fm cache redis instance create [flags]

Flags:
      --backup                   enable automated backups
      --backup-retention int     backup retention in days (35-90; 0 uses the server default of 35)
      --backup-schedule string   backup schedule (cron expression)
      --eviction string          eviction policy (noeviction, allkeys-lru, allkeys-lfu, volatile-lru, etc.)
      --flavor string            flavor ID (required, e.g. cache.mo1.small — see 'flavors list')
  -h, --help                     help for create
      --name string              instance name (required)
      --no-wait                  return immediately instead of waiting for provisioning to complete
      --persistence string       persistence mode (none, rdb, aof, rdb+aof)
      --storage int              storage size in GB (optional; server default 10)
      --subnet string            subnet ID (required)
      --tag strings              resource tag in key=value format (repeatable). The tenant's default tags are merged in; a key you set wins
      --version string           Redis version (required)
      --vpc string               VPC ID (required)

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache redis instance credentials ​
text
Get the connection credentials for a Redis instance.

--rotate changes the admin password inside the running instance. It starts the rotation,
waits for the platform to confirm it (up to --wait-timeout), and then prints the
new credentials. Your current credentials stay valid until the rotation
completes, and stay valid if it fails. Instances created before in-place
rotation was available cannot rotate and are refused.

Examples:
  fm redis instance credentials db-123
  fm redis instance credentials db-123 --rotate
  fm redis instance credentials db-123 --rotate --no-wait

Usage:
  fm cache redis instance credentials <instance-id> [flags]

Flags:
  -h, --help                    help for credentials
      --no-wait                 with --rotate: start the rotation and print its operation id instead of waiting
      --rotate                  rotate the admin password inside the instance, then print the new credentials
      --wait-timeout duration   with --rotate: how long to wait for the rotation to complete (default 5m0s)

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache redis instance delete ​
text
Delete a managed Redis instance.

Usage:
  fm cache redis instance delete <instance-id> [flags]

Flags:
  -h, --help   help for delete

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache redis instance get ​
text
Get detailed information about a specific Redis instance.

Usage:
  fm cache redis instance get <instance-id> [flags]

Flags:
  -h, --help   help for get

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache redis instance list ​
text
List all Redis instances.

--tag key=value (repeatable) lists only the instances carrying EVERY given resource
tag with exactly that value; key= matches a tag whose value is empty.

Usage:
  fm cache redis instance list [flags]

Flags:
  -h, --help          help for list
      --tag strings   only instances with this tag, key=value (repeatable; every one must match; key= matches an empty value)

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache redis instance resize ​
text
Resize a Redis instance to a new flavor or storage size.

A flavor change resizes the backing VM and RESTARTS the instance (brief downtime);
a storage grow is online. Storage can only be increased. Specify --flavor or --storage, not both.

Examples:
  fm redis instance resize <instance-id> --flavor <flavor-id>
  fm redis instance resize <instance-id> --storage 200

Usage:
  fm cache redis instance resize <instance-id> [flags]

Flags:
      --flavor string   new flavor ID (see 'flavor list')
  -h, --help            help for resize
      --storage int     new storage size in GB

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache redis instance restart ​
text
Restart a Redis instance.

Usage:
  fm cache redis instance restart <instance-id> [flags]

Flags:
  -h, --help   help for restart

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache redis instance tags ​
text
Read and replace a Redis instance's resource tags

Usage:
  fm cache redis instance tags [command]

Aliases:
  tags, tag

Available Commands:
  get         Show a Redis instance's resource tags
  set         Replace a Redis instance's resource tags

Flags:
  -h, --help   help for tags

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache redis instance tags [command] --help" for more information about a command.
fm cache redis instance tags get ​
text
Show a Redis instance's resource tags

Usage:
  fm cache redis instance tags get <instance-id> [flags]

Flags:
  -h, --help   help for get

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache redis instance tags set ​
text
Replace a Redis instance's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata for search and filtering: nothing else about the Redis instance changes, and the
running service is not touched.

The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm cache redis instance tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.

A tag change restarts nothing, and is accepted while the instance is busy (resizing, backing up). Its backups and replicas keep their own tags.

Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.

Examples:
  fm cache redis instance tags set inst-123 --tag env=prod --tag owner=team-a
  fm cache redis instance tags set inst-123 --clear

Usage:
  fm cache redis instance tags set <instance-id> --tag <key=value> [--tag <key=value> ...] [flags]

Flags:
      --clear         remove ALL tags (mutually exclusive with --tag)
  -h, --help          help for set
      --tag strings   tag in key=value format (repeatable; replace semantics)

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

fm cache redis version ​

text
List available Redis versions.

Usage:
  fm cache redis version [command]

Aliases:
  version, versions

Available Commands:
  list        List available Redis versions

Flags:
  -h, --help   help for version

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache redis version [command] --help" for more information about a command.
fm cache redis version list ​
text
List all available Redis versions.

Usage:
  fm cache redis version list [flags]

Flags:
  -h, --help   help for list

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

fm cache valkey ​

text
Manage Valkey caches instances and more.

Usage:
  fm cache valkey [command]

Available Commands:
  backup      Manage Valkey backups
  config      Manage Valkey configuration
  flavor      Manage Valkey flavors
  instance    Manage Valkey instances
  version     Manage Valkey versions

Flags:
  -h, --help   help for valkey

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache valkey [command] --help" for more information about a command.

fm cache valkey backup ​

text
Manage backups for Valkey database instances.

Usage:
  fm cache valkey backup [command]

Aliases:
  backup, backups

Available Commands:
  create      Create a Valkey backup
  delete      Delete a Valkey backup
  list        List Valkey backups
  tags        Read and replace a Valkey backup's resource tags

Flags:
  -h, --help   help for backup

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache valkey backup [command] --help" for more information about a command.
fm cache valkey backup create ​
text
Create a new backup for a Valkey instance.

Examples:
  fm valkey backup create <instance-id> --name my-backup
  fm valkey backup create <instance-id> --name my-backup --type rdb_snapshot

Usage:
  fm cache valkey backup create <instance-id> [flags]

Flags:
  -h, --help          help for create
      --name string   backup name (required)
      --tag strings   the backup's own resource tag, key=value (repeatable). The tenant's default tags are merged in; the instance's tags are not copied
      --type string   backup type (rdb_snapshot)

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache valkey backup delete ​
text
Delete a backup for a Valkey instance.

Usage:
  fm cache valkey backup delete <instance-id> <backup-id> [flags]

Flags:
  -h, --help   help for delete

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache valkey backup list ​
text
List all backups for a Valkey instance.

--tag key=value (repeatable) lists only the backups carrying EVERY given resource
tag with exactly that value; key= matches a tag whose value is empty.

Usage:
  fm cache valkey backup list <instance-id> [flags]

Flags:
  -h, --help          help for list
      --tag strings   only backups with this tag, key=value (repeatable; every one must match; key= matches an empty value)

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache valkey backup tags ​
text
Read and replace a Valkey backup's resource tags

Usage:
  fm cache valkey backup tags [command]

Aliases:
  tags, tag

Available Commands:
  get         Show a Valkey backup's resource tags
  set         Replace a Valkey backup's resource tags

Flags:
  -h, --help   help for tags

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache valkey backup tags [command] --help" for more information about a command.
fm cache valkey backup tags get ​
text
Show a Valkey backup's resource tags

Usage:
  fm cache valkey backup tags get <instance-id> <backup-id> [flags]

Flags:
  -h, --help   help for get

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache valkey backup tags set ​
text
Replace a Valkey backup's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata for search and filtering: nothing else about the Valkey backup changes, and the
running service is not touched.

The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm cache valkey backup tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.

The backup's own tags: the instance's are neither copied nor changed.

Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.

Examples:
  fm cache valkey backup tags set inst-123 bak-456 --tag env=prod --tag owner=team-a
  fm cache valkey backup tags set inst-123 bak-456 --clear

Usage:
  fm cache valkey backup tags set <instance-id> <backup-id> --tag <key=value> [--tag <key=value> ...] [flags]

Flags:
      --clear         remove ALL tags (mutually exclusive with --tag)
  -h, --help          help for set
      --tag strings   tag in key=value format (repeatable; replace semantics)

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

fm cache valkey config ​

text
Get and set Valkey instance configuration parameters.

Usage:
  fm cache valkey config [command]

Available Commands:
  get         Get Valkey configuration
  set         Set Valkey configuration value

Flags:
  -h, --help   help for config

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache valkey config [command] --help" for more information about a command.
fm cache valkey config get ​
text
Get the current configuration parameters for a Valkey instance.

Usage:
  fm cache valkey config get <instance-id> [flags]

Flags:
  -h, --help   help for get

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache valkey config set ​
text
Set a configuration parameter for a Valkey instance.

Examples:
  fm valkey config set instance-123 maxmemory-policy allkeys-lru
  fm valkey config set instance-123 save "3600 1 300 100"

Usage:
  fm cache valkey config set <instance-id> <key> <value> [flags]

Flags:
  -h, --help   help for set

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

fm cache valkey flavor ​

text
List available Valkey instance sizes.

Usage:
  fm cache valkey flavor [command]

Aliases:
  flavor, flavors

Available Commands:
  list        List Valkey flavors

Flags:
  -h, --help   help for flavor

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache valkey flavor [command] --help" for more information about a command.
fm cache valkey flavor list ​
text
List all available Valkey instance sizes.

Usage:
  fm cache valkey flavor list [flags]

Flags:
  -h, --help   help for list

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

fm cache valkey instance ​

text
Manage Valkey cache instances.

Usage:
  fm cache valkey instance [command]

Aliases:
  instance, instances

Available Commands:
  create      Create a Valkey instance
  credentials Get Valkey connection credentials
  delete      Delete a Valkey instance
  get         Get Valkey instance details
  list        List Valkey instances
  resize      Resize a Valkey instance
  restart     Restart a Valkey instance
  tags        Read and replace a Valkey instance's resource tags

Flags:
  -h, --help   help for instance

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache valkey instance [command] --help" for more information about a command.
fm cache valkey instance create ​
text
Create a new managed Valkey instance.

Examples:
  fm cache valkey instance create --name my-cache --version 7.4 --flavor cache.mo1.small --vpc vpc-123 --subnet subnet-456
  fm cache valkey instance create --name my-cache --version 7.4 --flavor cache.mo1.small --vpc vpc-123 --subnet subnet-456 --storage 20 --persistence rdb --eviction noeviction
  fm cache valkey instance create --name my-cache --version 7.4 --flavor cache.mo1.small --vpc vpc-123 --subnet subnet-456 --persistence rdb --backup --backup-schedule "0 2 * * *" --backup-retention 35

Usage:
  fm cache valkey instance create [flags]

Flags:
      --backup                   enable automated backups
      --backup-retention int     backup retention in days (35-90; 0 uses the server default of 35)
      --backup-schedule string   backup schedule (cron expression)
      --eviction string          eviction policy (noeviction, allkeys-lru, allkeys-lfu, volatile-lru, etc.)
      --flavor string            flavor ID (required, e.g. cache.mo1.small — see 'flavors list')
  -h, --help                     help for create
      --name string              instance name (required)
      --no-wait                  return immediately instead of waiting for provisioning to complete
      --persistence string       persistence mode (none, rdb, aof, rdb+aof)
      --storage int              storage size in GB (optional; server default 10)
      --subnet string            subnet ID (required)
      --tag strings              resource tag in key=value format (repeatable). The tenant's default tags are merged in; a key you set wins
      --version string           Valkey version (required)
      --vpc string               VPC ID (required)

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache valkey instance credentials ​
text
Get the connection credentials for a Valkey instance.

--rotate changes the admin password inside the running instance. It starts the rotation,
waits for the platform to confirm it (up to --wait-timeout), and then prints the
new credentials. Your current credentials stay valid until the rotation
completes, and stay valid if it fails. Instances created before in-place
rotation was available cannot rotate and are refused.

Examples:
  fm valkey instance credentials db-123
  fm valkey instance credentials db-123 --rotate
  fm valkey instance credentials db-123 --rotate --no-wait

Usage:
  fm cache valkey instance credentials <instance-id> [flags]

Flags:
  -h, --help                    help for credentials
      --no-wait                 with --rotate: start the rotation and print its operation id instead of waiting
      --rotate                  rotate the admin password inside the instance, then print the new credentials
      --wait-timeout duration   with --rotate: how long to wait for the rotation to complete (default 5m0s)

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache valkey instance delete ​
text
Delete a managed Valkey instance.

Usage:
  fm cache valkey instance delete <instance-id> [flags]

Flags:
  -h, --help   help for delete

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache valkey instance get ​
text
Get detailed information about a specific Valkey instance.

Usage:
  fm cache valkey instance get <instance-id> [flags]

Flags:
  -h, --help   help for get

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache valkey instance list ​
text
List all Valkey instances.

--tag key=value (repeatable) lists only the instances carrying EVERY given resource
tag with exactly that value; key= matches a tag whose value is empty.

Usage:
  fm cache valkey instance list [flags]

Flags:
  -h, --help          help for list
      --tag strings   only instances with this tag, key=value (repeatable; every one must match; key= matches an empty value)

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache valkey instance resize ​
text
Resize a Valkey instance to a new flavor or storage size.

A flavor change resizes the backing VM and RESTARTS the instance (brief downtime);
a storage grow is online. Storage can only be increased. Specify --flavor or --storage, not both.

Examples:
  fm valkey instance resize <instance-id> --flavor <flavor-id>
  fm valkey instance resize <instance-id> --storage 200

Usage:
  fm cache valkey instance resize <instance-id> [flags]

Flags:
      --flavor string   new flavor ID (see 'flavor list')
  -h, --help            help for resize
      --storage int     new storage size in GB

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache valkey instance restart ​
text
Restart a Valkey instance.

Usage:
  fm cache valkey instance restart <instance-id> [flags]

Flags:
  -h, --help   help for restart

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache valkey instance tags ​
text
Read and replace a Valkey instance's resource tags

Usage:
  fm cache valkey instance tags [command]

Aliases:
  tags, tag

Available Commands:
  get         Show a Valkey instance's resource tags
  set         Replace a Valkey instance's resource tags

Flags:
  -h, --help   help for tags

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache valkey instance tags [command] --help" for more information about a command.
fm cache valkey instance tags get ​
text
Show a Valkey instance's resource tags

Usage:
  fm cache valkey instance tags get <instance-id> [flags]

Flags:
  -h, --help   help for get

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
fm cache valkey instance tags set ​
text
Replace a Valkey instance's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata for search and filtering: nothing else about the Valkey instance changes, and the
running service is not touched.

The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm cache valkey instance tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.

A tag change restarts nothing, and is accepted while the instance is busy (resizing, backing up). Its backups and replicas keep their own tags.

Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.

Examples:
  fm cache valkey instance tags set inst-123 --tag env=prod --tag owner=team-a
  fm cache valkey instance tags set inst-123 --clear

Usage:
  fm cache valkey instance tags set <instance-id> --tag <key=value> [--tag <key=value> ...] [flags]

Flags:
      --clear         remove ALL tags (mutually exclusive with --tag)
  -h, --help          help for set
      --tag strings   tag in key=value format (repeatable; replace semantics)

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

fm cache valkey version ​

text
List available Valkey versions.

Usage:
  fm cache valkey version [command]

Aliases:
  version, versions

Available Commands:
  list        List available Valkey versions

Flags:
  -h, --help   help for version

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache valkey version [command] --help" for more information about a command.
fm cache valkey version list ​
text
List all available Valkey versions.

Usage:
  fm cache valkey version list [flags]

Flags:
  -h, --help   help for list

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

fm cache version ​

text
List available Cache versions.

Usage:
  fm cache version [command]

Aliases:
  version, versions

Available Commands:
  list        List available Cache versions

Flags:
  -h, --help   help for version

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)

Use "fm cache version [command] --help" for more information about a command.

fm cache version list ​

text
List all available Cache versions.

Usage:
  fm cache version list [flags]

Flags:
  -h, --help   help for list

Global Flags:
      --config string   config file (default is $HOME/.fm/config.yaml)
  -d, --debug           enable debug/verbose output
      --no-color        disable colored output
  -o, --output string   output format: table, json, yaml, wide (default "table")
  -q, --quiet           suppress non-essential output
      --tenant string   tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)