Jules 999
Jules 999

Reputation: 145

Service Stack .NET 8 API Keys Feature and AWS DynamoDB

Looking into creating a new API Project and using ServiceStack and deploying it via AWS SAM.

We want to use API Keys as part of our authorisation and authentication process.

The new NET 8 API Keys Feature looks like a much better fit for our requirements than the API Key Auth Provider with the one big exception that the Net 8 API Key Feature is constructed with an IDbConnectionFactory and we would really want to use DynamoDb to store that data as that's what we are using for other similar data.

I can see a way to use the API Key Auth Provider with a custom AuthRepository, we've got an existing schema so wouldn't want to use DynamoDbAuthRepository, but it seems a bit heavy for our current requirements.

I am nor sure of the viability of implementing my own version of ServiceStack.IPlugin based on ApiKeysFeature that would use DynamoDb.

Upvotes: 1

Views: 38

Answers (0)

Related Questions