You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the same approach for getting aws_access_key_id and aws_secret_access_key as is used currently for getting the default AWS region (i.e. calling getCommandOutput()) and then assigning those results to the appropriate members of the cfg.Credentials object. All with the same potential use of --profile <PROFILE_ARG> as in point 2 above
The text was updated successfully, but these errors were encountered:
@rojer I see you committed the change for --aws-profile. It doesn't seem to be working in 2.19.0. I have the AWS CLI configured with a default profile, but this flag seems to be completely ignoring it.
It would be great if the mos tool would allow for using the equivalent of aws cli's --profile when using aws-iot-setup.
Looks like at least the following would be necessary:
Accept a
--profile <PROFILE_NAME>
arg whenmos aws-iot-setup
is calledIf a profile arg was provided, add
--profile <PROFILE_ARG>
tomos-tool/mos/aws/aws.go
Line 80 in e5f7d54
Use the same approach for getting
aws_access_key_id
andaws_secret_access_key
as is used currently for getting the default AWS region (i.e. calling getCommandOutput()) and then assigning those results to the appropriate members of the cfg.Credentials object. All with the same potential use of--profile <PROFILE_ARG>
as in point 2 aboveThe text was updated successfully, but these errors were encountered: