Skip to main content
POST
Create a GCP service-account key credential

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Ankra-Organisation-Id
string<uuid>

Act in another organisation the token's owner is an active member of; defaults to the token's own organisation.

X-Ankra-Project-Id
string<uuid>

Act in another project of the organisation; a token pinned to a project cannot leave it.

Body

application/json
name
string
required
project_id
string
required
service_account_key
string
required

Response

The credential

id
string<uuid>
name
string
provider
string
Allowed value: "gcp"
organisation_id
string<uuid>
system
boolean
available
boolean