__doc__="
All secrets are listed here
"
export WATCH_TRANSCRYPT_SECRET=HassleCreasingCommentStumblingJuryAnymore

export WATCH_REPO_GITLAB_RO_ACCESS_TOKEN=glpat-pMaxy3aC1mePzo8muuDB

export WATCH_REPO_GITLAB_RO_DEPLOY_USERNAME=watch-repo-gitlab-ro-deploy-token
export WATCH_REPO_GITLAB_RO_DEPLOY_PASSWORD=_BVLSHsgaH57jriLHELf

export DVC_GITLAB_USERNAME=argo-access
export DVC_GITLAB_PASSWORD=glpat-Q_q5F832E_eG5h4msvxy


export TE_SMART_GITLAB_RO_TOKEN=JqEzkpUGTx9CxT1TjziQ

export SMART_STAC_API_KEY=VbDVxrlMhIaAcwrpHH0f41GPKOYzoyhX68RMc1C8


# This is a project access token for https://smartgitlab.com/kitware/watch
# targeting the container registry https://smartgitlab.com/kitware/watch/container_registry
export SMARTGITLAB_WATCH_REGISTRY_RO_TOKEN=eSuY1kz6Jw-y8GQ8yMJy


# Helpful, but non-secret, environs to have
export AWS_DEFAULT_PROFILE=iarpa
export GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR


# Other per-user secrets should be in $HOME/.aws/credientials


# updated 2023-03-27
export CRALL_SMARTFLOW_USERNAME="JonCrall"
export CRALL_SMARTFLOW_PASSWORD="MargaritaStoolUntaxedPosturePlayingPendingExpectantAgreeable"  


__debug__='


The following work for me
```
AWS_DEFAULT_PROFILE=iarpa gdalinfo /vsis3/smart-data-kitware/ta-1/ta1-s2-kit/59/G/PM/2021/06/07/S2B_59GPM_20210607_0_L1C_KIT/S2B_59GPM_20210607_0_L1C_KIT_B04.tif

# Landsat albers data
AWS_REQUEST_PAYER=requester AWS_DEFAULT_PROFILE=iarpa gdalinfo /vsis3/usgs-landsat/collection02/level-2/albers/oli-tirs/2020/043/033/LC08_L2SP_043033_20200919_20210327_02_A1/LC08_L2SP_043033_20200919_20210327_02_A1_SR_B1.TIF
```

# These do not
```
# Accenture data
AWS_DEFAULT_PROFILE=iarpa gdalinfo /vsis3/smart-data-accenture/ta-1/ta1-s2-acc/15/T/TF/2021/4/24/S2B_14TQL_20210424_0_L1C_ACC/S2B_MSI_L1C_T14TQL_20210424_20210424_B02.img

# Landsat ARD data
AWS_REQUEST_PAYER=requester AWS_DEFAULT_PROFILE=iarpa gdalinfo /vsis3/usgs-landsat-ard/collection02/oli-tirs/2016/CU/003/008/LC08_CU_003008_20161026_20210502_02/LC08_CU_003008_20161026_20210502_02_SR_B2.TIF
```

I get:
```
Warning 1: HTTP response code on https://smart-data-accenture.s3.amazonaws.com/ta-1/ta1-s2-acc/15/T/TF/2021/4/24/S2B_14TQL_20210424_0_L1C_ACC/S2B_MSI_L1C_T14TQL_20210424_20210424_B02.img: 403
ERROR 14: Access Denied
```



AWS_ACCESS_KEY_ID=AKIAQK3GROKELT74PFKS AWS_SECRET_ACCESS_KEY=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 gdalinfo /vsis3/usgs-landsat/collection02/level-2/albers/oli-tirs/2020/043/033/LC08_L2SP_043033_20200919_20210327_02_A1/LC08_L2SP_043033_20200919_20210327_02_A1_SR_B1.TIF 


gdalwarp -overwrite -multi --debug off -t_srs epsg:32640 -of COG -te 54.960669 24.782276 55.268326 25.03516 -te_srs epsg:4326 -wm 1500 -co OVERVIEWS=AUTO -co BLOCKSIZE=256 -co COMPRESS=DEFLATE -co NUM_THREADS=2 --config GDAL_CACHEMAX 1500 /vsis3/smart-data-accenture/ta-1/ta1-wv-acc-1/40/R/CN/2014/12/3/14DEC03065018-M1BS-014855302010_01_P001/14DEC03065018-M1BS-014855302010_01_P001_ACC_B04.tif test.tif
'
