Skip to content

Suggest to add token as .env variable instead of explicit declaration #36

@Agathe-Brusset

Description

@Agathe-Brusset

To better enforce security on our SDKs and avoid incidents, please avoid suggesting our users set explicit declaration of the API/SMTP token in the code and instead suggest setting the API key as an environment variable.

  • Remove all mentions of the token added to any endpoint "ms.setToken("Your API token");"
  • Suggest users to add the token as a .env variable. Name the variable MAILERSEND_API_KEY.
  • Make it optional.

See Slack convo

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions