Storage Providers are specified using the standard
<connectionStrings/> .NET configuration section.
Hence you can easily
encrypt sensitive information along with your other ADO.NET settings.
Windows Azure
<configuration><connectionStrings><addname="Azure"provider="System.StorageModel.AzureProvider, Cloud4Net.Azure"connectionString="AccountName=XX;AccountKey=YY"/></connectionStrings></configuration>
Setting | Requirement | Value |
---|
AccountName | Required, string | The name of your Azure storage account, e.g. myaccount if your blob endpoint is http://myaccount.blob.core.windows.net/ |
AccountKey | Required, base-64 | The Primary or Secondary Access Key as shown by the Azure portal |
DefaultEndpointsProtocol | Optional, http or https | HTTP communication protocol to use |
AWS
<configuration><connectionStrings><addname="AWS"provider="System.StorageModel.AWSProvider, Cloud4Net.AWS"connectionString="AccountName=XX;AccountKey=YY"/></connectionStrings></configuration>
Setting | Requirement | Value |
---|
AWSAccessKeyId | Required, string | The name of your AWS S3 account, e.g. myaccount if your blob endpoint is http://myaccount.s3.amazonaws.com/ |
SecretAccessKey | Required, base-64 | The Secret Access Key as shown by the AWS portal |
ServiceURL | Optional, uri or host name | An alternative S3 host if you want to route S3 requests |
ProxyURL | Optional, uri | Uri of an HTTP proxy for S3 requests |
UserAgent | Optional, user-agent | An alternative user-agent sent for each S3 request |
MaxErrorRetry | Optional, int | maximum number or retries in case of network error |
Region | String, eu or us | default AWS region for creating S3 Buckets (e.g. Blob Containers) |