Closed alexiswl closed 2 months ago
Right will update explaining it better.
The example assume you need to query for prod data, as if you need to query from the app you would append the metadata
with whatever value stored in SSM /hosted_zone/umccr/name
which will be either dev.umccr.org
, stg.umccr.org
, or umccr.org
.
Also
export ORCABUS_TOKEN=$(aws secretsmanager get-secret-value --secret-id orcabus/token-service-jwt --query 'SecretString' --output text | jq -r '.id_token')
Can be rewritten as
export ORCABUS_TOKEN=$(aws secretsmanager get-secret-value --secret-id orcabus/token-service-jwt --output json --query SecretString | jq -r 'fromjson | .id_token')
From https://github.com/umccr/orcabus/blob/main/lib/workload/stateless/stacks/metadata-manager/README.md
Should this be
For me I needed to use