Teams and projects
How Aperture organizes users, jobs and secrets, and who is allowed to do what.
The hierarchy
Team ─┬─ Members (owner, admin, member)
├─ Outbound webhooks
├─ Billing plan and usage
└─ Projects ─┬─ Jobs ── Executions
├─ Secrets
├─ Project keys
└─ Inbound triggers (per job)- A team is the unit of membership and billing. Every user can belong to several teams.
- A project groups jobs that share secrets and CI keys. Job names are unique within a project.
- A job is deployed code plus its manifest. See Jobs.
Roles
Each team member has one role. The user who creates a team becomes its owner;
invitations grant admin or member.
| Action | owner | admin | member |
|---|---|---|---|
| View team, members, projects, jobs, executions, stats, billing | ✓ | ✓ | ✓ |
| Deploy, run, schedule and cancel jobs | ✓ | ✓ | ✓ |
| Manage secrets | ✓ | ✓ | ✓ |
| Manage inbound triggers | ✓ | ✓ | ✓ |
| Manage outbound webhooks | ✓ | ✓ | ✓ |
| List project keys | ✓ | ✓ | ✓ |
| Create, rotate, update, delete project keys | ✓ | ✓ | |
| Create, update, delete projects | ✓ | ✓ | |
| Update or delete the team | ✓ | ✓ | |
| Invite and remove members | ✓ | ✓ | |
| Change the billing plan | ✓ | ✓ |
The team owner can't be removed from the team.
Invitations
Owners and admins invite people by email with a role of admin or member.
Aperture emails the invitation. The invited person accepts it while signed in
with an account whose email matches the invitation (case-insensitive). Pending
invitations can be revoked.
Secrets
Secrets are key/value pairs stored per project and encrypted at rest. A job only
receives the secrets it declares in its manifest's secrets list; they
arrive as environment variables. Secret names can't start with the reserved
APERTURE_ prefix. See Writing jobs.
Anyone in the team can read secret values from the dashboard or the API.