The URL source enables Pic Swift CDN to download your images using a specified URL.
Image demonstrating adding new url source via Pic Swift CDN dashboard
Once created take note of the source alias that is needed in the formation of your CDN url
Create URL Source Credential
URL sources also allow specifying credentials in the form of header name and header value that will be added to the download request to authenticate our requests
Image demonstrating adding new source credential for url via Pic Swift CDN dashboard
You could add for example do basic authentication where you have username: user and password: pass
Field
Value
Header Name
Header Key is Authorization
Header Value
Header Value is Basic dXNlcjpwYXNz
Where dXNlcjpwYXNz is user and pass combined with “:” and encoded in base64 e.g
Base64Encode("user:pass")
Once created take note of the source alias that is needed in the formation of your CDN url