Added IAM User signing certificate support
This commit is contained in:
parent
6e17ba51c6
commit
94b5438d76
5 changed files with 225 additions and 3 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue