Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi,
If I read code correctly, accessKey
and secretKey
are passed in via configuration.
Best I could think of is:
AmazonBlobProvider
)NameValueCollection config
parameterconfig
object
Hello,
I've added a blob storage section to my web.config for use with AWS. See the section below.
My question is it possible to create a custom provider to read from my parameter store and populate the accesskey and the secret key at runtime.
I'm aware of the EpiServer.Framework.Blob library (https://world.optimizely.com/csclasslibraries/cms/EPiServer.Framework.Blobs.BlobProviderBuilder?version=11) but I'm unsure if it's possible to implement a solution using the provide classes.
Any help would be greatly appreciated.
<episerver.framework updateDatabaseSchema="true" xdt:Transform="SetAttributes" configBuilders="AwsParameterStoreBuilder">
<appData basePath="App_Data" xdt:Transform="Replace"/>
<!--Enable Local Login-->
<securityEntity xdt:Transform="Remove" />
<!--End Enable Local Login-->
<blob defaultProvider="s3blobs" >
<providers>
<add name="s3blobs"
type="EPiServer.Amazon.Blobs.AmazonBlobProvider,EPiServer.Amazon"
accessKey=""
secretKey=""
region="us-west-2"
bucket="aapc-epi-dev"
xdt:Transform="Replace" xdt:Locator="Match(name)"/>
</providers>
</blob>
Thank you,
Kevin Fox
</episerver.framework>