Finding the details for a IBM Cloud Object Storage bucket
-
Upload your VM files to IBM Cloud Object Storage.
-
Record the following information about your IBM Cloud Object Storage bucket:
- Location
- Bucket instance CRN The Cloud Resource Name (CRN) uniquely identifies a resource (in this case the bucket instance) in the IBM Cloud.
- Authentication credentials
To find the location of your bucket instance and CRN
- From a web browser, sign in to IBM Cloud.
- Click to display the drop-down menu.
- In the drop-down menu, click Resource List. The Resource List page displays.
- Expand the Storage section, and then click on the bucket that contains the LPAR you want to import. The resource page for that bucket displays.
-
Click (Bucket actions) > Configuration. The Bucket details page displays.
To find the authorization credentials for your bucket instance
- In the main menu, click Service credentials. The Service credentials page displays.
- Click New credentials. The Add new credential dialog displays.
-
Provide details for the authorization credentials:
- Name – Type a name for the credential.
- Role – Select the Reader role from the drop-down menu.
- Include HMAC Credential – Check this box to include HMAC Access and Secret access keys.
- Click Add to generate the authorization credentials.
-
After the credentials are generated, click View credentials. The section expands to show the credentials for the bucket instance.
Example:
"apikey": "-AAAb8bb8bAAbbbAb8AAb8bbbAAb8bA-AbAAAb8AAbAb", "cos_hmac_keys": { "access_key_id": "8b888b8b888b8888b8b8888888bb888b", "secret_access_key": "bb8b88b8b888888b8bbbbb88b88b8b88b88888888bbb8b88" }, "endpoints": "https://control.cloud-object-storage.cloud.ibm.com/v2/endpoints", "iam_apikey_description": "Auto-generated for key 8b888b8b-888b-8888-b8b8-888888bb888b", "iam_apikey_name": "aaa-cos-standard-a88", "iam_role_crn": "crn:v1:bluemix:public:iam::::serviceRole:Writer", "iam_serviceid_crn": "crn:v1:bluemix:public:iam-identity::a/88b8bb8bb88b8888b888bbbbb88b8888::serviceid:ServiceId-b8b888b8-88bb-888b-b8b8-8888b8b88b8b", "resource_instance_id": "crn:v1:bluemix:public:cloud-object-storage:global:a/88b8bb8bb88b8888b888bbbbb88b8888:8b88bb88-b888-88bb-b8b8-88bbbb8bb8b8::" }