UpdateAccessKeyRequest | Tigris Object Storage Documentation

UpdateAccessKeyRequest

user_id stringrequired

ID of the user for whom the access key is being updated

id stringrequired

Access key ID

user_role OrgMembership

Role of the user in the organization. Controls what the user can do through the Partner API management endpoints.

If omitted, defaults to Member behavior.

Possible values: [Admin, Member]

buckets_rolesobject[]

Array [

bucket_name stringrequired

Name of the bucket

role stringrequired

The role defines the permissions for the associated bucket:

Example:

{
  "bucket_name": "*",
  "role": "Admin"
}

Possible values: [ReadOnly, Editor, Admin]

]

add_policies string[]

Names of IAM policies to attach to this access key. Policies already attached are ignored. Can be combined with remove_policies in the same request — removals are applied first.

remove_policies string[]

Names of IAM policies to detach from this access key. Policies not currently attached are ignored.

access_key_scope AccessKeyScope

Omitting this field leaves the key's current scope unchanged.

Possible values: [standard, no_default_allow]

{

"user_id": "string",

"id": "string",

"user_role": "Admin",

"buckets_roles": [

{

"bucket_name": "string",

"role": "ReadOnly"

}

],

"add_policies": [

"string"

],

"remove_policies": [

"string"

],

"access_key_scope": "standard"

}