Before you can do any Ocean deployments, you need to register your cloud credentials to Ocean. These credentials will be used by Ocean to access your cloud account and deploy any resources you need in your Ocean deployments.
Create a credential
Register a cloud credential to Ocean.
Request
POST /v0/credentials HTTP1.1Authorization:Bearer {token}Content-Type:application/json{requestbody}
The following are some example request payloads for {request body} per provider.
GCP (for GCP, secret is your service account's JSON file):
Response
When creating Ocean templates, you will use the credential's name part as the name for the template's credential entry. This name should be unique per account.