fm account
Reference for the fm account command group (auto-generated from fm account --help).
fm account
text
Manage your account profile, API keys, and sessions.
Examples:
fm account profile
fm account api-key list
fm account session list
Usage:
fm account [command]
Available Commands:
api-key Manage API keys
delete Delete your account
profile Show your profile
session Manage sessions
Flags:
-h, --help[=true|false] help for account
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm account [command] --help" for more information about a command.fm account api-key
text
Manage API keys for programmatic access to the platform.
Usage:
fm account api-key [command]
Aliases:
api-key, api-keys
Available Commands:
create Create an API key
delete Delete an API key
get Get API key details
list List API keys
revoke Revoke an API key
scopes List the operation-catalog scope vocabulary used by access-policy authoring
tags Read and replace a API key's resource tags
Flags:
-h, --help[=true|false] help for api-key
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm account api-key [command] --help" for more information about a command.fm account api-key create
text
Create a new API key for programmatic access.
The full API key is only shown once at creation time. Store it securely.
A key's grant is an access policy attached to it (directly or through a group)
with "fm iam policy attach". Flat scopes are RETIRED: the API refuses every
non-empty scopes set on create with 400 API_KEY_SCOPES_RETIRED, and this
command refuses --scopes client-side with the same migration message. A key can
never be granted more than your own permissions hold.
A created key is therefore INERT until a policy is attached: with no grant at
all the key answers nothing rather than minting a credential that grants
nothing. Copy the key ID and attach the policy immediately after creating.
--tag (repeatable) sets the key's resource tags. The tenant's default tags are
merged in, a key you set winning — at create only; afterwards
"fm account api-key tags set" replaces the whole set. Tags are labels only: they
never change what the key may access.
Examples:
# Create the key, then attach a policy to it (the only way to grant it).
fm account api-key create --name "CI/CD Key" --tag env=prod --tag owner=team-a
fm iam policy attach <policy-id> --type api_key --id <key-id>
Usage:
fm account api-key create [flags]
Flags:
--description string key description
--expires string expiry as YYYY-MM-DD (end of that day, local time — the Terraform provider uses UTC, so the same date can differ by up to a day) or an RFC3339 timestamp; default ~1y, max 2y
-h, --help[=true|false] help for create
--name string key name (required)
--rate-limit int rate limit (requests per minute)
--scopes strings RETIRED: any value is refused (400 API_KEY_SCOPES_RETIRED) — grant the key with an access policy instead
--tag strings resource tag in key=value format (repeatable). The tenant's default tags are merged in; a key you set wins
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm account api-key delete
text
Permanently delete an API key.
Usage:
fm account api-key delete <api-key-id> [flags]
Flags:
-h, --help[=true|false] help for delete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm account api-key get
text
Get detailed information about a specific API key.
Usage:
fm account api-key get <api-key-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm account api-key list
text
List all API keys for your account.
--tag narrows the list to keys carrying every given key=value tag.
Usage:
fm account api-key list [flags]
Examples:
fm account api-key list
fm account api-key list --tag env=prod
Flags:
-h, --help[=true|false] help for list
--tag strings only API keys with this tag, key=value (repeatable; every one must match; key= matches an empty value)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm account api-key revoke
text
Revoke an API key, preventing further use.
Usage:
fm account api-key revoke <api-key-id> [flags]
Flags:
-h, --help[=true|false] help for revoke
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm account api-key scopes
text
List the operation-catalog scope vocabulary used by access-policy authoring.
The catalog is served by the platform, so there is no client-side list to fall
out of date. A scope is <service>:<action>, e.g. compute:read.
Grant :read and :write — for almost every service they are the actions actually
enforced, and :write covers every mutation including start/stop/restart. The
catalog also carries other verbs, and identity additionally ACCEPTS the finer
service:resource:action form (compute:instances:read), but no service enforces
those as key scopes: a key holding only them is created and then denied on every
request. Use an access policy (fm iam) when you need finer granularity.
The interactive-session scopes are the exception and ARE enforced: a key needs
sessions:forward for "fm forward" and "fm database <type> console",
sessions:pty for "fm shell", and sessions:write for
"fm kubernetes cluster proxy". Nothing else substitutes — compute:action does
not open a shell and kubernetes:* does not open the cluster-API proxy.
The global "*" is never listed: creation rejects it. Your own permissions still
apply — a key can never be granted more than you hold.
Examples:
fm account api-key scopes
fm account api-key scopes -o json
Usage:
fm account api-key scopes [flags]
Flags:
-h, --help[=true|false] help for scopes
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm account api-key tags
text
Read and replace a API key's resource tags
Usage:
fm account api-key tags [command]
Aliases:
tags, tag
Available Commands:
get Show a API key's resource tags
set Replace a API key's resource tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm account api-key tags [command] --help" for more information about a command.fm account api-key tags get
text
Show a API key's resource tags
Usage:
fm account api-key tags get <api-key-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm account api-key tags set
text
Replace a API key'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 API key changes, and
what the key may access 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 account api-key tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.
Its name, scopes, expiry and rate limit are left alone: a tag never widens or narrows
a key. A revoked key's tags can still be 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 account api-key tags set key-123 --tag env=prod --tag owner=team-a
fm account api-key tags set key-123 --clear
Usage:
fm account api-key tags set <api-key-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm account delete
text
Delete your account. This action can be reversed within 30 days by contacting support.
Usage:
fm account delete [flags]
Flags:
-h, --help[=true|false] help for delete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm account profile
text
Show your current user profile information.
Usage:
fm account profile [flags]
Flags:
-h, --help[=true|false] help for profile
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm account session
text
See where you are signed in, and sign out everywhere.
These cover your browser and fm sign-ins. API keys are separate: manage them with
"fm account api-key".
Usage:
fm account session [command]
Aliases:
session, sessions
Available Commands:
list List active sessions
revoke-all Sign out everywhere
Flags:
-h, --help[=true|false] help for session
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm account session [command] --help" for more information about a command.fm account session list
text
List the sign-ins on your account that can still refresh.
LAST RENEWED moves when a session refreshes, so it can lag behind real use. API keys
are not listed.
Usage:
fm account session list [flags]
Flags:
-h, --help[=true|false] help for list
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm account session revoke-all
text
Sign out of every browser and fm session on your account, this one included.
Takes effect within 5 minutes. Signing in again afterwards works as usual. API keys
keep working: revoke them with "fm account api-key revoke". Connections already open,
such as a running "fm shell", are not cut. Needs an interactive sign-in, not an API key.
Usage:
fm account session revoke-all [flags]
Flags:
-h, --help[=true|false] help for revoke-all
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)