Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

202
Visualizações
AWS V4 Signing of .NET HttpClient

I need to call an AWS Gateway API service that is secured with AWS_IAM.

I want to use HttpClient as this is the recommended way by Microsoft.

I have found some example code using other ways. I've also found the official AWS SDK that uses their internal IRequest. I'm currently writing an implementation of IRequest so I can use Amazon.Runtime.Internal.Auth.AWS4Signer.SignRequest. But this seems incredibly hacky!

What I really want is something that will take my HttpClient, then inject the Host, X-Amz-Content-SHA256, X-Amz-Date and Authorization headers.

I find it hard to believe there is not a ready-to-use library already existing.

Note that this is similar to this question, but it is a bit old and I would have hoped there would be an easier way now. Is there a .NET library that can sign a request with AWS V4 Signature?


Update 2018-03-21 - there is now a NuGet package https://www.nuget.org/packages/Aws4RequestSigner/

My colleague has used this and reports it to work well! I hope this is of help to anyone arriving at this question.

about 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda