A Keystone Authentication Token is sent with an HSwift command to verify that a user has the permissions required to perform the requested function. In order to send a Keystone Authentication Token you need to include the X-Auth-Token header with your command and add your token to the header. For more information about obtaining a Keystone Authentication Token, see Administering HCP.
Here is an example of how the X-Auth-Token is formatted:
"X-Auth-Token: Keystone-Authentication-Token"
Here is an example of how the X-Auth-Token is used in a cURL command:
curl -X PUT http://api.europe.hcp.example.com/swift/v1/AUTH_6b6884ebb6f441cfbb7e740f6a927c9e/finance -i -H "X-Auth-Token: dc5efec8f546455eac974e7bbfd0dd87"
© 2015, 2020 Hitachi Vantara LLC. All rights reserved.