-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYNPY-1305] Collect trace data from integration tests (#1009)
* Collect trace data from integration tests
- Loading branch information
1 parent
e283f88
commit f1b2a2f
Showing
4 changed files
with
127 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Inputs | ||
SC_ENDPOINT=$1 # i.e. https://sc.sageit.org | ||
SYNAPSE_PAT=$2 # The Synapse Personal Access Token | ||
|
||
# Endpoints | ||
STS_TOKEN_ENDPOINT="${SC_ENDPOINT}/ststoken" | ||
|
||
# Get Credentials | ||
AWS_STS_CREDS=$(curl --location-trusted --silent -H "Authorization:Bearer ${SYNAPSE_PAT}" ${STS_TOKEN_ENDPOINT}) | ||
|
||
echo ${AWS_STS_CREDS} |