Skip to content

.NET and Object Persistence Model #944

Closed
@benallred

Description

@benallred

According to https://docs.aws.amazon.com/database-encryption-sdk/latest/devguide/ddb-net-using.html (emphasis mine)

You can use your table encryption configuration to construct a DynamoDB client that automatically encrypts and signs items client-side with your DynamoDB PutItem requests. You can use this client directly, or you can construct a document model or object persistence model.

I also see in another issue, someone using attributes such as DynamoDbEncryptionSignOnly.

I've pulled in AWS.Cryptography.DbEncryptionSDK.DynamoDb but cannot find the same attributes in .NET. I also don't see them in this repo where I do see the Java versions.

Are these attributes available for .NET? If not, are there any examples of how to do this in .NET? [1]

Thanks!

[1] I see some examples further down the linked page but they are incomplete. A Dictionary<String, DynamoDbTableEncryptionConfig> called tableConfigs is being populated but what then? How is that applied to DynamoDBContext.SaveAsync()/DynamoDBContext.LoadAsync()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions