SSH key pair or Personal Access Token specific to an organization?

Hello,

At the moment, I can create a GitHub SSH key pair or a Personal Access Token (PAT) which works for all organizations and personal repositories.

Is there a way to create a SSH key pair or a PAT which gives me access to only one Organization?

Thanks,
Vikas

The SSH Key and PAT are credentials for authenticating as a user so have permissions of the user. In the case of PAT you can select scope of permissions, but not limit resources such as which repo or organisation can be accessed.

The is also a deploy key concept , which is an SSH key that grants access to a single repository only.