# KeyType

- Module: [CommunityToolkit.Aspire.Hosting.Sftp](/reference/api/go/communitytoolkit.aspire.hosting.sftp.md)
- Version: `13.6.1`
- Kind: `enum`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)

Specifies the types of cryptographic keys supported for digital signatures.

## Definition

```go
type KeyType string

const (
    KeyTypeEd25519 KeyType = "Ed25519"
    KeyTypeRsa     KeyType = "Rsa"
)
```

## Values

- `KeyTypeEd25519` = `"Ed25519"` -- Specifies the Ed25519 public-key signature algorithm.
- `KeyTypeRsa` = `"Rsa"` -- Specifies the RSA public-key signature algorithm.
