When you use the Video Cloud APIs, your method calls will require access tokens unless you enable basic authentication in the Player Service Settings. For more information on enabling basic authentication, see Managing Account Settings.
Creating client registrations
The API Authentication page is used to create new client registrations. When creating registrations, you can select the service and the roles that will be enabled with the registration.
To create a new client registration for your account:
- Click the ADMIN link in the Studio header.
- Click the API Authentication link. The API Authentication page will open displaying your current client registrations.
- Click Register New Application.
- Enter a Name and Description for the client registration.
- Select one or more of your accounts for authorization.
- Select the API(s) and permission(s) to enable for this registration.
- Click Save.
- A Client ID and Client Secret will be returned.
Managing client registrations
The API Authentication page can be used to view and manage client registrations. Click the ADMIN link in the Studio header and then click API Authentication. A list of your current registrations will display.
To view the registration details, click the on the name. From here, you can:
- Modify the name
- Copy the client ID
- Add accounts for authorization
- Select additional APIs to enable
- Delete the credential
Click Save to save your changes.
Note that if a credential is created for multiple accounts, users will only see that credential if they have access to all of those accounts. For example, User 1 creates a credential for accounts A & B. User 2 logs in and only has access to account A. User 2 will not see the credential as they do not have access to account B.
Updating client registrations
Although you cannot retrieve the client secret for existing credentials, you can click on an existing credential name and then add or remove both permissions and accounts.
Deleting client registrations
To delete a client registration, click the delete icon() next to the registration or edit the registration and click Delete Registration. Deleting a registration permanently disables it and cannot be undone.
Working with DFP
If you currently have multiple Video Cloud accounts set up as content sources in DFP, you have two options:
- You can create a unique Client ID and Client Secret for each Video Cloud account that’s set up as a content source in DFP. For example, if you have 10 Video Cloud accounts, you'd have 10 applications named DFP in your API Authentication settings in Video Cloud.
- You can create a single Client ID and Client Secret for all Video Cloud accounts that have been set up as content sources in DFP. For example, if you have 10 Video Cloud accounts, you'd have 1 application named DFP in your API Authentication settings in Video Cloud.
Regardless of whether you chose option #1 or #2, for each content source that you set up in DFP, you need to provide a unique Account ID. So, you are not reducing the number of content sources that are currently set up in DFP; you're just replacing the read token with the Client ID and Client Secret, which can either be the same across content sources or unique for each.
Option #1 takes more time up front. However, if the Client ID and Client Secret are the same across all content sources (as with option #2), it will be a burden to add a new content source because you will need to generate a new Client ID and Client Secret and update all of content sources in DFP. So, Brightcove recommends option #1.