class

Meridian::Commands::Secret

Inherits Meridian::Commands::Base < Reference < Object

Constructors

new(config : Config::DeployConfig, ssh_executor : SSH::Executor = SSH::Executor.new, output : IO = STDOUT, error : IO = STDERR)
Source

Class methods

generate_value(length : Int32 = 32, format : GeneratedSecretFormat = GeneratedSecretFormat::Hex) : String
Source

Instance methods

existing_hosts_for(name : String, role : String = "web") : Array(String)
Source
gen(name : String, role : String = "web", length : Int32 = 32, format : GeneratedSecretFormat = GeneratedSecretFormat::Hex, force : Bool = false) : Nil
Source
ls(role : String = "web") : Nil
Source
rm(name : String, role : String = "web") : Nil
Source
set(name : String, value : String, role : String = "web") : Nil
Source

Nested types