Cloud Providers /
Update integration
Required permission
Account > Cloud > Integrations > Update
Path parameters
integrationId
string requiredID of the provider integration
Request body
- {object}
description
stringThe description of the integration.max length200pattern^[a-zA-Z0-9.,?\s\\/'"()[\];`%^&*\-_:!]+$credentials
{object} requiredCloud provider credential input, required fields dependent on which provider is chosen.keyfileJson
stringContents of a GCP key file.accessKey
stringAWS access key.secretKey
stringAWS secret key.roleArn
stringAWS IAM role ARN.externalId
stringAWS shared secret (external id).apiKey
stringCivo API key.tenantId
stringDirectory (tenant) IDclientId
stringApplication (client) IDobjectId
stringObject IDsecret
stringSecretsubscriptionId
stringAzure Subscription IDregion
stringOCI Authentication RegiontenancyId
stringOCI Tenancy IDuserId
stringUser IDfingerprint
stringFingerprintprivateKey
stringOCI Private Keypassphrase
stringPassphrasecompartmentId
stringOCI Compartment ID
Response body
- {object}Response object.
data
{object} requiredResult data.id
string requiredID of the integrationpattern^[A-Za-z0-9-]+$name
string requiredThe name of the cloud provider integration.min length3max length39pattern^[a-zA-Z]((-|\s)?[a-zA-Z0-9]+((-|\s)[a-zA-Z0-9]+)*)?$description
stringThe description of the integration.max length200pattern^[a-zA-Z0-9.,?\s\\/'"()[\];`%^&*\-_:!]+$provider
string requiredCloud provider to be used for the selected resourceone ofaws, azure, civo, gcp, oci, byokfeatures
[array]- stringThe type of provider integration.one ofbyoc, byoc-static-egress, byoc-custom-vpc, cloudfront, self-hosted-registry, route53, self-hosted-logs-metrics, docker-registry-credential
credentials
{object} requiredCloud provider credential input, required fields dependent on which provider is chosen.keyfileJson
stringContents of a GCP key file.accessKey
stringAWS access key.secretKey
stringAWS secret key.roleArn
stringAWS IAM role ARN.externalId
stringAWS shared secret (external id).apiKey
stringCivo API key.tenantId
stringDirectory (tenant) IDclientId
stringApplication (client) IDobjectId
stringObject IDsecret
stringSecretsubscriptionId
stringAzure Subscription IDregion
stringOCI Authentication RegiontenancyId
stringOCI Tenancy IDuserId
stringUser IDfingerprint
stringFingerprintprivateKey
stringOCI Private Keypassphrase
stringPassphrasecompartmentId
stringOCI Compartment IDaws
{object}AWS specific data. Required when `provider` is `aws`.authenticationMode
stringThe provider authentication mode to use for this integration.one ofaccessKey, crossAccountRolegcp
{object}GCP specific data. Required when `provider` is `gcp`.projectId
string requiredGCP Project IDauthenticationMode
stringThe provider authentication mode to use for this integration.one ofaccessKey, crossAccountRoleserviceAccountEmail
stringService account email that will be used for cross account access.createdAt
string requiredThe time the integration was created.
POST /v1/cloud-providers/integrations/{integrationId}
Example request
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request POST \
--data '{"description":"This is a new description."}' \
https://api.northflank.com/v1/cloud-providers/integrations/{integrationId}
Example response
200 OK
JSON
{
"data": {
"id": "example-integration",
"name": "Example Integration",
"description": "This is a new cloud provider integration.",
"provider": "gcp",
"features": [
"byoc"
],
"aws": {
"authenticationMode": "accessKey"
},
"gcp": {
"authenticationMode": "accessKey"
},
"createdAt": "2021-01-20T11:19:53.175Z"
}
}