ExDoppler.ServiceToken (ExDoppler v1.0.0)

View Source

Module describing a Service Token

Fields

  • name - Name of the service token. (e.g "AWS Lambda")
  • slug - Unique slug for this token (e.g "00000000-0000-0000-0000-000000000000")
  • created_at - Date and Time for this token's creation (e.g ~U[2025-04-30 10:05:50.040Z])
  • config - Config associated with the token (e.g "prd_aws")
  • environment - Environment associated with the token (e.g "prd")
  • expires_at - Date and Time this token will expire (e.g ~U[2025-04-30 10:05:50.040Z])

๐Ÿ“– Resources

Summary

Functions

Creates an ServiceToken from a map

Functions

build(token)

Creates an ServiceToken from a map

๐Ÿท๏ธ Params

  • token: Map of fields to turn into a ServiceToken

โคต๏ธ Returns

โœ… On Success

  %ExDoppler.ServiceToken{...}

โŒ On Failure

  raise Error