Skip to main content

Azure Blob

note

This is an example of Azure Blob.

Step 1: Select Azure Blob

Select Azure Blob as the storage type. azureSelect.png

Step 2: Fill in the necessary information in Casdoor

There are four required fields: Client ID, Client secret, Endpoint, and Bucket. The corresponding relationship to the Azure Blob account is as follows:

Field NameAzure NameRequired
Client IDAccountNameRequired
Client secretAccountKeyRequired
EndpointContainerUrlRequired
Endpoint (intranet)PrivateEndpoint
BucketContainerNameRequired
Path prefix
DomainDomainName
  • AccountName

The AccountName is your AccountName.

  • AccountKey

The AccountKey is your key to access the Azure API.

note

You can obtain your account key from the Azure Portal under the "Access Keys" section on the left-hand pane of your storage account.

azureKey.png

  • ContainerUrl

You can obtain the ContainerUrl from your container properties.

azureUrl.png

  • (Optional) PrivateEndpoint

Azure Private Endpoint is a feature that allows connecting Azure services to Azure Virtual Network (VNet) private subnets. You can refer to the official Azure documentation for configuration: private endpoint config

  • ContainerName

In this example, a default container called 'default' is created.

azureContainer.png

  • (Optional) DomainName

The custom domain name in your Azure CDN.

azureCDN.png

Step 3: Save your configuration

The final result is as follows:

azureResult.png

Now you can use Azure Blob Storage services in your application.