Concepts
This page explains the building blocks of Mayadyn and the words used in the rest of the guide. The console sometimes uses a friendlier word than the API and the CLI; both are listed.
Workspace
Section titled “Workspace”A workspace is your organisation’s space in Mayadyn. It holds its own cloud connections, machines, apps, members, API tokens and audit log, fully isolated from every other workspace. The console calls it Workspace; the API and CLI also call it a tenant.
Each workspace has a name and a Workspace ID (its slug): 3 to 40
lowercase letters, digits or dashes, not starting or ending with a dash. The
ID appears in your app URLs (<app>.<workspace>.apps.mayadyn.com) and in the
workspace single sign-on address.
One person can belong to several workspaces and switch between them. See Workspaces and members.
Project
Section titled “Project”A project groups connections, and the machines, apps and operations made on
them, inside a workspace. Every workspace starts with a project named
default, which cannot be deleted. Most people only ever use default.
Projects matter mainly for API tokens: a token limited to one project sees only that project’s connections, resources, operations and tokens. See Projects.
Connection (cloud account)
Section titled “Connection (cloud account)”A connection is one cloud account that Mayadyn may act in: an Oracle Cloud
compartment or a Google Cloud project, with a default region. The console
calls connections Cloud accounts. You give each one a name such as
oci-jeddah or gcp-dammam. AWS and Microsoft Azure are coming soon.
A connection signs in to your cloud in one of two ways (the console’s Sign-in method):
| Method | Console label | What Mayadyn stores |
|---|---|---|
| Keyless (recommended) | “Keyless” | Configuration only (account and project ids). Your cloud trusts Mayadyn for this one connection; you can revoke that at any time. |
| Key | “Stored key” | An OCI API signing key or a GCP service account key, encrypted and never shown again. |
See Cloud connections, Connect OCI and Connect GCP.
Resource and virtual machine (machine)
Section titled “Resource and virtual machine (machine)”A resource is an entry in Mayadyn’s inventory. Today every resource is a virtual machine (VM); the console calls them Machines. Every VM, on any cloud, has the same shape: name, provider, region, state, size, image, public and private IP, SSH user and labels.
Machines you create through Mayadyn appear in the inventory at once. Machines made outside Mayadyn appear after a sync of their connection. See Virtual machines.
An app is a container that runs on its own VM in one of your cloud accounts,
with an HTTPS URL: https://<app>.<workspace>.apps.mayadyn.com. You deploy it
from a container image or from a git repository with a Dockerfile. See
Apps.
Release
Section titled “Release”Each deploy of an app creates a numbered release (1, 2, 3, …). A release is Live, Failed, Earlier (replaced by a newer one), Waiting or Deploying. If a new release fails, the previous one keeps serving. A rollback deploys an earlier release again.
Operation
Section titled “Operation”Anything that changes your cloud (create, start, stop or delete a VM, sync a
connection, deploy or delete an app) runs in the background as an operation.
The request returns at once with the operation; you follow it until it is
Done (succeeded) or Failed (failed). See
Operations.
API token
Section titled “API token”An API token (myd_…) lets the CLI, scripts and AI agents act in one
workspace, optionally in one project, with a chosen set of scopes. See
API tokens.
Scopes
Section titled “Scopes”Scopes are the permissions a token or a role carries.
| Scope | Console label | Allows |
|---|---|---|
read |
“View” | Viewing everything in the workspace (or project). |
write |
“Create, start, stop” | Creating, starting, stopping VMs; syncing and checking connections; creating and deploying apps; setting app secrets. |
destroy |
“Delete” | Deleting VMs and apps; deleting connections (together with admin). |
admin |
“Manage accounts, tokens and members” | Adding and changing connections, members, projects and tokens. |
Each member of a workspace has one role. A role is a fixed set of scopes.
| Role | Console description | Scopes |
|---|---|---|
| Viewer | “View only” | read |
| Operator | “Create, start and stop; no deleting” | read, write |
| Admin | “Everything except owners” | read, write, destroy, admin |
| Owner | “Everything, including managing owners” | read, write, destroy, admin |
Owners can additionally manage other owners and the workspace’s single sign-on. See the full table in Workspaces and members.
Catalog
Section titled “Catalog”The catalog lists the providers, regions (with their city), sizes and images
Mayadyn knows. Catalog names such as small or ubuntu-24.04 mean the same
thing on every cloud. See
Virtual machines.
Glossary
Section titled “Glossary”| Term | Meaning |
|---|---|
| Audit log | The append-only record of every change and every use of stored credentials in a workspace. |
| Catalog | Mayadyn’s list of regions, sizes and images with unified names. |
| Cloud account | Console name for a connection. |
| Compartment | An OCI container for resources; a keyless OCI connection works in exactly one. |
| Connection | One cloud account Mayadyn may act in. |
| Dry run | A request that is validated but changes nothing (dry_run, --dry-run, the console’s “Review”). |
| Host | The VM an app runs on. It belongs to the app and is managed only through it. |
| Idempotency key | A string you attach to a change so that retrying it never does the work twice. |
| Issuer | Mayadyn’s OpenID issuer, https://id.mayadyn.com, which your cloud trusts for keyless connections. |
| Keyless | A connection that stores no cloud key; your cloud trusts Mayadyn for that connection only. |
| Machine | Console name for a VM. |
| MCP | Model Context Protocol, how AI agents call Mayadyn. |
| Operation | A background job that changes your cloud. |
| Project | A group of connections and their resources inside a workspace. |
| Release | One numbered deploy of an app. |
| Resource | An inventory entry; today, a VM. |
| Scope | A permission: read, write, destroy, admin. |
| Subject | The identity your cloud trusts for one keyless connection: mayadyn:<workspace id>:<connection id>. |
| Sync | Refreshing a connection’s inventory from the cloud. |
| Tenant | API and CLI name for a workspace. |
| Two-step sign-in | A six-digit code from an authenticator app, asked after your password (TOTP). |
| Workspace ID | The workspace’s slug, e.g. acme. |