digitalocean-kzs-0.1.0.3: digitalocean api for haskell

Safe HaskellNone
LanguageHaskell2010

DigitalOcean.SSHKey

Synopsis

Documentation

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