Action ReferencesCreateBucketTokenAction
Action References

CreateBucketTokenAction

CreateBucketTokenAction

Purpose Create a JWT bucket token to access Mindbricks Bucket Service with scoped permissions.

When to use it

  • After creating resources tied to object storage
  • Before returning URLs/credentials to clients

Key fields

FieldTypeDescription
bucketPermissions[BucketPermission]One or more bucket grants.

Example

{
  "id": "a290-bucket-token",
  "name": "grantProjectBucketWrite",
  "bucketPermissions": [
    {
      "bucketName": "privateProjectBucket",
      "bucketId": "`proj:${this.projectId}-private`",
      "permissionType": "write",
      "isPublic": false
    }
  ],
  "contextPropertyName": "bucketToken",
  "writeToResponse": true
}
Was this page helpful?
Built with Documentation.AI

Last updated Jan 3, 2026