Passer au contenu

Accessing AWS SDK from on-prem server without secret key and access key

0

I have an application deployed on on-prem server, is there a way to use only IAM role or policy to access AWS SDk. I dont want to provide or store the secret key and access key anywhere to access it. we can use IAM role or policy to access different service using AWS SDK.

2 réponses
2

Hi,

The AWS IAM Roles Anywhere were designed exactly for that purpose:

You can use AWS Identity and Access Management Roles Anywhere to obtain
 temporary security credentials in IAM for workloads such as servers, containers, 
and applications that run outside of AWS. Your workloads can use the same IAM policies
 and IAM roles that you use with AWS applications to access AWS resources. Using IAM Roles 
Anywhere means you don't need to manage long-term credentials for workloads running 
outside of AWS.

See https://docs.aws.amazon.com/rolesanywhere/latest/userguide/introduction.html

Best,

Didier

EXPERT

répondu il y a 2 ans

EXPERT

vérifié il y a 2 ans

EXPERT

vérifié il y a 2 ans

2

The recommended way of doing this is to use AWS Roles Anywhere.

EXPERT

répondu il y a 2 ans

EXPERT

vérifié il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.