Add basic KMS key endpoints.
This commit is contained in:
parent
0ec6f87268
commit
70aafc1fd3
9 changed files with 205 additions and 0 deletions
12
moto/kms/__init__.py
Normal file
12
moto/kms/__init__.py
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue