marmotdata/azureblob
Discover containers from Azure Blob Storage accounts
The Azure Blob Storage plugin discovers containers from Azure Storage accounts. It captures container metadata including access levels, lease status, and custom metadata.
Connection Examples
Required Permissions
The following Azure RBAC role is recommended:
- Storage Blob Data Reader - Read access to containers and blobs
Or use a custom role with these permissions:
Microsoft.Storage/storageAccounts/blobServices/containers/readMicrosoft.Storage/storageAccounts/blobServices/containers/blobs/read
Keyless authentication
On Marmot Cloud or Marmot Enterprise the pipeline can present its own identity instead of an account key. Add a federated identity credential to an app registration or user-assigned managed identity with your Marmot instance as issuer, the pipeline's subject, pipeline:<name> as reported by the pipeline API, and audience api://AzureADTokenExchange; grant that identity Storage Blob Data Reader on the account; set account_name, tenant_id and client_id. No key exists anywhere; Marmot mints a short-lived token for each run.
In the UI
Point and click, no config file needed.
- Open Runs and choose Create pipeline.
- Pick Azure Blob Storage from the plugin list.
- Fill in the settings, set a schedule and save.
With the CLI
Save a YAML config, then run marmot ingest.
Not using plugins? Other ways to populate Marmot
Configuration
Fields marked Required must be set.
tagsList of textTags to apply to discovered assets
external_linksList of groupsExternal links to show on all assets
nameTextDisplay name for the link
iconTextIcon identifier for the link
urlTextURL to the external resource
filterGroup of settingsFilter discovered assets by name (regex)
includeList of textInclude patterns for resource names (regex)
excludeList of textExclude patterns for resource names (regex)
zoneTextTells this system apart from others of the same technology and becomes part of every asset's MRN
audienceTextAudience of the Marmot identity token. Derived from the credentials' federation settings; set it only when the cloud side expects another
connection_stringSecretAzure Storage connection string
account_nameTextAzure Storage account name
account_keySecretAzure Storage account key
tenant_idTextEntra tenant of the identity the Marmot identity token is exchanged for. Set with client_id and account_name to federate: no key is needed; grant the identity Storage Blob Data Reader on the account
client_idTextApplication (client) ID of the app registration or user-assigned managed identity whose federated credential trusts the Marmot issuer
endpointTextCustom endpoint URL (for Azurite or other emulators)
include_metadataYes or noInclude container metadata
include_blob_countYes or noCount blobs in each container (can be slow for large containers)
Assets emitted
Metadata this plugin attaches to each discovered asset.
Container
AzureBlobContainerFields defines metadata fields for Azure Blob containers