Completed kms
This commit is contained in:
@@ -29,19 +29,33 @@ model KmsAlias {
|
||||
accountId String
|
||||
region String
|
||||
kmsKeyId String
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
kmsKey KmsKey @relation(fields: [kmsKeyId], references: [id])
|
||||
|
||||
@@id([accountId, region, name])
|
||||
}
|
||||
|
||||
model KmsKey {
|
||||
id String @id
|
||||
usage String
|
||||
description String
|
||||
keySpec String
|
||||
key String
|
||||
accountId String
|
||||
region String
|
||||
createdAt DateTime @default(now())
|
||||
id String @id
|
||||
enabled Boolean
|
||||
usage String
|
||||
description String
|
||||
keySpec String
|
||||
keyState String
|
||||
origin String
|
||||
multiRegion Boolean
|
||||
policy String
|
||||
key Bytes
|
||||
rotationPeriod Int?
|
||||
nextRotation DateTime?
|
||||
accountId String
|
||||
region String
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
aliases KmsAlias[]
|
||||
}
|
||||
|
||||
model Secret {
|
||||
|
||||
Reference in New Issue
Block a user