Skip to content

Commit 2d1994e

Browse files
SK-3014-gitleaks-detection-fix-updated
1 parent 442a150 commit 2d1994e

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎flowvault/README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ from skyflow.vault.data import DetokenizeRequest, TokenGroupRedactions
493493
vault = skyflow_client.vault('<VAULT_ID>') # skyflow_client from Quickstart
494494

495495
request = DetokenizeRequest(
496-
tokens=['5479-4229-4622-1393', 'a1b2c3d4-e5f6-7890-abcd-ef1234567890'],
496+
tokens=['5479-4229-4622-1393', '<TOKEN_1>'],
497497
token_group_redactions=[TokenGroupRedactions(token_group_name='card_number_cg', redaction='MASKED')],
498498
)
499499
response = vault.detokenize(request)
@@ -516,7 +516,7 @@ Sample response:
516516
"request_id": null
517517
},
518518
{
519-
"token": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
519+
"token": "<TOKEN_1>",
520520
"value": null,
521521
"token_group_name": null,
522522
"metadata": null,
@@ -650,7 +650,7 @@ Sample response:
650650
"table_name": "table1",
651651
"skyflow_id": "9fac9201-7b8a-4446-93f8-5244e1213bd1",
652652
"tokens": {
653-
"cardholder_name": [ { "token": "f1a2b3c4-d5e6-7890-abcd-ef1234567890", "token_group_name": "deterministic_string", "path": null } ]
653+
"cardholder_name": [ { "token": "<TOKEN_2>", "token_group_name": "deterministic_string", "path": null } ]
654654
},
655655
"data": { "cardholder_name": "Jane Doe" },
656656
"hashed_data": null,

‎skyvault/skyflow/generated/rest/authentication/client.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ def authentication_service_get_auth_token(
7373
from skyflow import Skyflow
7474
7575
client = Skyflow(
76-
token="YOUR_TOKEN",
76+
token="<TOKEN_1>",
7777
)
7878
client.authentication.authentication_service_get_auth_token(
7979
grant_type="urn:ietf:params:oauth:grant-type:jwt-bearer",
80-
assertion="YOUR_SIGNED_JWT_ASSERTION",
80+
assertion="<JWT_TOKEN>",
8181
)
8282
"""
8383
_response = self._raw_client.authentication_service_get_auth_token(
@@ -156,14 +156,14 @@ async def authentication_service_get_auth_token(
156156
from skyflow import AsyncSkyflow
157157
158158
client = AsyncSkyflow(
159-
token="YOUR_TOKEN",
159+
token="<TOKEN>",
160160
)
161161
162162
163163
async def main() -> None:
164164
await client.authentication.authentication_service_get_auth_token(
165165
grant_type="urn:ietf:params:oauth:grant-type:jwt-bearer",
166-
assertion="YOUR_SIGNED_JWT_ASSERTION",
166+
assertion="<JWT_TOKEN>",
167167
)
168168
169169

‎skyvault/tests/dummy-non-secret/api_keys.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"validations_valid_api_key": "sky-test-000000000000000000000000000000000",
33
"validations_invalid_prefix_api_key": "invalid-test-000000000000000000000000000000000",
4-
"validations_invalid_length_api_key": "sky-test-123456",
4+
"validations_invalid_length_api_key": "sky-test-000000",
55
"utils_valid_api_key": "sky-00000-00000000000000000000000000000000",
66
"utils_invalid_length_api_key": "sky-00000-000",
77
"utils_invalid_pattern_api_key": "sky-00000-0000000000GHIJKL0000000000000000"

0 commit comments

Comments
 (0)