Media Ingest and CDN Object Storage underwent end-of-life on 11/12/2018. Content may no longer be streamed via Media Ingest and content uploaded by your encoder to CDN Object Storage is no longer available. This article is still available in order to provide assistance while you migrate to a new streaming workflow.
Authentication, which is only required when uploading and deleting content from CDN Object Storage, may be performed by submitting credentials (i.e., an access and secret key pair) with each request to upload or delete content.
Unauthenticated requests to upload or delete content will return a 401 Unauthorized response.
An access and secret key pair authenticates requests to manage content within any bucket.
A media player may retrieve content without authenticating to the CDN Object Storage service.
Content management on CDN Object Storage requires authentication via an access and secret key pair.
Key information:
A maximum of two access and secret key pairs may be defined.
Use the backup key to facilitate a smooth transition from an old set of keys to a new one.
Verify that either the primary or backup key is currently unassigned.
Delete a key pair if both key pairs are currently active.
Verify that both key pairs are active.
Add a key pair if only one key pair has been defined.
This section is only applicable when manually uploading or deleting content from CDN Object Storage. When configured properly, an encoder's upload and delete requests are automatically authenticated.
Requests to upload or delete content to CDN Object Storage must be authenticated. Information on how to authenticate HTTPS requests to CDN Object Storage is provided below.
Requests to playback content do not require authentication. However, security may be applied to content stored on CDN Object Storage.
Authenticate a POST, PUT, or DELETE request by performing the following steps:
Apply Base64-encoding to the following value:
Include an Authorization header with the request. Set it to the following value:
The response varies according to whether the request was successfully carried out.
Response Code | Description |
---|---|
204 No Content |
Indicates that the specified asset was uploaded or deleted. |
401 Unauthorized |
Indicates that the request was unauthorized and the asset was not uploaded or deleted. Troubleshooting:
|
403 Forbidden |
Indicates that the request was unauthorized and the asset was not uploaded or deleted. Troubleshooting:
|
Media Ingest