Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data SSHKey = SSHKey {
- id :: Integer
- fingerprint :: String
- publicKey :: String
- sshkeyName :: String
- listAllKeys :: Authentication -> MonadIO m => m (Maybe [SSHKey])
Documentation
SSHKey | |
|
listAllKeys :: Authentication -> MonadIO m => m (Maybe [SSHKey]) Source
List all Keys
do tkn <- getEnv DIGITAL_OCEAN_PERSONAL_ACCESS_TOKEN maybeKeys <- listAllKeys $ Authentication tkn print $ show $ isJust maybeKeys