Closed wjdavis5 closed 3 years ago
Perhaps I'm misunderstanding, but it appears that the only way to provide Aws Credentials for this trigger is to do so at compile time because they are attribute parameters. Would it be possible to instead use the IOptions instance?
I figured this out:
[SqsQueueTrigger(AWSAccessKey = "%test%",AWSKeyId = "%test%", QueueUrl = "%test%")]
And then set the value for "test" in your appsettings.
Perhaps I'm misunderstanding, but it appears that the only way to provide Aws Credentials for this trigger is to do so at compile time because they are attribute parameters. Would it be possible to instead use the IOptions instance?