Gets cas secret for the specified namespace and user identifier.
namespace | Namespace for which to get CAS secret |
uid | Valid user identifier to get the key from |
Requires one of the following roles:
SYSTEM_ADMIN
NAMESPACE_ADMIN
Representation of CAS secret for the given user and namespace.
Field | Description | Type | Notes |
user_cas_secret | |||
cas_secret | CAS secret | String |
GET https://192.168.0.0:4443/object/user-cas/secret/s3/wuser1@sanity.local HTTP/1.1 Content-Type: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
HTTP/1.1 200 OK Content-Type: application/xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <user_cas_secret> <cas_secret>secret</cas_secret> </user_cas_secret>