Skip to content

fm organization ​

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

fm organization ​

text
List the organizations you belong to and manage settings that apply across
every tenant of an organization.

The organization is the one that owns the active tenant (fm tenant current);
pass --organization <id> to name another one you belong to. fm organization list
shows the IDs.

Usage:
  fm organization [command]

Aliases:
  organization, org, organizations

Available Commands:
  list            List the organizations you belong to
  mfa-requirement Require a second factor of every member of the organization
  tag-colors      Manage the colours tags are shown in

Flags:
  -h, --help[=true|false]     help for organization
      --organization string   organization ID (default: the organization that owns the active tenant)

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 organization [command] --help" for more information about a command.

fm organization list ​

text
List the organizations you belong to.

Run it signed in (fm auth login). An API key sees at most the one organization it
is bound to, and a key without the older organizations:read scope is refused.

Usage:
  fm organization 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
      --organization string     organization ID (default: the organization that owns the active tenant)
  -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 organization mfa-requirement ​

text
Show or change whether the organization requires a second factor of its
members.

While it is on, every member must hold a second factor (an authenticator app). A member who
has only a password is sent to set one up at their next portal sign-in, and
cannot approve a CLI sign-in (fm auth login) until they have one. Sessions
and tokens that already exist are not re-checked, and API keys and workload
identities never sign in, so the requirement does not reach them.

Reading it needs membership of the organization. Changing it needs an admin or
owner role and an interactive session (fm auth login): an API key or workload
identity cannot change it. Turning it on also needs a second factor on your own
account; set one up in the portal first.

Usage:
  fm organization mfa-requirement [command]

Aliases:
  mfa-requirement, require-mfa

Available Commands:
  get         Show whether the organization requires a second factor
  set         Turn the organization's second-factor requirement on or off

Flags:
  -h, --help[=true|false]   help for mfa-requirement

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
      --organization string     organization ID (default: the organization that owns the active tenant)
  -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 organization mfa-requirement [command] --help" for more information about a command.

fm organization mfa-requirement get ​

text
Show whether the organization requires a second factor of its members.

Under -o json or -o yaml it prints {"organizationId": ..., "required": ...}.

Usage:
  fm organization mfa-requirement get [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
      --organization string     organization ID (default: the organization that owns the active tenant)
  -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 organization mfa-requirement set ​

text
Turn the organization's second-factor requirement on (--required=true) or off
(--required=false). --required must be given either way, so the setting is
never changed by omission.

While it is on, every member must hold a second factor (an authenticator app). A member who
has only a password is sent to set one up at their next portal sign-in, and
cannot approve a CLI sign-in (fm auth login) until they have one. Sessions
and tokens that already exist are not re-checked, and API keys and workload
identities never sign in, so the requirement does not reach them.

Turning it on asks for confirmation; pass --yes to skip the prompt (required
when not on a terminal). It needs a second factor on your own account: set one
up in the portal first. Turning it off has no such condition.

Examples:
  fm organization mfa-requirement set --required=true
  fm organization mfa-requirement set --required=true --yes
  fm organization mfa-requirement set --required=false --organization 0c4f...

Usage:
  fm organization mfa-requirement set [flags]

Flags:
  -h, --help[=true|false]       help for set
      --required[=true|false]   true to require a second factor of every member, false to stop requiring it
      --yes[=true|false]        skip the confirmation when turning the requirement on (non-interactive use)

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
      --organization string     organization ID (default: the organization that owns the active tenant)
  -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 organization tag-colors ​

text
Manage the organization's tag colour rules.

A rule gives a tag a background colour wherever it is shown — the portal, and
fm's own tag views on a colour terminal — in every tenant of the organization,
so env=prod looks the same everywhere. A rule matches either one value of a key
(--value) or every value of it (--any-value); for a tag key=value the rule for
exactly that value wins over the key's any-value rule. The tag text is always
shown, so colour is never the only signal.

Rules are display only: nothing on the platform reads them to decide anything.
Reading them needs membership of the organization; changing them needs an admin
or owner role. An API key needs the organizations:read / organizations:write
scope.

Usage:
  fm organization tag-colors [command]

Aliases:
  tag-colors, tag-colours, tag-color, tag-colour

Available Commands:
  delete      Delete a tag colour rule
  get         Show one tag colour rule
  list        List the organization's tag colour rules
  set         Give a tag a colour (create or update its rule)

Flags:
  -h, --help[=true|false]   help for tag-colors

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
      --organization string     organization ID (default: the organization that owns the active tenant)
  -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 organization tag-colors [command] --help" for more information about a command.

fm organization tag-colors delete ​

text
Delete a tag colour rule, named by its ID or by the tag it colours.

By tag, exactly one of --value and --any-value is required, as on 'set': the
any-value rule of a key and the rule for one of its values are different rules.

Examples:
  fm organization tag-colors delete 7d1c...
  fm organization tag-colors delete --key env --value prod
  fm organization tag-colors delete --key env --any-value

Usage:
  fm organization tag-colors delete [rule-id] [flags]

Flags:
      --any-value[=true|false]   colour every value of the key
  -h, --help[=true|false]        help for delete
      --key string               the tag key the rule colours (case-sensitive)
      --value string             the one tag value the rule colours (may be empty)

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
      --organization string     organization ID (default: the organization that owns the active tenant)
  -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 organization tag-colors get ​

text
Show one tag colour rule

Usage:
  fm organization tag-colors get <rule-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
      --organization string     organization ID (default: the organization that owns the active tenant)
  -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 organization tag-colors list ​

text
List the organization's tag colour rules, ordered by key (the any-value rule
first, then by value).

Without --organization the rules are those of the organization that owns the
active tenant, read in one request through the tenant.

On a colour terminal each rule's tag is shown in its colour. Under -o json or
-o yaml the rules are printed as a bare array of rule objects (the API's
"rules" list, not its envelope); a rule matching every value of its key has
"value": null.

Usage:
  fm organization tag-colors 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
      --organization string     organization ID (default: the organization that owns the active tenant)
  -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 organization tag-colors set ​

text
Give a tag a colour: create the rule for --key and --value (or --any-value),
or, when the organization already has a rule for exactly that, change its
colour. Running it again with the same arguments changes nothing.

Exactly one of --value and --any-value is required, so a rule never matches
more than you meant: --value names one value (it may be empty: --value ""),
--any-value matches every value of the key. A rule for one value wins over the
key's any-value rule.

--color is a hex colour, #RRGGBB. Quote it ('#1f6feb'): an unquoted # starts a
shell comment. The # may also be left out (1f6feb). The text colour is chosen
for contrast, black or white.

Keys starting with frostmoln_ or frostmoln- (lower case) are the platform's
and cannot be coloured. A key is at most 255 characters and a value at most
256; an organization has at most 200 rules.

Examples:
  fm organization tag-colors set --key env --value prod --color '#d73a49'
  fm organization tag-colors set --key env --any-value --color 6e7781
  fm organization tag-colors set --key team --value payments --color '#1f6feb' --organization 0c4f...

Usage:
  fm organization tag-colors set [flags]

Flags:
      --any-value[=true|false]   colour every value of the key
      --color string             background colour, #RRGGBB (quote it) or RRGGBB
  -h, --help[=true|false]        help for set
      --key string               the tag key the rule colours (case-sensitive)
      --value string             the one tag value the rule colours (may be empty)

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
      --organization string     organization ID (default: the organization that owns the active tenant)
  -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)