Skip to content

Commit b05573d

Browse files
replace JWT-like test token with simple fake string
1 parent 350dcb9 commit b05573d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/csp_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def __init__(self):
379379
b'{"region": "us-east-1", "instanceId": "i-1234567890abcdef0"}'
380380
)
381381
self.metadata_token = "test-token"
382-
self.web_identity_token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhd3MtdGVzdCIsImF1ZCI6InNub3dmbGFrZWNvbXB1dGluZy5jb20ifQ.fake-signature"
382+
self.web_identity_token = "fake.jwt.token-for-testing-only"
383383

384384
def assume_role(self, **kwargs):
385385
if (

0 commit comments

Comments
 (0)