Dormeto

Docs

dormeto aws groups

Gives a custom group's members permissions on the workloads with some tags; each command needs an administrator.

1 min read

groups create

Creates a custom group, with its grants.

dormeto aws groups create <name> [--description <text>] [--grant <tags>:<permissions>]... [--dry-run] [--yes]
OptionValuesDefaultEffect
<name>a group's namerequiredThe group.
--descriptionup to 200 characters—What the group is for.
--grant<tags>:<permissions>, such as team=payments,env=dev:read,wake or :read for all, repeatable—read, wake or nap on these tags' workloads, 20 at most.
dormeto aws groups create payments --description "The payments team" --grant team=payments:read,wake

Table

created group payments

JSON

{
  "group": {
    "name": "payments",
    "description": "The payments team",
    "grants": [
      {
        "tags": {
          "team": "payments"
        },
        "permissions": [
          "read",
          "wake"
        ]
      }
    ],
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "updatedBy": "arn:aws:sts::111122223333:assumed-role/ops/ci"
  }
}
  • A name has 1 to 48 lowercase letters, digits and hyphens, not starting with dmt-.

groups delete

Deletes a custom group and its grants.

dormeto aws groups delete <name> [--dry-run] [--yes]
OptionValuesDefaultEffect
<name>a group's namerequiredThe group.
dormeto aws groups delete payments --yes

Table

deleted group payments

JSON

{
  "name": "payments"
}
  • It always asks first, on a terminal.
  • Its members lose what it granted at their next sign-in.

groups list

Lists the custom groups, with their number of grants.

dormeto aws groups list

No option of its own.

dormeto aws groups list

Table

NAME      DESCRIPTION        GRANTS  UPDATED
payments  The payments team  1       10d
web       The web team       1       10d

JSON

{
  "groups": [
    {
      "name": "payments",
      "description": "The payments team",
      "grants": [
        {
          "tags": {
            "team": "payments"
          },
          "permissions": [
            "read",
            "wake"
          ]
        }
      ],
      "updatedAt": "2026-11-03T11:00:00.000Z",
      "updatedBy": "ops@example.com"
    },
    {
      "name": "web",
      "description": "The web team",
      "grants": [
        {
          "tags": {
            "team": "web"
          },
          "permissions": [
            "read",
            "wake",
            "nap"
          ]
        }
      ],
      "updatedAt": "2026-11-03T11:05:00.000Z",
      "updatedBy": "ops@example.com"
    }
  ]
}

groups show

Shows a group: description, last change and every grant.

dormeto aws groups show <name>
OptionValuesDefaultEffect
<name>a group's namerequiredThe group.
dormeto aws groups show payments

Table

name         payments
description  The payments team
updated      2026-11-03 11:00 UTC by ops@example.com
grants       team=payments: read,wake

JSON

{
  "name": "payments",
  "description": "The payments team",
  "grants": [
    {
      "tags": {
        "team": "payments"
      },
      "permissions": [
        "read",
        "wake"
      ]
    }
  ],
  "updatedAt": "2026-11-03T11:00:00.000Z",
  "updatedBy": "ops@example.com"
}
  • Times are in your time zone.

groups update

Changes a group's description, or replaces its grants.

dormeto aws groups update <name> [--description <text>] [--grant <tags>:<permissions>]... [--no-grants] [--dry-run] [--yes]
OptionValuesDefaultEffect
<name>a group's namerequiredThe group.
--descriptionup to 200 characters—What the group is for.
--grant<tags>:<permissions>, such as team=payments,env=dev:read,wake or :read for all, repeatable—read, wake or nap on these tags' workloads, 20 at most.
--no-grants——Removes every grant.
dormeto aws groups update payments --grant team=payments:read,wake,nap

Table

updated group payments

JSON

{
  "group": {
    "name": "payments",
    "description": "The payments team",
    "grants": [
      {
        "tags": {
          "team": "payments"
        },
        "permissions": [
          "read",
          "wake",
          "nap"
        ]
      }
    ],
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "updatedBy": "arn:aws:sts::111122223333:assumed-role/ops/ci"
  }
}
  • It replaces the group's grants.