This commit is contained in:
Dennis Heimbigner 2023-04-29 20:51:46 -06:00
parent ff6b6a72d1
commit a97cabfb12
2 changed files with 3 additions and 2 deletions

View File

@ -27,6 +27,9 @@ fi
THISDIR=`pwd`
cd $ISOPATH
if test -e ~/.aws/config ; then cat ~/.aws/config; fi
if test -e ~/.aws/credentials ; then cat ~/.aws/credentials; fi
${CMD} ${execdir}/.libs/test_s3sdk -u "${URL}" exists
${CMD} ${execdir}/.libs/test_s3sdk -u "${URL}" -k "${S3ISOPATH}/.libs/test_s3sdk.txt" write
${CMD} ${execdir}/.libs/test_s3sdk -u "${URL}" -k "${S3ISOPATH}/.libs/test_s3sdk.txt" read

View File

@ -116,8 +116,6 @@ fprintf(stderr,">>> profilesetup: url=%s\n",url);
CHECK(NC_getactives3profile(purl, &activeprofile));
CHECK(NC_s3profilelookup(activeprofile, "aws_access_key_id", &accessid));
CHECK(NC_s3profilelookup(activeprofile, "aws_secret_access_key", &accesskey));
fprintf(stderr,">>> (y) aws_access_key_id=%d\n",(accessid != NULL && strlen(accessid)> 0)?1:0);
fprintf(stderr,">>> (y) aws_secret_access_key=%d\n",(accesskey != NULL && strlen(accesskey)> 0)?1:0);
if(s3info.profile) free(s3info.profile);
s3info.profile = nulldup(activeprofile);
if(s3info.region == NULL) s3info.region = "";