Added IAM User signing certificate support

This commit is contained in:
Mike Grima 2018-10-24 18:00:52 -07:00
commit 94b5438d76
5 changed files with 225 additions and 3 deletions

View file

@ -12,8 +12,7 @@ def random_alphanumeric(length):
)
def random_resource_id():
size = 20
def random_resource_id(size=20):
chars = list(range(10)) + list(string.ascii_lowercase)
return ''.join(six.text_type(random.choice(chars)) for x in range(size))