Added nearly all ACM method implementations

Added cryptography>=2.0.0 to install deps
Created base backend and certificate objects
Implemented most of the methods
Added pregenerated certs
This commit is contained in:
Terry Cain 2017-09-22 00:20:26 +01:00
commit 283b67cb9b
No known key found for this signature in database
GPG key ID: 14D90844E4E9B9F3
15 changed files with 639 additions and 12 deletions

7
moto/acm/utils.py Normal file
View file

@ -0,0 +1,7 @@
import uuid
def make_arn_for_certificate(account_id, region_name):
# Example
# arn:aws:acm:eu-west-2:764371465172:certificate/c4b738b8-56fe-4b3a-b841-1c047654780b
return "arn:aws:acm:{0}:{1}:certificate/{2}".format(region_name, account_id, uuid.uuid4())