--- title: "List All Buckets on the Server" slug: "list-all-buckets-on-the-server-boto3-tg" tags: ["5.4"] updated: 2026-10-28T01:54:23Z published: 2026-10-28T01:54:23Z canonical: "docs.vastdata.com/list-all-buckets-on-the-server-boto3-tg" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # List All Buckets on the Server The [list_buckets()](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#S3.Client.list_buckets) method returns a list of all buckets owned by the authenticated sender of the request. ## Example ```plaintext response = s3_client.list_buckets() ```