Load metadata values to ECS using the Management REST API
You can supply the metadata values required to secure an ECS bucket for use with a secure Hadoop cluster by running ECS Management REST API commands.
You must have ECS System Administrator credentials.
If the Hadoop administrator is not the ECS System Administrator, the Hadoop administrator must work in conjunction with the ECS System Administrator to load the secure metadata to the bucket.
The Hadoop administrator can make the JSON metadata file available to the ECS System Administrator, who can then use this procedure to load the metadata. If the two roles are assumed by the same user, then that user is responsible for creating the JSON metadata file and loading it to the ECS bucket.
Log in to ECS using your System Administrator credentials in order to obtain an authentication token that can be used when running ECS management commands.
You can run the login command using curl. In the following example, you must replace the
<username>:<password> with ECS System Administrator credentials and supply the IP address or hostname of an ECS node.