1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
If the service supports Service-Linked Role, it seems to be accessible by following this procedure, but Secrets Manager does not seem to support Service-Linked Role. (Too bad 😭😭)
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-using-service-linked-roles
https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-services-that-work-with-iam.html
I think you can access Secrets Manager by creating an IAM user and specifying Access Key and Secret Access Key to Lightsail.
https://docs.aws.amazon.com/ja_jp/cli/latest/userguide/cli-configure-files.html
回答済み 4年前
関連するコンテンツ
- 質問済み 6ヶ月前

You'll need to run
aws configureand provide your credentials manually on the instance to make CLI calls. Lightsail resources are managed separately from other AWS resources and as a result have different credentials by default.