The REST API of OceanStor does not use the conventional Authorization header. Instead it uses:
a first request with user/password in the body of the message
all subsequent requests use a X-Auth-Token header
Censor both secrets from the logs of the REST client. To censor secrets in the body, it has to be passed unserialized to requests(). Serialized bodies are treated as usual.
The REST API of OceanStor does not use the conventional
Authorization
header. Instead it uses:Censor both secrets from the logs of the REST client. To censor secrets in the body, it has to be passed unserialized to
requests()
. Serialized bodies are treated as usual.