class Secrets
- Secrets
- Reference
- Object
Defined in:
secrets.crConstant Summary
-
AES_BITS =
256
-
IV_SIZE =
32
-
KEY_SIZE =
32
Constructors
Class Method Summary
- .[](name : SymString)
- .[]?(name : SymString)
- .default_keys_dir : Path
- .default_keys_dir=(default_keys_dir : Path)
- .default_stores_dir : Path
- .default_stores_dir=(default_stores_dir : Path)
- .register(name : SymString, store_path : PathString | Nil = nil, key_path : PathString | Nil = nil, create : Bool = false)
- .stores : Hash(String, Secrets)
Instance Method Summary
- #[](key : SymString)
- #[]=(key : SymString, value : SymString)
- #[]?(key : SymString)
- #data : Hash(String, String)
- #encode
- #encryption_key=(encryption_key : String)
- #key_path : Path | Nil
- #key_path=(key_path : Path | Nil)
- #name : String
- #save
- #store_path : Path | Nil
- #store_path=(store_path : Path | Nil)
Constructor Detail
Class Method Detail
def self.register(name : SymString, store_path : PathString | Nil = nil, key_path : PathString | Nil = nil, create : Bool = false)
#