Skip to main content

Modify the source or target credentials

Contributors

PUT /api/accounts/{accountId}/relationships/{id}/credentials

Modifies the source or target credentials.

Parameters

Name Type In Required Description

id

string

path

True

Relationship Id

accountId

string

path

True

NetApp tenancy account id

Request Body

Name Type Required Description

source

source

False

target

target

False

Example request
{
  "source": {
    "sftp": {
      "username": "string",
      "password": "string"
    },
    "cifs": {
      "username": "string",
      "password": "string",
      "domain": "string"
    },
    "s3": {
      "accessKey": "string",
      "secretKey": "string"
    },
    "azure": {
      "storageAccountConnectionString": "string"
    },
    "box": {
      "clientSecret": "string",
      "publicKeyId": "string",
      "privateKey": "string",
      "passphrase": "string"
    },
    "gdrive": {
      "clientEmail": "string",
      "privateKey": "string"
    }
  },
  "target": {
    "sftp": {
      "username": "string",
      "password": "string"
    },
    "cifs": {
      "username": "string",
      "password": "string",
      "domain": "string"
    },
    "s3": {
      "accessKey": "string",
      "secretKey": "string"
    },
    "azure": {
      "storageAccountConnectionString": "string"
    },
    "box": {
      "clientSecret": "string",
      "publicKeyId": "string",
      "privateKey": "string",
      "passphrase": "string"
    },
    "gdrive": {
      "clientEmail": "string",
      "privateKey": "string"
    }
  }
}

Response

Status: 202, Default Response

Definitions

See Definitions

sftp

Name Type Required Description

username

string

False

UserName

password

string

False

Password

cifs

CIFS credentials

Name Type Required Description

username

string

True

User name

password

string

True

password

domain

string

False

Domain

s3

S3 provider credentials

Name Type Required Description

accessKey

string

True

Access Key

secretKey

string

True

Secret Key

azure

Azure Blob Storage Credentials

Name Type Required Description

storageAccountConnectionString

string

False

Azure Blob Storage account Connection string ( for blob to blob copy should be SaS-Connection-String)

box

Name Type Required Description

clientSecret

string

True

Client secret

publicKeyId

string

True

Public Key Id

privateKey

string

True

Private Key

passphrase

string

True

Passphrase

gdrive

Name Type Required Description

clientEmail

string

True

Service Account email

privateKey

string

True

Private Key

source

Name Type Required Description

sftp

sftp

False

cifs

cifs

False

CIFS credentials

s3

s3

False

S3 provider credentials

azure

azure

False

Azure Blob Storage Credentials

box

box

False

gdrive

gdrive

False

target

Name Type Required Description

sftp

sftp

False

cifs

cifs

False

CIFS credentials

s3

s3

False

S3 provider credentials

azure

azure

False

Azure Blob Storage Credentials

box

box

False

gdrive

gdrive

False