HelloWorld Working Example of AWS SDK Java v2 for "List EC2 Instances"? #3181
Unanswered
MichaelCropper
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Oh I remember the good old days, of just throwing in an Access Key + Secret and watch the magic happen. Seems things have changed quite a bit since I was last having a deep dive. I can't seem to find any full working examples for how to do this.
I'm just looking for full working code I can copy and paste to get a POC working that contains the basic info;
Where the Access Token + Secret have been set up against an IAM User.
Reading through the docs, seems everything is transitioning towards IAM Identity Centre, but all code I can find related to that essentially states that you have to go down the route of managing credentials via either static options such as Environment Variables etc. or via Temporary Session Tokens, which need to be manually generated.
I can't for the life of me figure this out from the thousands of convoluted docs and even ChatGPT keeps regurgitating unhelpful information.
Any insights appreciated.....
Beta Was this translation helpful? Give feedback.
All reactions