DEV Community

Panayotis Matsinopoulos
Panayotis Matsinopoulos

Posted on

Why is the "DisplayName" missing when getting the bucket ACL using s3api?

I am trying to get the display name of the owner of a bucket using the following command:

$ aws --profile <profile> s3api get-bucket-acl --bucket <bucket-name&gt

The response I get back is:

{
    "Owner": {
        "ID": "b<long-id>e"
    },
    "Grants": [
        {
            "Grantee": {
                "ID": "b<long-id>e",
                "Type": "CanonicalUser"
            },
            "Permission": "FULL_CONTROL"

Top comments (0)