BasicAuthInput type configures HTTP Basic authentication for downloading media files. When provided, Fireflies will include an Authorization: Basic <base64(username:password)> header when downloading your media file.
Fields
The username for basic authentication. This field is optional - if not provided, only the password will be used.When provided, the value will be trimmed of leading/trailing whitespace.
The password for basic authentication. This field is required when using basic auth.The password must be a non-empty string and will be trimmed of leading/trailing whitespace.
Usage
HTTP Basic authentication is commonly used with:- Web servers with
.htaccessprotection - Internal company file servers
- Legacy systems requiring username/password authentication
- Simple authentication schemes for private media hosting
Examples
With Username and Password
Password Only
When the server only requires a password (username is optional):How It Works
When you provide basic authentication credentials:- Fireflies combines the username and password as
username:password - The combined string is base64-encoded
- The encoded value is sent as
Authorization: Basic <base64-encoded-credentials> - The media file is downloaded using this authentication header
- Username:
user - Password:
pass
Authorization: Basic dXNlcjpwYXNz
Security Considerations
- HTTPS Required: The media URL must use HTTPS to ensure credentials are transmitted securely
- Credential Storage: Credentials are used only for downloading the file and are not stored permanently
- Access Control: Use credentials with minimal required permissions (read-only access to the specific file)
- Credential Rotation: For production use, consider rotating credentials regularly
Related Types
- DownloadAuthInput - Parent authentication configuration
- BearerTokenAuthInput - Alternative authentication method
- DownloadAuthType - Authentication type enum