--- title: "get-bucket-ownership-controls" slug: "get-bucket-ownership-controls" updated: 2026-10-14T00:07:43Z published: 2026-10-14T09:00:27Z canonical: "cli.ncloud-docs.com/get-bucket-ownership-controls" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # get-bucket-ownership-controls Classic/VPC 환경에서 이용 가능합니다. Ncloud Storage 버킷의 객체 소유권(Object Ownership) 설정을 조회합니다. 참고 Sub Account 사용자가 이 명령어를 실행하려면 View/GetBucketOwnershipControls 액션 권한이 있어야 합니다. 참고 Ncloud Storage는 ACL(Access Control List)을 지원하지 않으므로, 모든 버킷이 항상 `BucketOwnerEnforced`를 반환합니다. ## 구문 `get-bucket-ownership-controls` 구문은 다음과 같습니다. ``` aws s3api get-bucket-ownership-controls \ --bucket \ --endpoint-url ``` ## 옵션 `get-bucket-ownership-controls` 실행 시 지정할 수 있는 옵션을 설명합니다. ### 필수 옵션 `get-bucket-ownership-controls`의 필수 옵션입니다. | 옵션 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `--bucket` | String | Required | 버킷 이름 | ### 공통 옵션 `aws` 명령에서 공통으로 사용하는 옵션에 대한 정보는 [Ncloud Storage 옵션](/docs/storage-ncloudstorage#%EC%98%B5%EC%85%98)을 참조해 주십시오. ## 예시 객체 소유권 설정 조회 요청이 성공하면 버킷의 객체 소유권이 반환됩니다. ### 명령 명령 예시는 다음과 같습니다. ``` aws s3api get-bucket-ownership-controls --bucket my-test-bucket \ --endpoint-url=https://kr.ncloudstorage.com ``` ### 출력 출력 예시는 다음과 같습니다. ``` { "OwnershipControls": { "Rules": [ { "ObjectOwnership": "BucketOwnerEnforced" } ] } } ``` ## 연관 명령어 연관 명령어는 다음과 같습니다. - [put-bucket-ownership-controls](/docs/put-bucket-ownership-controls) - [delete-bucket-ownership-controls](/docs/delete-bucket-ownership-controls)