Skip to main content

Modify bucket properties for a cloud provider

PUT /account/{accountId}/providers/cloudmanager_cbs/api/v1/object-storage

Modifies the bucket properties for the specified provider.

Parameters

Name Type In Required Description

authorization

string

header

True

Authorization token

X-Agent-Id

string

header

True

Agent ID

job-id

string

header

True

Job ID for the modify bucket operation

accountId

string

path

True

Request Body

Name Type Required Description

provider

string

True

Cloud provider type

region

string

True

Region for the bucket

object-store-name

string

True

Object store name

aws

aws

False

azure

azure

False

gcp

gcp

False

Example request
{
  "provider": "string",
  "region": "string",
  "object-store-name": "string",
  "aws": {
    "account-id": "string",
    "kms-key-id": "string"
  },
  "azure": {
    "subscription": "string",
    "resource-group": "string",
    "key-vault": {
      "key-vault-id": "string",
      "key-name": "string"
    }
  },
  "gcp": {
    "project-id": "string",
    "kms": {
      "key-ring-id": "string",
      "crypto-key-id": "string"
    }
  }
}

Response

Status: 202, Default response

Definitions

See Definitions

aws

Name Type Required Description

account-id

string

True

AWS account ID

kms-key-id

string

True

AWS KMS key ID

key-vault

Name Type Required Description

key-vault-id

string

True

Azure Key Vault ID

key-name

string

True

Azure Key Vault key name

azure

Name Type Required Description

subscription

string

True

Azure subscription

resource-group

string

True

Azure resource group

key-vault

key-vault

True

kms

Name Type Required Description

key-ring-id

string

True

Google Cloud KMS key ring ID

crypto-key-id

string

True

Google Cloud KMS crypto key ID

gcp

Name Type Required Description

project-id

string

True

Google Cloud project ID

kms

kms

True

body

Name Type Required Description

provider

string

True

Cloud provider type

region

string

True

Region for the bucket

object-store-name

string

True

Object store name

aws

aws

False

azure

azure

False

gcp

gcp

False