package
0.12.0
Repository: https://github.com/inklabs/rangedb.git
Documentation: pkg.go.dev

# README

DynamoDB KeyStore

Testing

Environment Variables

DYDB_AWS_REGION=us-east-1
DYDB_TABLE_NAME=test_encryption_keys
AWS_ACCESS_KEY_ID=<insert key>
AWS_SECRET_ACCESS_KEY=<insert secret>

Create Table

aws dynamodb create-table \
  --table-name test_encryption_keys \
  --attribute-definitions AttributeName=SubjectID,AttributeType=S \
  --key-schema AttributeName=SubjectID,KeyType=HASH \
  --provisioned-throughput ReadCapacityUnits=5,WriteCapacityUnits=5 \

List Tables

aws dynamodb list-tables

Scan Items

aws dynamodb scan --table-name test_encryption_keys

# Functions

No description provided by the author
NewConfigFromEnvironment loads a DynamoDB config from environment variables.

# Structs

No description provided by the author