Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...









<Region_Cloud>-emg-auto-samples/<org_name>/upload/



<Region_Cloud>-emg-downloads/<org_name>/ <Region_Cloud>-emg-auto-results/<org_name>/ 


# Linux
$ wget "https://launch.basespace.illumina.com/CLI/latest/amd64-linux/bs" -O $HOME/bin/bs
# Mac
$ wget "https://launch.basespace.illumina.com/CLI/latest/amd64-osx/bs" -O $HOME/bin/bs
# or
$ brew tap basespace/basespace && brew install bs-cli
# Windows
$ wget "https://launch.basespace.illumina.com/CLI/latest/amd64-windows/bs.exe" -O bs.exe$ bs auth$ cat .basespace/default.cfgapiServer = https://api.basespace.illumina.com
accessToken = 








https://<key-vault-name>.vault.azure.net/keys/<key-name>/<key-version>Client->Emedgene API: Add New Test Request
note right of Emedgene API: Process Request
Emedgene API->Key Vault: PHI
note right of Key Vault: Encrypt
Key Vault->Emedgene API: Encrypted PHI
Emedgene API->Emedgene DB: Store Encrypted PHIClient->Emedgene API: Get Test Request
emedgene DB->Emedgene API: Encrypted PHI
Emedgene API->Key Vault: Encrypted PHI
note right of Key Vault: Decrypt
Key Vault->Emedgene API: Decrypted PHI
Emedgene API->Client: Decrypted PHIClient->Emedgene API: Add New Test Request
note right of Emedgene API: Process Request
Emedgene API->Key Vault: PHI
note right of Key Vault: Encrypt
Key Vault->Emedgene API: Encrypted PHI
Emedgene API-> Emedgene DB: Get Salt
Emedgene API-> Emedgene API: Hash Value using Salt
Emedgene API->Emedgene DB: Store Encrypted PHI + Hashed valueClient->Emedgene API: Search string
Emedgene API->AWS Secrets: Get Salt
Emedgene API-> Emedgene API: Hash string using Salt
Emedgene API->Emedgene DB: Search hashed string
Emedgene DB->Emedgene API: Search results
Emedgene API->Client: Search results{
Coming Soon
}{
Coming Soon
}



import json
import base64
def encode_json_to_base64(json_file):
# Read JSON data from file
with open(json_file, 'r') as file:
json_data = json.load(file)
# Convert the JSON data to a string
json_str = json.dumps(json_data)
# Encode the string to bytes, then to Base64
json_bytes = json_str.encode('utf-8')
base64_bytes = base64.b64encode(json_bytes)
# Convert Base64 bytes back to a string
base64_str = base64_bytes.decode('utf-8')
# Print the Base64-encoded string
print(base64_str)
encode_json_to_base64('json_file.json')[
{
"origin": ["https://<host_name>.emg.illumina.com"],
"method": ["GET"],
"responseHeader": ["emgauthorization"],
"maxAgeSeconds": 3600
}
]