compose_group
Compose a shared group into an application environment, so that environment resolves the group's secrets as well as its own. Safe to repeat — composing an already-composed group just updates its position. Use uncompose_group to undo, and list_env_groups to see the current order. No key material involved, so it runs here. Returns the composed { groupId, slug, name, position }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | Application slug or id, as returned by list_apps (e.g. "storefront"). | |
| env | Yes | Environment slug or id within that application, as returned by list_envs (e.g. "production"). | |
| org | No | Organization slug or id. Omit it when the credential can reach exactly one org — that org is used automatically. With several, the error names every slug you may pass; list them yourself with list_orgs. | |
| group | Yes | Shared-group slug or id, as returned by list_groups (e.g. "shared-datastores"). | |
| position | No | Precedence among the environment's composed groups: on a name clash the HIGHER position wins, and the environment's own secrets beat every group. Omit to append at the end. Read the current order from list_env_groups first. |