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: The Worst Website in the Entire World
The Worst Website in the Entire World 386 by speckx | 187 comments on Hacker News.
-
рдмोрд░्рдбा рдпेрдеीрд▓ рдорд╣िрд▓ा рд╕рд░рдкंрдЪाрд╡рд░ рдЕрд╡िрд╢्рд╡ाрд╕ рдард░ाрд╡ рдоंрдЬूрд░ рд╡рд░ोрд░ा рд╢рд╣рд░ा рд▓рдЧрдд рдЕрд╕рд▓ेрд▓ी рдмोрд░्рдбा рдЧ्рд░ाрдордкंрдЪाрдпрдд рд╣ी рд╡िрдХрд╕िрдд рдЖрдгि рдЕрдзिрдХ рдорд╣рд╕ूрд▓ рдЕрд╕рд▓ेрд▓ी рдЧ्рд░ाрдордк...
-
рдЯ्рд░ॅрдХ्рдЯрд░рдЪ्рдпा рдЕрдкрдШाрддाрдд рдЪाрд▓рдХाрдЪा рдоृрдд्рдпू рдкाрд╡рдиा рдЧाрд╡ाрдЬрд╡рд│ीрд▓ рдШрдЯрдиा рд╕ंрдкाрджрдХ / рддुрд▓рд╕ीрджाрд╕ рдЕрд▓ाрдо рднрдж्рд░ाрд╡рддी - рдЯ्рд░ॅрдХ्рдЯрд░рдЪे рд╕рдоोрд░рдЪे рдПрдХ рдЪाрдХ рдЕрдЪाрдирдХ рдиि...
-
рд╕рд░рдкंрдЪा рд╡िрд░ोрдзाрдд рдЕрд╡िрд╢्рд╡ाрд╕ рдард░ाрд╡ рдоांрдбрд▓ा рддрд╕ीрд▓рджाрд░ांрдиी рд╕рд░рдкंрдЪाрд▓ा рдХेрд▓े рдЕрдкाрдд्рд░ рдШोрд╖िрдд рд╕рднेрддूрди рдмाрд╣ेрд░ рдиिрдШाрд▓्рдпाрдиंрддрд░ рдЙрдкрд╕рд░рдкंрдЪाрдиी рдХेрд▓ी рдЕрдкाрдд्рд░ рд╕рд░рдкंрдЪाрд▓ा рд╢िрд╡ी...