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

315
Visualizações
Using AWS SecretManager with Fargate: Unable to locate credentials

The scenario:

We have a K8s cluster on EKS using Fargate nodes. I am storing our credentials/secrets in AWS SecretManager and want our workers deployed on AWS Fargate to access these secrets directly.

The issue:

The python code inside the containers throw the following error, as it cannot find any aws credentials):
botocore.exceptions.NoCredentialsError: Unable to locate credentials

It is quite similar to the issue raised here and I already went ahead to add a service account as proposed in the answer to that question.

Specifically, I followed the guide here.

However, the last step does not return the expected output for me. There is no AWS environment variable being injected into any of the pods.

I also tried following the workshop here:https://www.eksworkshop.com/beginner/110_irsa/deploy/ but still not getting the expected output.

I will appreciate if anyone can point me in the right direction here. Thanks in advance!

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I believe 🤔 you are missing the cluster create steps as described here. Specifically:

  • Set up the OIDC ID provider (IdP) in AWS.

If you like to inject things into your Pods automatically consider creating a MutatingAdmissionWebhook which basically responds to with JSONPatch that K8s applies to whatever object you specify.

This is a detailed walkthrough on how to create one.

over 4 years ago · Santiago Trujillo Relatório
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