I want to create a folder in the shared top directory of FSx.

0

I want to create a folder in the shared top directory of FSx. Flow Powershell commands using ssm's AWS-RunPowerShellScript. However, the executing user is ssm-user. This user is not an active directory user and access is denied. The New-Item command does not set credentials. Is it possible to create a folder in the FSx shared top directory by running the powershell command from ssm?

1回答
1

A similar question was asked here and has two different approaches on how to solve issues like this.

  • Fetching AD User credentials from Secrets Manager
  • Granting the AD Computer object permission to execute the command

See the answer section for more details.
https://repost.aws/questions/QU0nNAbP6mTNiszw8JqzX1rQ/about-the-user-who-executes-ssm

profile pictureAWS
回答済み 2年前
  • Thank you for your response. The New-Item command does not allow optional credentials. Therefore, I would like to give permissions to the computer object. But I don't know how to do that. If you know how to do that, please let me know. Thank you so much.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ