Update list IAM AccessKeys
Add the creation date, including timezone info, to the data returned when requesting all AccessKeys for an IAM user. This fixes #75
This commit is contained in:
parent
df84675ae6
commit
835fe2d742
3 changed files with 8 additions and 5 deletions
|
|
@ -177,7 +177,7 @@ class AccessKey(BaseModel):
|
|||
self.status = 'Active'
|
||||
self.create_date = datetime.strftime(
|
||||
datetime.utcnow(),
|
||||
"%Y-%m-%d-%H-%M-%S"
|
||||
"%Y-%m-%dT%H:%M:%SZ"
|
||||
)
|
||||
|
||||
def get_cfn_attribute(self, attribute_name):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue