Configure Object Store to use Google Cloud
The Object Store service on Google Cloud provides Google Cloud Storage bucket as object store resource.
Context
The following tasks can be completed using the SAP BTP cockpit. For more information, see Managing Services Using the SAP BTP Cockpit.
Procedure
The following example demonstrates how to perform the create-service and bind-service operations. Similarly, it can also be done for the other supported plans.
Results
{
"VCAP_SERVICES": {
"objectstore": [
{
"credentials": {
"base64EncodedPrivateKeyData": "<base64_encoded_service_account_credentials>",
"projectId": "<project_id>",
"keyAlgo": "<service_account_key_generation_algo>",
"region": "<region_of_bucket>",
"bucket": "<some_bucket_name>"
},
"label": "objectstore",
"name": "<serviceInstanceName>",
"plan": "standard",
"provider": null,
"syslog_drain_url": null,
"tags": [
"blobStore",
"objectStore"
],
"volume_mounts": []
}
]
}
}
The following describes the parameters that are included in the credentials:
-
base64EncodedPrivateKeyData: Base 64 encoded string of the JSON credential of the service account
-
projectId: Google Cloud Project ID in which Google Cloud Storage bucket is created
-
keyAlgo: Key Algorithm
-
region: Region in which the bucket is created
-
bucket: Name of the bucket provisioned as part of instance creation