thunderclient / thunder-client-support

Thunder Client is a lightweight Rest API Client Extension for VS Code.
https://www.thunderclient.com
Other
3.61k stars 126 forks source link

how to get Thunder-client to read my AWS auth settings from my ~/.aws/credentials file #1475

Closed preetmyob closed 6 months ago

preetmyob commented 6 months ago

Question:

Then I go to a request autth and select AWS I get this panel

image

Acording to https://github.com/rangav/thunder-client-support/issues/489 this feature was created in v1.12.5. I'm currently using v2.17.7 .

I'm not finding the doco anywhere. I apologise if I've just not looked hard enough.

Thanks, Preet

Are you using the free version/paid version/trial:

I am using the free VSCODE extension - v2.17.7

rangav commented 6 months ago

Hi @preetmyob

We don't have this functionality. Please use the AWS auth tab

preetmyob commented 6 months ago

Hi @preetmyob

We don't have this functionality. Please use the AWS auth tab

Thank you for the quick reply @rangav.

  1. Could you tell what that issue https://github.com/rangav/thunder-client-support/issues/489 actually was about then, please, as I seem to have misunderstood?

  2. And also I wonder if you could help me understand how to I might be able solve the problem I have please? The problem is that our tokens, keys and secrets are timed, so I have to keep updating the settings manually with copy-paste when my token runs out. I can programmatically generate the new token, keys and keys when it runs out. Is there anyway I can put theprogrammitically put my settings for auth somewhere so that TC can find them without restarting the VS code process?

rangav commented 6 months ago

You can use .env files, generate new tokens and save to .env file and reference this file from your environment and then use these variables in aws auth tab

preetmyob commented 6 months ago

You can use .env files, generate new tokens and save to .env file and reference this file from your environment and then use these variables in aws auth tab

Fabulous - thank you so much for such a quick response.