跳转到主内容

与 S3 相关的 ID 是否使用固定字节数?

Views:
4
Visibility:
Public
Votes:
2
Category:
storagegrid-webscale
Specialty:
sgrid
Last Updated:

适用场景

StorageGRID ( SGRID )

问题解答

是的,确实如此。
 
示例:

* S3 租户 ID : 76555990470511985368 --> 总计 20 字节

* S3 组 ID : bd1126a5-5393-42d2-b0ad-974831d7e610 -> 总计 36 字节

* S3 用户 ID : ae859117-a29c-45b3-9810-9eb37b9ee25a -> 总计 36 字节

* S3 AWS 访问密钥 ID : AWQXFRSIR9F97VAWZKMZ --> 总计 20 字节

* S3 AWS 机密访问密钥: pzHCajTEwHdSaMBx87xVaSO+rjSZcxiJpxReyvjN -> 总计 40 字节

 

curl -X post https://10.128.241.110/api/v3/org/users/current-user/s3-access-keys -H "accept : application/json" -H "Content-Type : application/json" -H "X-CSRF-Token : 157eb0d913af86203c262262006131ff" -d " { \expies" : "2022-09-04T00 : 00 : 00.000Z" }

请求 URL

https://10.128.241.110/api/v3/org/users/current-user/s3-access-keys

服务器响应

代码详细信息

201        

响应正文

下载

{

  " 代码 " : 201 ,

  "ResponseTime" : "2021-12-07T06 : 10 : 45.578Z" ,

  " 状态 " : " 成功 " ,

  "apiVersion" : "3.5" ,

  "data": {

    "id" : "SGKHnH35YYZb1ljsGLMLs-4-hA6f23Xq5QPaD0hYA=" , -> 总计 44 字节

    "accessKey" : "LFORK9TT6WA9C21T386Q" ,

    "secretAccessKey" : "RAk0nbDEui/yAs7ZSEL5nUgZgV2DJJFC1finNmS8" ,

    "DisplayName" : "&&" 386Q" ,

    "AccountID" : "76555990470511985362" ,

    "userURN" : "urn : sgws : identity :: 76555990470511985368 : root" ,

    "userUID" : "00000000-0000-0000-0000-0000000000000000" ,

    " 到期 " : "2022-09-04T00 : 00 : 00.000Z"

}

追加信息

不适用

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.