Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Created November 4, 2023 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdamBien/31e84638e4a97a3ebb4074dc3b8118bb to your computer and use it in GitHub Desktop.
Save AdamBien/31e84638e4a97a3ebb4074dc3b8118bb to your computer and use it in GitHub Desktop.
116thAirhacksQ&A.md
@kriehzoo
Copy link

kriehzoo commented Nov 5, 2023

Hi Adam!
What authentication/authorization would you use on AWS for machine-to-machine communication? OAuth2 (Cognito) or IAM or IAM everywhere with certificates? With OAuth2, what type of flow?

@kriehzoo
Copy link

kriehzoo commented Nov 5, 2023

Another question related to the previous one:
If a machine client needs access to my REST API but also to S3 and SNS, how to combine the OAuth2 client credentials flow with permissions to access a dedicated S3 bucket and a dedicated SNS topic. For S3 I read about presigned URLs but for SNS there seems to be nothing like that. And the problem is that with the client credentials flow there is no user identity, so also no identity token available. Which means Cognito Identity Pool is not working in this case. Any ideas would be appreciated, thanks.

@kriehzoo
Copy link

kriehzoo commented Nov 5, 2023

I came across https://antora.org/ for creating documentation, do you know it, if yes, what is your take on it?
What tool can you recommend for generating documentation?

@AdamBien
Copy link
Author

AdamBien commented Nov 6, 2023

The airhacks.tv time machine. The episode 16th (July 03, 2015): https://adambien.blog/roller/abien/entry/more_questions_than_ever_the

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment