Skip to main content
NetApp Knowledge Base

Are S3-related IDs using fixed bytes number?

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

Applies to

StorageGRID (SGRID)

Answer

Yes, it is.
 
Samples:

* S3 tenant ID              : 76555990470511985368               ---> total 20bytes

* S3 group ID               : bd1126a5-5393-42d2-b0ad-974831d7e610        ---> total 36bytes

* S3 user ID                 : ae859117-a29c-45b3-9810-9eb37b9ee25a   ---> total 36bytes

* S3 AWS Access Key ID      : AWQXFRSIR9F97VAWZKMZ         ---> total 20bytes

* S3 AWS Secret Access Key            : pzHCajTEwHdSaMBx87xVaSO+rjSZcxiJpxReyvjN  ---> total 40bytes

 

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 "{  \"expires\": \"2022-09-04T00:00:00.000Z\"}"

Request URL

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

Server response

Code     Details

201        

Response body

Download

{

  "code": 201,

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

  "status": "success",

  "apiVersion": "3.3",

  "data": {

    "id": "SGKHnH35YiYZb1ljsGLMLs-4-hA6f23Xq5QPaD0hYA==",   --->  total 44bytes

    "accessKey": "LFORK9TT6WA9C21T386Q",

    "secretAccessKey": "RAk0HbEEui/yAs7ZSEL5nUgZgV2DJJFC1finNmS8",

    "displayName": "****************386Q",

    "accountId": "76555990470511985368",

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

    "userUUID": "00000000-0000-0000-0000-000000000000",

    "expires": "2022-09-04T00:00:00.000Z"

}

Additional Information

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.