Skip to content

Rename API_TOKEN to something more specific #2869

@StevenMaude

Description

@StevenMaude

Why are we doing this?

I noticed that we use API_TOKEN as an environment variable name when reviewing #2862.

API_TOKEN is used in scripts and quite generic:

  • it's not easy to identify what this is for and where it originates
  • it can be overloaded by a user's environment variables where maybe they similarly have something configured with the same name.

How will we know when it's done?

There's a better name for the environment variable.

What are we doing?

  • Changing the name of the environment variable.
  • If this needs updating in a deployment anywhere, adding the new environment variable, deploying the change, and then removing the old environment variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    deck-scrubbingTech debt or other between-initiative tidy-up work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions