CreateAccessKeyRequest
namestring
Name of the access key
user_idstringrequired
ID of the user for whom the access key is being created
user_roleOrgMembership (string)
Role assigned to the user in the organization
Possible values: [Admin, Member]
buckets_roles object[]
Array [
bucket_namestringrequired
Name of the bucket
rolestringrequired
The role defines the permissions for the associated bucket:
-
ReadOnly: Read-only access to the bucket. -
Editor: Read and write access to the bucket. -
Admin: Full access to all the buckets in the org, including management of permissions. Since this access key manages all the buckets, the value ofbucket_namefield should always be*.Example:
{ "bucket_name": "*", "role": "Admin" }
Possible values: [ReadOnly, Editor, Admin]
]
CreateAccessKeyRequest
{
"name": "string",
"user_id": "string",
"user_role": "Admin",
"buckets_roles": [
{
"bucket_name": "string",
"role": "ReadOnly"
}
]
}