🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

oc-azure-storage-adapter

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oc-azure-storage-adapter

Azure storage adapter for OC

latest
Source
npmnpm
Version
1.3.3
Version published
Maintainers
4
Created
Source

Description

⚠️ THIS ADAPTER IS EXPERIMENTAL, USE CAREFULLY

Allows oc registry to store its components within Azure Blob Storage.

Configuration

var azureStorageAdapter = require('oc-azure-storage-adapter');
...
storage: {
  adapter: azureStorageAdapter,
  options: {
    // Container that will store publicly available files.
    // It's ACL should be set to 'blob' ({ "publicAccess": "blob" })
    publicContainerName: 'oc-public',
    // Container that will store private files.
    // It's ACL should be set to 'Private' ({ "publicAccess": "off" })
    privateContainerName: 'oc-private',
    accountName: '<your_azure_account_name>',
    accountKey: '<your_very_secret_azure_account_key>',
    path: '//<your_azure_account_name>.blob.core.windows.net/<publicContainerName>/',
    componentsDir: 'components',
  }
}
...

Keywords

oc

FAQs

Package last updated on 06 Oct 2025

Did you know?

Socket

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.

Install

Related posts