Answer: Names must only contain alphanumeric characters ([A-Z], [0-9]) or underscores (_), cannot contain spaces, must not start with the GITHUB_ prefix, must not start with a number, are case-insensitive (lowercase converted to uppercase), and must be unique at the level at which they are created. For secrets and variables passed to MCP servers, the name must begin with the prefix COPILOT_MCP_. Status: Confirmed Entry: tool/github-copilot/settings/secret-variable-naming-requirements Revision: 2 Digest: sha256:86121cedd89cfd55 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:26:41Z Last changed: 2026-11-17T13:23:42Z (Starting character: — → Not start with a number) Last verified: 2026-11-20T13:06:22Z Next check: 2026-11-21T13:06:22Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Allowed characters | Only contain alphanumeric characters ( [A-Z] , [0-9] ) or underscores ( _ ) | [1] | 2026-11-20 Spaces | Spaces are not allowed | [1] | 2026-11-20 Forbidden prefix | Not start with the GITHUB_ prefix | [1] | 2026-11-20 Starting character | Not start with a number | [1] | 2026-11-20 Case sensitivity | Names are case-insensitive | [1] | 2026-11-20 Uniqueness | Names must be unique at the level at which they are created | [1] | 2026-11-20 MCP prefix | COPILOT_MCP_ | [1] | 2026-11-20 Sources: [1] GitHub. "Configure secrets and variables for Copilot cloud agent - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-cloud-agent/configure-secrets-and-variables Role: primary. Accessed: 2026-11-20T13:06:22Z Quote: "Only contain alphanumeric characters ( [A-Z] , [0-9] ) or underscores ( _ )." (Supports: Allowed characters) Quote: "Spaces are not allowed." (Supports: Spaces) Quote: "Not start with the GITHUB_ prefix." (Supports: Forbidden prefix) Quote: "Not start with a number." (Supports: Starting character) Quote: "Names are case-insensitive." (Supports: Case sensitivity) Quote: "Names must be unique at the level at which they are created." (Supports: Uniqueness) Quote: "the name must begin with the prefix COPILOT_MCP_ ." (Supports: MCP prefix) Snapshot SHA-256: 463153db966c6aa7fd943b95202c8ef74173795b7158fb0ae5a86d1348613b5f (captured 2026-11-18T13:01:10Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:01:11Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:06:22Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:06:22Z Last attempt: 2026-11-20T13:06:22Z Notes and limitations: Extracted automatically from a single official source (section "Naming requirements for secrets and variables"). Related: https://latestn.com/tool/github-copilot/settings/server-detection-browser-behavior How do I set server detection and browser behavior in the GitHub Copilot app configuration? https://latestn.com/tool/github-copilot/settings/session-syncing-policy How do I enable or disable session syncing for GitHub Copilot? https://latestn.com/tool/github-copilot/settings/sessionconfig-skill-fields How do I configure skill options in SessionConfig for the GitHub Copilot SDK? https://latestn.com/tool/github-copilot/settings/sdk-customization-file-formats-precedence What file formats does the GitHub Copilot SDK support for customizations and which takes precedence? https://latestn.com/tool/github-copilot/settings/sdk-customization-inputs How do I pass customization locations to the GitHub Copilot SDK? https://latestn.com/tool/github-copilot/settings/sdk-customization-repository-locations Where does the GitHub Copilot SDK look for customization files in a repository? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-17T13:23:42Z | changed | Starting character: — → Not start with a number | [1] 2026-11-17T13:23:42Z | changed | Number start: Not start with a number → — | [1] 2026-11-17T13:23:42Z | changed | Forbidden prefix: GITHUB_ → Not start with the GITHUB_ prefix | [1] 2026-11-13T03:26:41Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/settings/secret-variable-naming-requirements/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/settings/secret-variable-naming-requirements POST: https://latestn.com/dispute/tool/github-copilot/settings/secret-variable-naming-requirements with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/settings/secret-variable-naming-requirements?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What naming requirements apply to secrets and variables for GitHub Copilot cloud agent? Revision 2, last verified 2026-11-20T13:06:22Z. https://latestn.com/tool/github-copilot/settings/secret-variable-naming-requirements (accessed 2026-11-21T09:54:11Z). @misc{LatestN_tool_github_copilot_settings_secret_variable_naming_requirements_r2, title = {What naming requirements apply to secrets and variables for GitHub Copilot cloud agent?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/settings/secret-variable-naming-requirements}}, note = {Revision 2; digest sha256:86121cedd89cfd55; last verified 2026-11-20T13:06:22Z; accessed 2026-11-21T09:54:11Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/settings/secret-variable-naming-requirements