Lightsail and KMS

0

I created a IAM user with access to Lightsail and KMS. Is this sufficient to call KMS? Since KMS is a core service, it will be helpful if you can bring KMS like S3 within Lightsail console.

  • Please clarify how you would like to access the KMS.
    Are you a developer using an IAM user who wants to access KMS?
    Or is it an application in Lightsail?

질문됨 2년 전438회 조회
2개 답변
1

Hi! Lightsail uses a service-linked role in IAM which means that it is the service itself which has access to KMS to do what is needed for operating Lightsail. You can read more about that here https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-using-service-linked-roles

Hope this helps!

profile pictureAWS
Bent_T
답변함 2년 전
  • I am not the one asking the question, but I am simply curious.

    In the Lightsail documentation that Bent_T referred me to, it appears that service-linked role do not have permission to access KMS.

    It also states that service-linked role cannot be edited.

    If this is the case, is it still possible to access KMS with service-linked role?

    Incidentally, one method I have found for accessing other AWS services from Lightsail is to use the credentials of an IAM user. [1]

    [1] amazon web services - Can I access AWS Parameter store from Lightsail instance?
    https://stackoverflow.com/questions/71818943/can-i-access-aws-parameter-store-from-lightsail-instance

0
수락된 답변

The answer of service linked role provided was not helpful. What we did was create a IAM service account, provided IAM permissions for KMS. Then used API keys to encrypt/decrypt within my application hosted in Lightsail.

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠