HEX
Server: Apache
System: Linux pdx1-shared-a2-09 6.6.116-grsec-jammy-dirty #1 SMP Sat Nov 8 00:02:42 UTC 2025 x86_64
User: dh_pvsc7i (5084578)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/ssm/describe-document-permission.rst
**To describe document permissions**

The following ``describe-document-permission`` example displays permission details about a Systems Manager document that is shared publicly. ::

    aws ssm describe-document-permission \
        --name "Example" \
        --permission-type "Share"

Output::

    {
        "AccountIds": [
            "all"
        ],
        "AccountSharingInfoList": [
            {
                "AccountId": "all",
                "SharedDocumentVersion": "$DEFAULT"
            }
        ]
    }    

For more information, see `Share a Systems Manager Document <https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-how-to-share.html>`__ in the *AWS Systems Manager User Guide*.