class

Secrets

Inherits Reference < Object

Constants

AES_BITS = 256
IV_SIZE = 32
KEY_SIZE = 32

Constructors

new(name : String, encryption_key : String, data : String)
Source
new(name : String)
Source

Class methods

[](name : SymString)
Source
[]?(name : SymString)
Source
default_keys_dir
Source
default_keys_dir=(default_keys_dir : Path)
Source
default_stores_dir
Source
default_stores_dir=(default_stores_dir : Path)
Source
register(name : SymString, store_path : PathString | Nil = nil, key_path : PathString | Nil = nil, create : Bool = false)
Source
stores
Source

Instance methods

[](key : SymString)
Source
[]=(key : SymString, value : SymString)
Source
[]?(key : SymString)
Source
data
Source
encode
Source
encryption_key=(encryption_key : String)
Source
key_path
Source
key_path=(key_path : Path | Nil)
Source
name
Source
save
Source
store_path
Source
store_path=(store_path : Path | Nil)
Source

Nested types