Add basic KMS key endpoints.

This commit is contained in:
Steve Pulec 2015-06-30 05:44:39 -04:00
commit 70aafc1fd3
9 changed files with 205 additions and 0 deletions

12
moto/kms/__init__.py Normal file
View file

@ -0,0 +1,12 @@
from __future__ import unicode_literals
from .models import kms_backends
from ..core.models import MockAWS
kms_backend = kms_backends['us-east-1']
def mock_kms(func=None):
if func:
return MockAWS(kms_backends)(func)
else:
return MockAWS(kms_backends)