Using BOSH Teams
BOSH Teams map to UAA scopes that restrict the set of deployments that a user can manage. A user's or client's membership in a BOSH team is determined by the scopes assigned to their UAA client. When a user creates a deployment, that deployment will be manageable by any user belonging to the same team. There is currently no way to assign or reassign a deployment's teams.
Note
This feature is available with bosh-release v255.4+.
Add a client to a BOSH Team¶
Scopes can be added to existing clients in order to associate the clients with BOSH Teams. You must be logged into UAA as a privileged user to grant and revoke scopes. All BOSH Team scopes follow the format:
bosh.teams.<TEAM-NAME>.<SCOPE>
To add a BOSH Team scope to an existing client:
uaac client update <CLIENT-ID> --authorities bosh.teams.<TEAM-NAME>.admin
Currently, Team Admin is the only team-level scope.
Team Admin¶
Scopes:
bosh.teams.<TEAM_NAME>.admin
: user has admin access for deployments managed by the team
Can modify team managed deployments' associated resources:
bosh deploy
: create or update deploymentbosh delete deployment
: delete deploymentbosh start/stop/recreate
: manage VMsbosh cck
: diagnose deployment problemsbosh ssh
: SSH into a VMbosh logs
: fetch logs from a VMbosh run errand
: run an errand
Can view shared resources:
bosh deployments
: list of team managed deployments and releases/stemcells usedbosh releases
: list of all releases and their versionsbosh stemcells
: list of all stemcells and their versionsbosh vms
: list of team managed deployments' VMs which includes job names, IPs, vitals, details, etc.bosh tasks
: list of team managed deployments' tasks and their full details
Team admins cannot upload releases and stemcells. These are director-wide scopes.