From cb5dc258178b195657aa935c3002c3bc0c04c6ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B0=8F=E4=BA=91?= Date: Thu, 29 May 2025 19:14:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init/volumes/minio/policies/mqtt-policy.json | 26 ++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 init/volumes/minio/policies/mqtt-policy.json diff --git a/init/volumes/minio/policies/mqtt-policy.json b/init/volumes/minio/policies/mqtt-policy.json new file mode 100644 index 0000000..3369114 --- /dev/null +++ b/init/volumes/minio/policies/mqtt-policy.json @@ -0,0 +1,26 @@ +{ + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Action": [ + "admin:*" + ] + }, + { + "Effect": "Allow", + "Action": [ + "kms:*" + ] + }, + { + "Effect": "Allow", + "Action": [ + "s3:*" + ], + "Resource": [ + "arn:aws:s3:::*" + ] + } + ] +}