Rotating API keys - for Agent and API users
If your organization uses multiple API keys, you can do either of the following on the Media Agent dashboard:
If you are using Media AgentWatch a video tutorial
Requirements
Step 1. Access the Media Agent dashboardIn AP Newsroom, click the Account icon in the upper-right corner to open the Account menu, then select Media API:
Step 2. Confirm that a replacement API key is availableOn the agent dashboard, click See my API keys:
The Your API Keys dialog box identifies keys that need to be rotated, as well as new keys:
Step 3. Open the Media Agent you want to updateUnder Content Ingest Agents, click the name of the running agent:
Step 4. Update the Media AgentIf Newer Agent Available is displayed on the Manage Ingest Agent page, click the update link. Wait until Agent Version changes and Last Command processed shows Update Success.
Step 5. Open the API key selectorOn the Manage Ingest Agent page, click the Setup icon
Step 6. Choose the replacement keyIn the Change API Key dialog box, select the replacement API key from the list and click Update to save your changes. Wait for the command to finish.
Step 7. Confirm the key was updatedWhen the success message appears, click OK.
Step 8. Perform a final checkConfirm the following:
Repeat steps 3-8 for each agent you have running. If the agent upgrade or the key rotation is unsuccessful, follow the steps to manually upgrade your agent using your new API key. If you are making direct Media API requestsStep 1. Access the Media Agent dashboardIn AP Newsroom, click the Account icon in the upper-right corner to open the Account menu, then select Media API:
Step 2. Retrieve your API keyOn the agent dashboard, click See my API keys:
The Your API Keys dialog box identifies keys that need to be rotated as well as new keys:
Step 3. Update all existing requestsUpdate all existing Media API requests to use the new Media API keys. |
|
|
|
|
||||
|
|
|
|||||
|
|
||||||