当前位置:网站首页>OSS authorizes a single bucket permission
OSS authorizes a single bucket permission
2022-07-24 06:48:00 【cxcaln】
oss Sometimes only one account is authorized bucket Authority , The way is as follows :
1、 Create a Alicloud account , Turn on programming access

2、 Create a rights management policy , The content is :
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": [
"oss:ListBuckets",
"oss:GetBucketStat",
"oss:GetBucketInfo"
],
"Resource": "acs:oss:*:*:*"
},
{
"Effect": "Allow",
"Action": [
"oss:ListObjects",
"oss:GetBucketAcl",
"oss:PutBucketAcl"
],
"Resource": "acs:oss:*:*:bucket name "
},
{
"Effect": "Allow",
"Action": [
"oss:ListObjects",
"oss:GetObject",
"oss:GetObjectAcl",
"oss:DeleteObject",
"oss:DeleteObjectAcl",
"oss:PutObject",
"oss:PutObjectAcl"
],
"Resource": "acs:oss:*:*:bucket name /*"
}
]
}3、 Give the user-defined permission of step 2 to the account created in step 1 , Just ok La .
Log in oss, Find access to other bucket It doesn't have permission

边栏推荐
猜你喜欢

Process and planned task management

STM32基于 FatFs R0.14b&SD Card 的MP3音乐播放器(也算是FatFs的简单应用了吧)

DHCP principle and configuration

Several common problems of SQL server synchronization database without public IP across network segments

记录PHPSerializer工具类反序列化遇到的坑

Introduction, architecture and principle of kubernetes

Talk about browser cache again

SparkSQL核心使用,220724,
![[lvgl (6)] display Chinese settings and make Chinese font](/img/a4/1b0d0b7a5789ecc8f9a2a8cd93d92e.png)
[lvgl (6)] display Chinese settings and make Chinese font

System safety and Application
随机推荐
ES10 subtotal flat and flatmap
【音频解码芯片】VS1503音频解码芯片的应用
[lvgl (2)]
Today, let's talk about the underlying architecture design of MySQL database. How much do you know?
[lvgl (3)]
Several common problems of SQL server synchronization database without public IP across network segments
It's not too much to fight a landlord in idea!
MapReduce(一)
object-oriented
安装snownlp包过程出现Requirement already satisfied:及Read timed out.问题解决方法
Depth first search (template use)
Detailed analysis of the process (life cycle) of class loading
Account and authority management
这10种定时任务学会了,直接飘
Neural network superparameter adjustment (based on ray package)
Promise (try to implement a promise by yourself) more detailed comments and other interfaces are not completed yet. Let's continue next time.
【LVGL(3)】设置对象大小、位置、盒子模型、状态
[small object velocimeter] only principle, no code
JS: why [] = =! [] return true?
JMeter distributed pressure measurement