keystore-0.3.0.1: Managing stores of secret things

Safe HaskellNone

Data.KeyStore.Sections

Documentation

data SECTIONS h s k Source

Constructors

SECTIONS 

class (Bounded a, Enum a, Eq a, Ord a, Show a) => Code a whereSource

class (Code h, Code s, Code k) => Sections h s k | s -> h, k -> h, h -> s, k -> s, s -> k, h -> k whereSource

Methods

hostSectionSource

Arguments

:: h 
-> s

the deployment section

hostRSectionSource

Arguments

:: h 
-> s

section where host-indexed keys reside for given host

sectionType :: s -> SectionTypeSource

superSections :: s -> [s]Source

keyIsHostIndexed :: k -> Maybe (h -> Bool)Source

keyIsInSection :: k -> s -> BoolSource

getKeyData :: Maybe h -> s -> k -> IO KeyDataSource

sectionSettings :: Maybe s -> IO SettingsSource

describeKey :: k -> StringSource

describeSection :: s -> StringSource

sectionPWEnvVar :: s -> EnvVarSource

type KeyPredicate h s k = Maybe h -> s -> k -> BoolSource

rotate :: Sections h s k => IC -> KeyPredicate h s k -> IO ()Source

retrieve :: Sections h s k => IC -> h -> k -> IO (Either RetrieveDg [Key])Source

keyPrededicate :: Sections h s k => Maybe h -> Maybe s -> Maybe k -> KeyPredicate h s kSource

keyHelp :: Sections h s k => Maybe k -> TextSource

keyName :: Sections h s k => h -> k -> NameSource