Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Commit d2cb8cd

Browse files
authored
Document required IAM permissions for Parameter Store (#747)
1 parent dd7b990 commit d2cb8cd

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

docs/src/main/asciidoc/parameter-store.adoc

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ dots, dashes, forward slashes, backward slashes and underscores next to alphanum
7676
|`aws.paramstore.enabled`
7777
|`true`
7878
|Can be used to disable the Parameter Store Configuration support even though the auto-configuration is on the classpath.
79+
80+
|`aws.paramstore.region`
81+
|`eu-central-1`
82+
|Can be used to configure region AWSSimpleSystemsManagementClients.
7983
|===
8084

8185
[TIP]
@@ -88,3 +92,29 @@ turn on `DEBUG` logging on `org.springframework.cloud.aws.paramstore.AwsParamSto
8892
logging.level.org.springframework.cloud.aws.paramstore.AwsParamStorePropertySource=debug
8993
----
9094
====
95+
96+
=== IAM Permissions
97+
Following IAM permissions are required by Spring Cloud AWS:
98+
99+
[cols="2"]
100+
|===
101+
| Get parameter from specific path
102+
| `ssm:GetParametersByPath`
103+
104+
|===
105+
106+
Sample IAM policy granting access to Parameter Store:
107+
108+
[source,json,indent=0]
109+
----
110+
{
111+
"Version": "2012-10-17",
112+
"Statement": [
113+
{
114+
"Effect": "Allow",
115+
"Action": "ssm:GetParametersByPath",
116+
"Resource": "yourArn"
117+
}
118+
]
119+
}
120+
----

0 commit comments

Comments
 (0)