Skip to content

Commit

Permalink
fix CA profile choices (#15465)
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo authored Jan 23, 2025
1 parent a4be165 commit 1b4edb4
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,19 @@ class CertExtensionsModel(BaseModel):


@final
class CAProfilesModel(BaseModel):
class CAExtensions(BaseModel):
key_length: int = 2048
key_type: str = "RSA"
lifetime: int = DEFAULT_LIFETIME_DAYS
digest_algorithm: str = "SHA256"
cert_extensions: CertExtensionsModel = CertExtensionsModel()


@final
class CAProfilesModel(BaseModel):
CA: CAExtensions = CAExtensions()


class CAProfilesArgs(BaseModel):
pass

Expand Down

0 comments on commit 1b4edb4

Please sign in to comment.