Skip to content

Commit 4e688ad

Browse files
authored
Put obvious fake values for cred linter (#42124)
1 parent 72cb66a commit 4e688ad

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

sdk/core/azure-common/azure/common/client_factory.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,10 @@ def get_client_from_json_dict(client_class, config_dict, **kwargs):
159159
from azure.common.client_factory import get_client_from_auth_file
160160
from azure.mgmt.compute import ComputeManagementClient
161161
config_dict = {
162-
"clientId": "ad735158-65ca-11e7-ba4d-ecb1d756380e",
163-
"clientSecret": "b70bb224-65ca-11e7-810c-ecb1d756380e",
164-
"subscriptionId": "bfc42d3a-65ca-11e7-95cf-ecb1d756380e",
165-
"tenantId": "c81da1d8-65ca-11e7-b1d1-ecb1d756380e",
162+
"clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
163+
"clientSecret": "ffffffff-ffff-ffff-ffff-ffffffffffff",
164+
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
165+
"tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
166166
"activeDirectoryEndpointUrl": "https://login.microsoftonline.com",
167167
"resourceManagerEndpointUrl": "https://management.azure.com/",
168168
"activeDirectoryGraphResourceId": "https://graph.windows.net/",
@@ -262,10 +262,10 @@ def get_client_from_auth_file(client_class, auth_path=None, **kwargs):
262262
.. code:: json
263263
264264
{
265-
"clientId": "ad735158-65ca-11e7-ba4d-ecb1d756380e",
266-
"clientSecret": "b70bb224-65ca-11e7-810c-ecb1d756380e",
267-
"subscriptionId": "bfc42d3a-65ca-11e7-95cf-ecb1d756380e",
268-
"tenantId": "c81da1d8-65ca-11e7-b1d1-ecb1d756380e",
265+
"clientId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
266+
"clientSecret": "ffffffff-ffff-ffff-ffff-ffffffffffff",
267+
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
268+
"tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
269269
"activeDirectoryEndpointUrl": "https://login.microsoftonline.com",
270270
"resourceManagerEndpointUrl": "https://management.azure.com/",
271271
"activeDirectoryGraphResourceId": "https://graph.windows.net/",

0 commit comments

Comments
 (0)