1

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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.