Spectra Logic
1-800-833-1132 : 1-303-449-6400


Access Control Operations : User Operations : Regenerate Secret Key

Regenerate Secret Key
Description
Regenerate the S3 secret key for the specified user..
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/user/{user UUID, name, or other unique attribute}?operation=REGENERATE_SECRET_KEY
To determine the UUID for a user, see Get Users.
Request Parameters 
Responses
Response Elements
<Data>
   <AuthId>{
string}</AuthId>
   <DefaultDataPolicyId>{string}</DefaultDatePolicyId>
   <Id>{string}</Id>
   <Name>{string}</Name>
   <SecretKey>{string}</SecretKey>
</Data>
where the response elements are defined as follows:
Example
Sample Request
This request regenerates the secret key for the user with the username “user1”.
PUT http://blackpearl-hostname/_rest_/user/user1?operation=REGENERATE_SECRET_KEY HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <AuthId>c381Y3RyYQ==</AuthId>
   <DefaultDataPolicyId>
      0b6ef313-09d3-4a40-b43e-f4cb01b352ad
   </DefaultDataPolicyId>
   <Id>b136c431-a59e-413e-b03f-23f7b841ac25</Id>
   <Name>user1</Name>
   <SecretKey>d7pJBeAN</SecretKey>
</Data>