Does anyone else finds AWS and other Amazon services overly complicated?
18 by damacaner | 13 comments on Hacker News.
I think AWS and its signature system is making things more complicated than it should be, like this is a normal signing in process to API: 1. you request client credentials, which is normal. 2. construct request URL, normal. 3. add headers, eh, normal. 4. signature... fuck. First you need to convert the URL you have from step 2, mash it with headers from step 3, add header keys to signed headers, then sum256 hash the payload and hex encode it. Then you create a sign, add algorithm, request date time that is formatted with ISO8601 but all special characters stripped apart, add credential scopes, hash the canonical request you created at the first step. Then, you calculate this abomination: HMAC(HMAC(HMAC(HMAC("AWS4" + kSecret,"20150830"),"us-east-1"),"iam"),"aws4_request") after that you calculate this: signature = HexEncode(HMAC(derived signing key, string to sign)) after that you create an authorization header and add signature to it: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIHV6HIXXXXXXX/20201022/us-east-1/execute-api/aws4_request, SignedHeaders=host;user-agent;x-amz-access-token;x-amz-date, Signature=5d672d79c15b13162d9279b0855cfba6789a8edb4c82c400e06b5924aEXAMPLE ...I mean what the fuck? I can understand why people choose Azure over AWS for the sake of freaking simplicity just by looking at this sign and request process. It feels overly-complicated. Does anyone feels the same while working with this abomination?
New best story on Hacker News: Charlie Kirk killed at event in Utah
Charlie Kirk killed at event in Utah 1029 by david927 | 3002 comments on Hacker News.
-
เคตเคฐोเคฑ्เคฏाเคค เคถเคธ्เคค्เคฐाเคจी เคตाเคฐ เคเคฐूเคจ เคฏुเคตเคाเคा เคेเคฒा เคूเคจ เคตเคฐोเคฐा เคชोเคฒिเคธांเคจी เคेเคฒी เคเคฐोเคชीเคฒा เค เคเค เคตเคฐोเคฐा : เคตเคฐोเคฑ्เคฏाเคคीเคฒ เคेเคธเคฐी เคจंเคฆเคจ เคเคฃเคชเคคी เคเคตเคณ เคเคฐोเคชी เค เคฎो...
-
เคตिเคฆ्เคฏाเคฐ्เคฅ्เคฏांเคตเคฐीเคฒ เค เคฎाเคจुเคท เค เคค्เคฏाเคाเคฐ – เคฎुเค्เคฏाเคง्เคฏाเคชเค เคต เค เคงीเค्เคทเคाเคตเคฐ เคुเคจ्เคนा เคฆाเคเคฒ เคเคฐूเคจ เคคाเคค्เคाเคณ เคाเคฐเคตाเค เคเคฐा. เคเคฆिเคตाเคธी เคाเคฏเคเคฐ เคธेเคจेเคे เคंเคฆ्เคฐเคชूเคฐ เคिเคฒ्เคนा เคเคชाเคง...
-
เคฏेเคจ्เคธा เคฏेเคฅीเคฒ เค เคชเคाเคคाเคค เคฎूเคค्เคฏुंเคฎुเคी เคฎเคนिเคฒाเค्เคฏा เคตाเคฐเคธाเคจा 5 เคฒाเคाเคी เคเคฐ्เคฅिเค เคฎเคฆเคค เคเคฐा เคคुเคฒเคธी เค เคฒाเคฎ เคตเคฐोเคฐा เคถเคนเคฐाเคคीเคฒ เคฌाเคตเคฃे เคฒेเคเคเค เคต เคाॅเคฒเคฐी เคตॉเคฐ्เคก...