How to assign Credential to the team instead of individual users?

I have got an environment where i need to assign a common credential to the team and its members. According to the following documentation, the The User or Team which owns the credential can also view, change or delete the credential but the only options i could see in the permissions section is to assign the credentials to individual users. Now, this won’t be easy in an environment where there are 100s of users from different teams and organizations and the permission needs to be granted to the users within a specific team.

Is there a way to get this done?

Thanks.
Ankit

(attachments)

You can assign a team level role on a credential but it must belong to the same org as the team first. You can assign an organization to the credential via the add/edit credential form in the UI. Once a credential belongs to an org you can add team level roles through the permissions tab on the credential.

Thank you for the clarification. This worked. Could you also help in understanding if there is a way for the users who are already a member of the organization and admin of the team under the organization to add Organization for the credentials they generate? I tried to test this but these users do not get any organization listed for them when they try to select the organization field value while creating their credentials.

(attachments)