Register Google Cloud credentials
POST /account/{accountId}/providers/cloudmanager_cbs/api/v2/gcp/credentials
Registers Google Cloud credentials for a Google Cloud project in the NetApp Console SaaS application.
Token usage: NetApp Console user token.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
accountId |
string |
path |
True |
Account ID |
authorization |
string |
header |
True |
User token |
X-Agent-Id |
string |
header |
True |
Request identifier |
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
credentials-id |
string |
True |
Credentials ID. Must only contain lower case alphabetic characters, numbers and hyphen(-). Must start and end with an alphabetic character or number. |
access-key |
string |
True |
Google Cloud access-key. |
secret-password |
string |
True |
Google Cloud secret-password. |
Example request
{
"credentials-id": "string",
"access-key": "string",
"secret-password": "string"
}
Response
Status: 200, Default response
Definitions
See Definitions
body
| Name | Type | Required | Description |
|---|---|---|---|
credentials-id |
string |
True |
Credentials ID. Must only contain lower case alphabetic characters, numbers and hyphen(-). Must start and end with an alphabetic character or number. |
access-key |
string |
True |
Google Cloud access-key. |
secret-password |
string |
True |
Google Cloud secret-password. |