Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aws
GitHub Repository: aws/aws-cli
Path: blob/develop/awscli/examples/deploy/list-git-hub-account-token-names.rst
1567 views
**To lists the names of stored connections to GitHub accounts**

The following ``list-git-hub-account-token-names`` example lists the names of the stored connections to GitHub accounts for the current AWS user. ::

    aws deploy list-git-hub-account-token-names

Output::

    {
        "tokenNameList": [
            "my-first-token",
            "my-second-token",
            "my-third-token"
        ]
    }

For more information, see `ListGitHubAccountTokenNames <https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_ListGitHubAccountTokenNames.html>`_ in the *AWS CodeDeploy API Reference*.