
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
blobby-auth-header
Advanced tools
An HTTP Authorization client for Blobby to enable secure API operations.
# config/local.js
module.exports = {
auth: {
apiKey: {
driver: 'blobby-auth-header',
options: {
apiKey: 'mySecretAPIKey that really belongs in a secure configuration file',
test: /ApiKey\s(.*)/ // my custom Authorization header parser
}
}
},
storage: {
myStorage: {
driver: 'blobby-s3',
auth: 'apiKey',
options: {...} // see https://github.com/asilvas/blobby-s3 for S3 options
}
}
};
Option | Type | Default | Desc |
---|---|---|---|
apiKey | string | (required) | Secret to access secure routes in Blobby REST API |
test | RegExp | /apikey\s(.*)/i | Expression used to parse HTTP Authorization header |
Recommended to store your apiKey
in blobby's Secure Configuration.
Start my server:
blobby server
Upload a file:
curl -XPUT -H "Authorization: ApiKey mySecretAPIKey that really belongs in a secure configuration file" --data-binary "@./some-file.jpg" http://localhost/myStorage/some/file.jpg
FAQs
HTTP Authorization client for Blobby
We found that blobby-auth-header demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.