keystore-0.6.3.0: Managing stores of secret things

Safe HaskellNone

Data.KeyStore.CLI

Synopsis

Documentation

cli :: IO ()Source

cli' :: Maybe CtxParams -> [String] -> IO ()Source

runParse :: ParserInfo a -> [String] -> IO aSource

execute :: Maybe CtxParams -> CLI -> IO ()Source

data Command Source

Constructors

Version 
Keystore 
Initialise FilePath 
UpdateSettings FilePath 
ListSettings 
ListSettingOpts (Maybe OptEnum) 
AddTrigger TriggerID Pattern FilePath 
RmvTrigger TriggerID 
ListTriggers 
Create Name Comment Identity (Maybe EnvVar) (Maybe FilePath) [Safeguard] 
CreateKeyPair Name Comment Identity [Safeguard] 
Secure Name (Maybe FilePath) [Safeguard] 
List 
Info [Name] 
ShowIdentity Bool Name 
ShowComment Bool Name 
ShowDate Bool Name 
ShowHash Bool Name 
ShowHashComment Bool Name 
ShowHashSalt Bool Name 
ShowPublic Bool Name 
ShowSecret Bool Name 
Encrypt Name FilePath FilePath 
Decrypt FilePath FilePath 
Sign Name FilePath FilePath 
Verify FilePath FilePath 
Delete [Name] 

Instances

Show Command 

data CtxParams Source

The parameters used to set up a KeyStore session.

Constructors

CtxParams 

Fields

cp_store :: Maybe FilePath

location of any explictlt specified keystore file

cp_debug :: Maybe Bool

whether debug output has been specified enabled or not

cp_readonly :: Maybe Bool

Just True => do not update keystore

Instances

Show CtxParams 

data CLI Source

Constructors

CLI 

Instances

Show CLI