Agent: Add SSH keypair credential type
This commit is contained in:
parent
b1b0840aed
commit
a97b8706ec
|
@ -0,0 +1,9 @@
|
|||
from dataclasses import dataclass, field
|
||||
|
||||
from infection_monkey.i_puppet import CredentialType, ICredentialComponent
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class SSHKeypair(ICredentialComponent):
|
||||
credential_type: CredentialType = field(default=CredentialType.SSH_KEYPAIR, init=False)
|
||||
content: dict
|
|
@ -6,3 +6,4 @@ class CredentialType(Enum):
|
|||
PASSWORD = 2
|
||||
NT_HASH = 3
|
||||
LM_HASH = 4
|
||||
SSH_KEYPAIR = 5
|
||||
|
|
Loading…
Reference in New Issue