Skip to main content

Create a new Access Key

POST 

/v1/providers/:provider_id/orgs/:org_id/key

Creates a new access key for a user. The access key ID and secret will be returned in the response.

Request

Path Parameters

    provider_id stringrequired

    Provider ID

    org_id stringrequired

    Organization ID

Body

required

    name string

    Name of the access key

    user_id stringrequired

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

    user_role OrgMembership (string)

    Possible values: [Admin, Member]

    Role assigned to the user in the organization

    buckets_roles

    object[]

  • Array [

  • bucket_name stringrequired

    Name of the bucket

    role stringrequired

    Possible values: [ReadOnly, Editor, Admin]

    The role assigned to the access key defines the permissions (read, write, admin) for the associated bucket.

  • ]

Responses

OK

Schema

    id stringrequired

    Access key ID

    secret_key stringrequired

    Access secret

    name string

    Name of the access key

Loading...