Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 24427fe

Browse files
author
Sarah Edwards
authored
Add title case variable for personal access tokens (#32336)
1 parent 43a959b commit 24427fe

5 files changed

Lines changed: 23 additions & 22 deletions

File tree

contributing/content-style-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ GitHub has two types of personal access tokens:
455455
456456
You should use variables to refer to these types of tokens, as well as to personal access tokens in general:
457457
458-
- Use `{% data variables.product.pat_generic %}` or `{% data variables.product.pat_generic_caps %}` to refer to personal access tokens in general.
458+
- Use `{% data variables.product.pat_generic %}`or `{% data variables.product.pat_generic_caps %}` to refer to personal access tokens in general. Use `{% data variables.product.pat_generic_title_case %}` if the phrase should be in title case ("Personal Access Token") in order to match UI text.
459459
- Use `{% data variables.product.pat_v2 %}` or `{% data variables.product.pat_v2_caps %}` to refer to fine-grained personal access tokens.
460460
- Use `{% data variables.product.pat_v1 %}`, `{% data variables.product.pat_v1_plural %}`, `{% data variables.product.pat_v1_caps %}`, or `{% data variables.product.pat_v1_caps_plural %}` to refer to personal access tokens (classic).
461461

data/reusables/secret-scanning/partner-secret-list-private-repo.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Alibaba Cloud | Alibaba Cloud Access Key ID with Alibaba Cloud Access Key Secret
1010
Amazon | Amazon OAuth Client ID with Amazon OAuth Client Secret | amazon_oauth_client_id </br>amazon_oauth_client_secret{% endif %}
1111
Amazon Web Services (AWS) | Amazon AWS Access Key ID with Amazon AWS Secret Access Key | aws_access_key_id </br>aws_secret_access_key
1212
Amazon Web Services (AWS) | Amazon AWS Session Token with Amazon AWS Temporary Access Key ID and Amazon AWS Secret Access Key | aws_session_token </br>aws_temporary_access_key_id </br>aws_secret_access_key
13-
Asana | Asana {% data variables.product.pat_generic %} | asana_personal_access_token
13+
Asana | Asana {% data variables.product.pat_generic_title_case %} | asana_personal_access_token
1414
Atlassian | Atlassian API Token | atlassian_api_token
1515
Atlassian | Atlassian JSON Web Token | atlassian_jwt
16-
Atlassian | Bitbucket Server {% data variables.product.pat_generic %} | bitbucket_server_personal_access_token
16+
Atlassian | Bitbucket Server {% data variables.product.pat_generic_title_case %} | bitbucket_server_personal_access_token
1717
{%- ifversion fpt or ghec or ghes > 3.3 or ghae > 3.3 %}
1818
Azure | Azure Active Directory Application Secret | azure_active_directory_application_secret{% endif %}
1919
{%- ifversion fpt or ghec or ghes > 3.8 or ghae > 3.8 %}
@@ -22,7 +22,7 @@ Azure | Azure Batch Key Identifiable | azure_batch_key_identifiable{% endif %}
2222
Azure | Azure Cache for Redis Access Key | azure_cache_for_redis_access_key{% endif %}
2323
{%- ifversion fpt or ghec or ghes > 3.8 or ghae > 3.8 %}
2424
Azure | Azure CosmosDB Key Identifiable | azure_cosmosdb_key_identifiable{% endif %}
25-
Azure | Azure DevOps {% data variables.product.pat_generic %} | azure_devops_personal_access_token
25+
Azure | Azure DevOps {% data variables.product.pat_generic_title_case %} | azure_devops_personal_access_token
2626
{%- ifversion fpt or ghec or ghes > 3.8 or ghae > 3.8 %}
2727
Azure | Azure ML Studio (classic) Web Service Key | azure_ml_studio_classic_web_service_key{% endif %}
2828
Azure | Azure SAS Token | azure_sas_token
@@ -35,14 +35,14 @@ Checkout.com | Checkout.com Production Secret Key | checkout_production_secret_k
3535
Checkout.com | Checkout.com Test Secret Key | checkout_test_secret_key
3636
Clojars | Clojars Deploy Token | clojars_deploy_token
3737
CloudBees CodeShip | CloudBees CodeShip Credential | codeship_credential
38-
Contentful | Contentful {% data variables.product.pat_generic %} | contentful_personal_access_token
38+
Contentful | Contentful {% data variables.product.pat_generic_title_case %} | contentful_personal_access_token
3939
Databricks | Databricks Access Token | databricks_access_token
4040
{%- ifversion fpt or ghec or ghes > 3.8 or ghae > 3.8 %}
4141
DevCycle | DevCycle Client API Key | devcycle_client_api_key
4242
DevCycle | DevCycle Server API Key | devcycle_server_api_key
4343
DevCycle | DevCycle Mobile API Key | devcycle_mobile_api_key{% endif %}
4444
{%- ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4 %}
45-
DigitalOcean | DigitalOcean {% data variables.product.pat_generic %} | digitalocean_personal_access_token
45+
DigitalOcean | DigitalOcean {% data variables.product.pat_generic_title_case %} | digitalocean_personal_access_token
4646
DigitalOcean | DigitalOcean OAuth Token | digitalocean_oauth_token
4747
DigitalOcean | DigitalOcean Refresh Token | digitalocean_refresh_token
4848
DigitalOcean | DigitalOcean System Token | digitalocean_system_token{% endif %}
@@ -67,7 +67,7 @@ Flutterwave | Flutterwave Test API Secret Key | flutterwave_test_api_secret_key
6767
Frame.io | Frame.io JSON Web Token | frameio_jwt
6868
Frame.io| Frame.io Developer Token | frameio_developer_token
6969
FullStory | FullStory API Key | fullstory_api_key
70-
GitHub | GitHub {% data variables.product.pat_generic %} | github_personal_access_token
70+
GitHub | GitHub {% data variables.product.pat_generic_title_case %} | github_personal_access_token
7171
GitHub | GitHub OAuth Access Token | github_oauth_access_token
7272
GitHub | GitHub Refresh Token | github_refresh_token
7373
GitHub | GitHub App Installation Access Token | github_app_installation_access_token
@@ -95,7 +95,7 @@ HashiCorp | HashiCorp Vault Root Service Token | hashicorp_vault_root_service_to
9595
HashiCorp | HashiCorp Vault Service Token | hashicorp_vault_service_token
9696
Hubspot | Hubspot API Key | hubspot_api_key
9797
Intercom | Intercom Access Token | intercom_access_token
98-
Ionic | Ionic {% data variables.product.pat_generic %} | ionic_personal_access_token
98+
Ionic | Ionic {% data variables.product.pat_generic_title_case %} | ionic_personal_access_token
9999
Ionic | Ionic Refresh Token | ionic_refresh_token
100100
{%- ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4 %}
101101
JD Cloud | JD Cloud Access Key | jd_cloud_access_key{% endif %}
@@ -192,15 +192,15 @@ Stripe | Stripe Test API Restricted Key | stripe_test_restricted_key
192192
Stripe | Stripe Webhook Signing Secret | stripe_webhook_signing_secret
193193
{%- ifversion fpt or ghec or ghes > 3.3 or ghae > 3.3 %}
194194
Supabase | Supabase Service Key | supabase_service_key{% endif %}
195-
Tableau | Tableau {% data variables.product.pat_generic %} | tableau_personal_access_token
195+
Tableau | Tableau {% data variables.product.pat_generic_title_case %} | tableau_personal_access_token
196196
Telegram | Telegram Bot Token | telegram_bot_token
197197
Tencent Cloud | Tencent Cloud Secret ID | tencent_cloud_secret_id
198198
{%- ifversion fpt or ghec or ghes > 3.3 or ghae > 3.3 %}
199199
Twilio | Twilio Access Token | twilio_access_token{% endif %}
200200
Twilio | Twilio Account String Identifier | twilio_account_sid
201201
Twilio | Twilio API Key | twilio_api_key
202202
{%- ifversion fpt or ghec or ghes > 3.3 or ghae > 3.3 %}
203-
Typeform | Typeform {% data variables.product.pat_generic %} | typeform_personal_access_token{% endif %}
203+
Typeform | Typeform {% data variables.product.pat_generic_title_case %} | typeform_personal_access_token{% endif %}
204204
{%- ifversion fpt or ghec or ghes > 3.6 or ghae > 3.6 %}
205205
Uniwise | WISEflow API Key | wiseflow_api_key{% endif %}
206206
{%- ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4 %}

data/reusables/secret-scanning/partner-secret-list-public-repo.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Atlassian | Atlassian JSON Web Token
1212
Azure | Azure Active Directory Application Secret
1313
Azure | Azure Batch Key Identifiable
1414
Azure | Azure CosmosDB Key Identifiable
15-
Azure | Azure DevOps {% data variables.product.pat_generic %}
15+
Azure | Azure DevOps {% data variables.product.pat_generic_title_case %}
1616
Azure | Azure ML Studio (classic) Web Service Key
1717
Azure | Azure SAS Token
1818
Azure | Azure Service Management Certificate
@@ -28,7 +28,7 @@ Databricks | Databricks Access Token
2828
Datadog | Datadog API Key
2929
DevCycle | DevCycle Client API Key
3030
DevCycle | DevCycle Server API Key
31-
DigitalOcean | DigitalOcean {% data variables.product.pat_generic %}
31+
DigitalOcean | DigitalOcean {% data variables.product.pat_generic_title_case %}
3232
DigitalOcean | DigitalOcean OAuth Token
3333
DigitalOcean | DigitalOcean Refresh Token
3434
DigitalOcean | DigitalOcean System Token
@@ -46,7 +46,7 @@ Finicity | Finicity App Key
4646
Frame.io | Frame.io JSON Web Token
4747
Frame.io| Frame.io Developer Token
4848
FullStory| FullStory API Key
49-
GitHub | GitHub {% data variables.product.pat_generic %}
49+
GitHub | GitHub {% data variables.product.pat_generic_title_case %}
5050
GitHub | GitHub OAuth Access Token
5151
GitHub | GitHub Refresh Token
5252
GitHub | GitHub App Installation Access Token
@@ -57,7 +57,7 @@ Google Cloud | Google API Key
5757
Google Cloud | Google Cloud Private Key ID
5858
Hashicorp Terraform | Terraform Cloud / Enterprise API Token
5959
Hubspot | Hubspot API Key
60-
Ionic | Ionic {% data variables.product.pat_generic %}
60+
Ionic | Ionic {% data variables.product.pat_generic_title_case %}
6161
Ionic | Ionic Refresh Token
6262
JD Cloud | JD Cloud Access Key
6363
Linear | Linear API Key
@@ -110,7 +110,7 @@ Supabase | Supabase Service Key
110110
Tencent Cloud | Tencent Cloud Secret ID
111111
Twilio | Twilio Account String Identifier
112112
Twilio | Twilio API Key
113-
Typeform | Typeform {% data variables.product.pat_generic %}
113+
Typeform | Typeform {% data variables.product.pat_generic_title_case %}
114114
Uniwise | WISEflow API Key
115115
Valour | Valour Access Token
116116
Yandex | Yandex.Cloud API Key

data/reusables/secret-scanning/secret-list-private-push-protection.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ Alibaba Cloud | Alibaba Cloud Access Key ID with Alibaba Cloud Access Key Secret
55
Amazon | Amazon OAuth Client ID with Amazon OAuth Client Secret | amazon_oauth_client_id </br>amazon_oauth_client_secret
66
Amazon Web Services (AWS) | Amazon AWS Access Key ID with Amazon AWS Secret Access Key | aws_access_key_id </br>aws_secret_access_key
77
Amazon Web Services (AWS) | Amazon AWS Session Token with Amazon AWS Temporary Access Key ID and Amazon AWS Secret Access Key | aws_session_token </br>aws_temporary_access_key_id </br>aws_secret_access_key
8-
Asana | Asana {% data variables.product.pat_generic %} | asana_personal_access_token
9-
Atlassian | Bitbucket Server {% data variables.product.pat_generic %} | bitbucket_server_personal_access_token
8+
Asana | Asana {% data variables.product.pat_generic_title_case %} | asana_personal_access_token
9+
Atlassian | Bitbucket Server {% data variables.product.pat_generic_title_case %} | bitbucket_server_personal_access_token
1010
Azure | Azure Active Directory Application Secret | azure_active_directory_application_secret
1111
{%- ifversion fpt or ghec or ghes > 3.8 or ghae > 3.8 %}
1212
Azure | Azure Batch Key Identifiable | azure_batch_key_identifiable{% endif %}
1313
Azure | Azure Cache for Redis Access Key | azure_cache_for_redis_access_key
1414
{%- ifversion fpt or ghec or ghes > 3.8 or ghae > 3.8 %}
1515
Azure | Azure CosmosDB Key Identifiable | azure_cosmosdb_key_identifiable{% endif %}
16-
Azure | Azure DevOps {% data variables.product.pat_generic %} | azure_devops_personal_access_token
16+
Azure | Azure DevOps {% data variables.product.pat_generic_title_case %} | azure_devops_personal_access_token
1717
{%- ifversion fpt or ghec or ghes > 3.8 or ghae > 3.8 %}
1818
Azure | Azure ML Studio (classic) Web Service Key | azure_ml_studio_classic_web_service_key{% endif %}
1919
{%- ifversion fpt or ghec or ghes > 3.6 or ghae > 3.6 %}
@@ -25,7 +25,7 @@ Databricks | Databricks Access Token | databricks_access_token
2525
DevCycle | DevCycle Client API Key | devcycle_client_api_key
2626
DevCycle | DevCycle Server API Key | devcycle_server_api_key
2727
DevCycle | DevCycle Mobile API Key | devcycle_mobile_api_key{% endif %}
28-
DigitalOcean | DigitalOcean {% data variables.product.pat_generic %} | digitalocean_personal_access_token
28+
DigitalOcean | DigitalOcean {% data variables.product.pat_generic_title_case %} | digitalocean_personal_access_token
2929
DigitalOcean | DigitalOcean OAuth Token | digitalocean_oauth_token
3030
DigitalOcean | DigitalOcean Refresh Token | digitalocean_refresh_token
3131
DigitalOcean | DigitalOcean System Token | digitalocean_system_token
@@ -40,7 +40,7 @@ Duffel | Duffel Live Access Token | duffel_live_access_token
4040
EasyPost | EasyPost Production API Key | easypost_production_api_key
4141
Flutterwave | Flutterwave Live API Secret Key | flutterwave_live_api_secret_key
4242
Fullstory | FullStory API Key | fullstory_api_key
43-
GitHub | GitHub {% data variables.product.pat_generic %} | github_personal_access_token
43+
GitHub | GitHub {% data variables.product.pat_generic_title_case %} | github_personal_access_token
4444
GitHub | GitHub OAuth Access Token | github_oauth_access_token
4545
GitHub | GitHub Refresh Token | github_refresh_token
4646
GitHub | GitHub App Installation Access Token | github_app_installation_access_token
@@ -58,7 +58,7 @@ Intercom | Intercom Access Token | intercom_access_token
5858
{%- ifversion fpt or ghec or ghes > 3.6 or ghae > 3.6 %}
5959
JFrog | JFrog Platform Access Token | jfrog_platform_access_token
6060
JFrog | JFrog Platform API Key | jfrog_platform_api_key{% endif %}
61-
Ionic | Ionic {% data variables.product.pat_generic %} | ionic_personal_access_token
61+
Ionic | Ionic {% data variables.product.pat_generic_title_case %} | ionic_personal_access_token
6262
Ionic | Ionic Refresh Token | ionic_refresh_token
6363
Linear | Linear API Key | linear_api_key
6464
Linear | Linear OAuth Access Token | linear_oauth_access_token
@@ -96,7 +96,7 @@ Shopify | Shopify Access Token | shopify_access_token
9696
Slack | Slack API Token | slack_api_token
9797
Stripe | Stripe Live API Secret Key | stripe_api_key
9898
Tencent Cloud | Tencent Cloud Secret ID | tencent_cloud_secret_id
99-
Typeform | Typeform {% data variables.product.pat_generic %} | typeform_personal_access_token
99+
Typeform | Typeform {% data variables.product.pat_generic_title_case %} | typeform_personal_access_token
100100
{%- ifversion fpt or ghec or ghes > 3.6 or ghae > 3.6 %}
101101
Uniwise | WISEflow API Key | wiseflow_api_key{% endif %}
102102
WorkOS | WorkOS Production API Key | workos_production_api_key

data/variables/product.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ prodname_project_v1_caps: >-
8888
# Personal access tokens
8989
pat_generic: 'personal access token'
9090
pat_generic_caps: 'Personal access token'
91+
pat_generic_title_case: 'Personal Access Token'
9192
pat_v2: 'fine-grained personal access token'
9293
pat_v2_caps: 'Fine-grained personal access token'
9394
pat_v1: >-

0 commit comments

Comments
 (0)