メインコンテンツへスキップ

list-cloudflow-connections

dci list-cloudflow-connections [flags]

Returns a cursor-paginated list of cloud provider connections for the authenticated tenant.

Where the IDs go

connectionId is what get-, update-, and delete-cloudflow-connection take, and what import-cloudflow-flow expects in bindings.connections when rebinding an exported bundle. The API does not filter or sort this listing server-side, so use --search to narrow it.

Examples​

# The cloud provider connections in your tenant — which clouds your flows can reach.
dci list-cloudflow-connections
# Find connections by keyword (client-side, case-insensitive, scans every page).
dci list-cloudflow-connections --search production
# Just the columns that matter for binding a bundle's requirements.
dci list-cloudflow-connections -C connectionId,name,status,enabled
# Every page as JSON, for scripts.
dci list-cloudflow-connections --all --output json

Flags​

FlagTypeDefaultExampleDescription
--max-resultsinteger50Maximum number of connections to return (1–100). Defaults to 50.
--page-tokenstringPagination cursor returned by a previous call.

Every command also accepts the CLI-wide flags for output shaping — see Output formats and Table output options.

Output​

OK

By default dci renders the result as a table. Use --output json to get the full structure described below — see Output formats.

FieldTypeDescription
itemsarray of objectList of connections for the current page.
items[].connectionIdstringUnique identifier for the connection.
items[].namestring
items[].descriptionstring
items[].gcpConfigobjectGCP connection configuration. Server-owned fields (status, deploymentCommand) are excluded.
items[].gcpConfig.statusstringServer-managed GCP config status.
items[].gcpConfig.deploymentCommandstringGenerated deployment command.
items[].gcpConfig.organizationIdstring
items[].gcpConfig.folderIdstring
items[].gcpConfig.projectIdstring
items[].gcpConfig.levelstringOne of: "organization", "folder", "project".
items[].gcpConfig.serviceAccountNamestring
items[].gcpConfig.predefinedRolesarray of string
items[].gcpConfig.customRoleobject
items[].gcpConfig.customRole.roleIdstring
items[].gcpConfig.customRole.permissionsarray of string
items[].gcpConfig.infraManagerProjectstring
items[].gcpConfig.infraManagerLocationstring
items[].gcpConfig.infraManagerServiceAccountstring
items[].awsConfigobjectAWS connection configuration. Server-owned fields (context[].status, context[].nextStackOperation, stackSet) are excluded.
items[].awsConfig.contextarray of object
items[].awsConfig.context[].accountIdstring
items[].awsConfig.context[].regionsarray of string
items[].awsConfig.permissionsobjectIAM permissions granted to the CloudFlow role.
items[].awsConfig.permissions.awsManagedPoliciesarray of stringAWS-managed policy ARNs attached to the role.
items[].awsConfig.permissions.actionsarray of objectCustom IAM actions. Nested fields omitted — see the raw JSON schema.
items[].awsConfig.roleNamestring
items[].awsConfig.managementAccountstring
items[].awsConfig.organizationRootIdstring
items[].awsConfig.scopeTargetedOrganizationalUnitIdsarray of string
items[].awsConfig.scopeExplicitAccountIdsarray of string
items[].awsConfig.scopeExcludedAccountIdsarray of string
items[].awsConfig.scopeManagementAccountExplicitInScopeboolean
items[].collaboratorsarray of object
items[].collaborators[].emailstring (email)
items[].collaborators[].rolestringOne of: "owner", "editor", "user".
items[].enabledbooleanfalse when the connection is disabled.
items[].statusstringOverall connection status.
items[].createdAtstring (date-time)
items[].updatedAtstring (date-time)
items[].etagstringCurrent version of the connection. Send it unchanged in If-Match to update or delete.
pageTokenstringOpaque cursor for the next page. null when there are no more results.
rowCountintegerAlways null. Row count is not computed for this endpoint.
Raw JSON schema
{
"type": "object",
"description": "Cursor-paginated list of CloudFlow connections.",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"description": "List of connections for the current page.",
"items": {
"type": "object",
"description": "A cloud provider connection used in CloudFlow workflows.",
"properties": {
"connectionId": {
"type": "string",
"description": "Unique identifier for the connection."
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"gcpConfig": {
"allOf": [
{
"type": "object",
"description": "GCP connection configuration. Server-owned fields (status, deploymentCommand) are excluded.",
"properties": {
"organizationId": {
"type": "string"
},
"folderId": {
"type": "string"
},
"projectId": {
"type": "string"
},
"level": {
"type": "string",
"enum": [
"organization",
"folder",
"project"
]
},
"serviceAccountName": {
"type": "string"
},
"predefinedRoles": {
"type": "array",
"items": {
"type": "string"
}
},
"customRole": {
"type": "object",
"properties": {
"roleId": {
"type": "string"
},
"permissions": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"infraManagerProject": {
"type": "string"
},
"infraManagerLocation": {
"type": "string"
},
"infraManagerServiceAccount": {
"type": "string"
}
}
},
{
"type": "object",
"description": "Response extends request schema with server-owned read-only fields.",
"properties": {
"status": {
"type": "string",
"description": "Server-managed GCP config status."
},
"deploymentCommand": {
"type": "string",
"description": "Generated deployment command."
}
}
}
]
},
"awsConfig": {
"allOf": [
{
"type": "object",
"description": "AWS connection configuration. Server-owned fields (context[].status, context[].nextStackOperation, stackSet) are excluded.",
"properties": {
"context": {
"type": "array",
"items": {
"type": "object",
"properties": {
"accountId": {
"type": "string"
},
"regions": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"roleName": {
"type": "string"
},
"permissions": {
"type": "object",
"description": "IAM permissions granted to the CloudFlow role.",
"properties": {
"awsManagedPolicies": {
"type": "array",
"description": "AWS-managed policy ARNs attached to the role.",
"items": {
"type": "string"
}
},
"actions": {
"type": "array",
"description": "Custom IAM actions.",
"items": {
"type": "object",
"description": "A custom IAM action granted to the CloudFlow role.",
"required": [
"value"
],
"properties": {
"value": {
"type": "string",
"description": "IAM action, for example `s3:ListBucket`."
}
}
}
}
}
},
"managementAccount": {
"type": "string"
},
"organizationRootId": {
"type": "string"
},
"scopeTargetedOrganizationalUnitIds": {
"type": "array",
"items": {
"type": "string"
}
},
"scopeExplicitAccountIds": {
"type": "array",
"items": {
"type": "string"
}
},
"scopeExcludedAccountIds": {
"type": "array",
"items": {
"type": "string"
}
},
"scopeManagementAccountExplicitInScope": {
"type": "boolean"
}
}
},
{
"type": "object",
"description": "Response extends request schema with server-owned read-only fields.",
"properties": {
"context": {
"type": "array",
"items": {
"type": "object",
"properties": {
"accountId": {
"type": "string"
},
"regions": {
"type": "array",
"items": {
"type": "string"
}
},
"status": {
"type": "string",
"description": "Server-managed per-account deployment status."
}
}
}
},
"permissions": {
"type": "object",
"description": "Response extends request schema with server-assigned action identifiers.",
"properties": {
"actions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "IAM action, for example `s3:ListBucket`."
},
"id": {
"type": "string",
"description": "Server-returned row identifier. Not used for permission evaluation."
}
}
}
}
}
}
}
}
]
},
"collaborators": {
"type": "array",
"items": {
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email"
},
"role": {
"type": "string",
"enum": [
"owner",
"editor",
"user"
]
}
}
}
},
"enabled": {
"type": "boolean",
"description": "false when the connection is disabled."
},
"status": {
"type": "string",
"description": "Overall connection status."
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"etag": {
"type": "string",
"description": "Current version of the connection. Send it unchanged in `If-Match` to update or delete."
}
}
}
},
"pageToken": {
"type": "string",
"nullable": true,
"description": "Opaque cursor for the next page. `null` when there are no more results."
},
"rowCount": {
"type": "integer",
"nullable": true,
"description": "Always `null`. Row count is not computed for this endpoint."
}
}
}

Errors​

On failure, dci prints a single error message — with a hint when one is available — and exits with a typed code your scripts can branch on. See Errors and exit codes for the full contract.

HTTP status to exit code mapping
HTTP statusExit codeError codeMeaning
40030VALIDATION_ERRORThe arguments or request body were rejected. Review the command's flags and payload.
40110AUTHENTICATION_FAILEDNot signed in, or the API token is invalid. Run dci login or check DCI_API_KEY.
40311PERMISSION_DENIEDThe DoiT user or the active customer context does not have access.
50040API_SERVER_ERRORThe API failed to process the request. Retryable; contact DoiT support if it persists.

Aliases: listcloudflowconnections