No commit activity in last 3 years
No release in over 3 years
This gem provides a DynamoDB store for use in certmeister, the conditional autosigning certificate authority.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
~> 0
~> 3.1

Runtime

 Project Readme

certmeister-dynamodb

certmeister-dynamodb is an AWS DynamoDB store for Certmeister, the conditionally autosigning Certificate Authority.

I haven't decided whether it's a good idea to allow for automatic provisioning from within the store. By default, provisioning is not performed, and connecting to a non-existent DynamoDB table will produce an error. For automated provisioning, provide the optional third argument (called provision) to the store constructor:

store = Certmeister::DynamoDB::Store.new(
  "CertmeisterCertificates",
  {region: 'us-east-1'},
  {read_capacity_units: 10, write_capacity_units: 5}
)

Testing

The tests expect to be run against a DynamoDB Local instance on port 8000 on the local host. The instance can be started as follows:

java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -inMemory -sharedDb

The Travis CI tests use this same approach.