class Loveline::Secret

Overview

Loveline doesn't actually have any secrets management yet, but we've made this class anyway no our interfaces don't change drastically later.

Defined in:

loveline/secret.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(val : String) #

[View source]

Instance Method Detail

def to_s(*args, **kwargs) #

[View source]
def unwrap! : String #

ONLY call this if you are about to place the result

  • into another secret, or
  • into an 0600 secrets directory, or
  • onto the network as part of CmdExec

[View source]