メインコンテンツまでスキップ

S3 関連の ID で固定バイト数を使用しているか。

Views:
3
Visibility:
Public
Votes:
0
Category:
storagegrid-webscale
Specialty:
sgrid
Last Updated:

環境

StorageGRID ( SGRID )

回答

はい、あります。
 
サンプル:

* S3 テナント ID : 76555990470511985368 --> 合計 20 バイト

* S3 グループ ID : bd1126a5-539-42d2-b0ad-974831d7e610 --> 合計 36 バイト

* S3 ユーザ ID : ae859117-a29c-45b3-9810-9eb37b9ee25a --> 合計 36 バイト

* S3 AWS アクセスキー ID : AWQXFRSIR9F97VAWZKMZ --> 合計 20 バイト

* S3 AWS Secret Access Key : pzHCajTEwHdSaMBx87xVSO + 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:157eb0d913af86203c2662006131ff" -d "{\" expires\" : \"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.1" 、

  「データ」: {

    "id" :"SGKHnH35YZb1ljsGLMLs-4-hA6f23Xq5QPaD0hYa=",-->合計 44 バイト

    " アクセスキー " : "LFORK9TT6WA9C21T386Q" 、

    "secretAccessKey" : "RAk0HbEEui/yAs7ZSEL5nUGZgV2DJFC1FINmS8" 、

    "displayName" : "**************** 386Q インチ、

    "accountId" : "76555990470511985368" 、

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

    「 userUUID 」:「 00000000 - 0000-0000 - 0000-000000000000 」、

    有効期限: "2022-09-04T00:00:00.000Z"

}

追加情報

N/A

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.