Ask Your Question
0

How can SSM parameters be accessed across multiple accounts?

asked 2021-12-23 11:00:00 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-03-09 01:00:00 +0000

huitzilopochtli gravatar image

To access SSM parameters across multiple AWS accounts, you can use either of the following methods:

  1. Sharing via Resource Access Manager (RAM): Resource Access Manager (RAM) is a service that enables resource sharing across AWS accounts. You can use RAM to share your SSM parameter Store resources with other AWS accounts.

To share SSM parameters using RAM, follow these steps:

i. Log in to the AWS Management Console and open the RAM console.

ii. Create a resource share for your SSM parameters.

iii. Invite the AWS account with which you want to share the SSM parameters.

iv. Once the invite is accepted, the AWS account can access your SSM parameters.

  1. Cross-Account IAM Roles: Another way to access SSM parameters across AWS accounts is to use cross-account IAM roles. You can create an IAM role in one account that grants access to SSM parameters in another account.

To use cross-account IAM roles, follow these steps:

i. Create an IAM role in the account that needs access to the SSM parameters.

ii. Attach a policy to the role that grants access to the required SSM parameters.

iii. Create a trust policy for your IAM role that allows the account with the SSM parameters to assume the role.

iv. Once the trust policy and permissions are in place, the IAM role can be used to access the SSM parameters in the other account.

Note: Make sure to apply the principle of least privilege when granting access to SSM parameters. Only grant access to the minimum number of AWS accounts and IAM roles that require access.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-12-23 11:00:00 +0000

Seen: 18 times

Last updated: Mar 09 '23