Documentation

Unity Gaming Services CLI


GitHub Repository

Unity Gaming Services CLI


Update

Manage permissions for a cloud content delivery bucket.
Read time 1 minuteLast updated 21 hours ago

Manage permissions for a cloud content delivery bucket.

Command

ugs ccd buckets permissions update <bucket-name> [options]
Example: In order to make a bucket "promote-only" (cannot create/update/delete entries) you can call
ugs ccd buckets permissions update myBucketName -a Write -m Deny -r User
.
User refers to the developer clients (dashboard, CLI, Editor). Client refers to the player (runtime) clients.

Arguments

  • <bucket-name>
    : The name of the bucket to manage permissions for.

Options

Option

Alias

Description

environment-name-e, --environment-nameThe Unity environment name.
project-id-p, --project-idThe Unity cloud project id.
action-a, --actionDetermines the action (ListEntries, ListReleases, Write) for which the bucket permission will be updated.
role-r, --roleSets the role (Client, User) affected by the permission change. User role can be changed for additional management permission (Write) and Client role can be changed to allow access to additional Client API endpoints (ListEntries, ListRelease).
permissions-m, --permissionSpecifies whether to (Allow, Deny) the defined action.
help-?, -h, --helpDisplay help and usage information.
quiet-q, --quietReduce logging to a minimum.
json-j, --jsonUse JSON as the output format.