ExDoppler.Secret (ExDoppler v1.0.0)

View Source

Module describing a Secret

Fields

  • name - Name of the Secret (e.g "API_KEY")
  • raw - Raw value of the Secret
  • computed - Computed value of the Secret
  • note - A descriptive note to the Secret
  • raw_visibility - Raw visibility. :masked, :unmasked, or :restricted
  • computed_visibility - Computed visibility. :masked, :unmasked, or :restricted

๐Ÿ“– Resources

Summary

Functions

Creates an Secret from a map

Functions

build(arg)

Creates an Secret from a map

๐Ÿท๏ธ Params

  • {name, map}: The secret's name and map of fields to turn into a Secret

โคต๏ธ Returns

โœ… On Success

  %ExDoppler.Secret{...}

โŒ On Failure

  raise Error