Update credentials (GraphQL)

Related queries and mutations in Integrations and connections. Each has its own section.

Mutations

testUpdatedCredentialsV2 (mutation)

testUpdatedCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Test the updated credentials of an existing connection.

Arguments

ArgumentTypeDescription
connectionIdUUIDThe existing connection the credentials are for. When set, the validation checks the tables the connection reads in place of system tables (custom source tables). The caller must be allowed to edit integrations. A connection whose type differs from connectionType is tested without those tables.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
connectionTypeString!The type of the existing connection to test.
tempCredentialsKeyString!The temporary credentials key to use to retrieve new credentials.
validationNameString!Name of the validation test that should be run.

Returns

TestUpdatedCredentialsV2Mutation

Example

mutation TestUpdatedCredentialsV2($connectionType: String!, $tempCredentialsKey: String!, $validationName: String!) {
  testUpdatedCredentialsV2(connectionType: $connectionType, tempCredentialsKey: $tempCredentialsKey, validationName: $validationName) {
    validationResult {
      success
      validationName
      description
    }
  }
}

Types used only by testUpdatedCredentialsV2

TestUpdatedCredentialsV2Mutation

Object type. Test the updated credentials of an existing connection.

FieldTypeDescription
validationResultTestCredentialsV2ResponseResult of the validation.

Related types

ConnectionTestOptions, TestCredentialsV2Response, UUID

updateAthenaCredentialsV2 (mutation)

updateAthenaCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Updated AWS Athena connection details

Arguments

ArgumentTypeDescription
changesAthenaUpdateConnectionDetails!Updated AWS Athena connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdateAthenaCredentialsV2Mutation

Example

mutation UpdateAthenaCredentialsV2($changes: AthenaUpdateConnectionDetails!, $connectionId: UUID!) {
  updateAthenaCredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updateAthenaCredentialsV2

AthenaUpdateConnectionDetails

Input object type.

FieldTypeDescription
catalogStringAthena data catalog name
assumableRoleStringARN of AWS IAM role to assume
externalIdStringExternal ID for AWS IAM role assumption
workgroupStringAthena workgroup name
awsRegionStringAWS region
UpdateAthenaCredentialsV2Mutation

Object type. Update credentials for an existing AWS Athena connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

UUID, UpdateCredentialsV2Result

updateAzureDataFactoryCredentialsV2 (mutation)

updateAzureDataFactoryCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Updates Azure Data Factory credentials for an existing connection

Arguments

ArgumentTypeDescription
changesAzureDataFactoryUpdateConnectionDetails!Updated Azure Data Factory connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdateAzureDataFactoryCredentialsV2Mutation

Example

mutation UpdateAzureDataFactoryCredentialsV2($changes: AzureDataFactoryUpdateConnectionDetails!, $connectionId: UUID!) {
  updateAzureDataFactoryCredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updateAzureDataFactoryCredentialsV2

AzureDataFactoryUpdateConnectionDetails

Input object type.

FieldTypeDescription
tenantIdStringAzure tenant id
clientIdStringAzure client id
clientSecretStringAzure client secret
subscriptionIdStringAzure subscription id
resourceGroupNameStringAzure resource group name
factoryNameStringAzure Data Factory name
UpdateAzureDataFactoryCredentialsV2Mutation

Object type. Update credentials for an existing Azure Data Factory connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

UUID, UpdateCredentialsV2Result

updateBigQueryCredentialsV2 (mutation)

updateBigQueryCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Update credentials for an existing Big Query connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

Arguments

ArgumentTypeDescription
changesBigQueryUpdateConnectionDetails!Updated Big Query connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdateBigQueryCredentialsV2Mutation

Example

mutation UpdateBigQueryCredentialsV2($changes: BigQueryUpdateConnectionDetails!, $connectionId: UUID!) {
  updateBigQueryCredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updateBigQueryCredentialsV2

BigQueryUpdateConnectionDetails

Input object type.

FieldTypeDescription
serviceJsonString!Service account key file as a base64 string
UpdateBigQueryCredentialsV2Mutation

Object type. Update credentials for an existing Big Query connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

UUID, UpdateCredentialsV2Result

updateCredentialsV2 (mutation)

updateCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Save the updated credentials for an existing connection.

Arguments

ArgumentTypeDescription
connectionIdUUID!The connection uuid of the connection to update.
tempCredentialsKeyString!The temporary credentials key to use to retrieve new credentials.

Returns

UpdateCredentialsV2Mutation

Example

mutation UpdateCredentialsV2($connectionId: UUID!, $tempCredentialsKey: String!) {
  updateCredentialsV2(connectionId: $connectionId, tempCredentialsKey: $tempCredentialsKey) {
    success
    updatedAt
  }
}

Types used only by updateCredentialsV2

UpdateCredentialsV2Mutation

Object type. Save the updated credentials for an existing connection.

FieldTypeDescription
successBooleanResult of the update credentials operation.
updatedAtDateTimeThe timestamp when the credentials were last updated

Related types

DateTime, UUID

updateDatabricksMetastoreSqlWarehouseCredentialsV2 (mutation)

updateDatabricksMetastoreSqlWarehouseCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Update credentials for an existing Databricks Metastore SQL Warehouse connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

Arguments

ArgumentTypeDescription
changesDatabricksSqlWarehouseUpdateConnectionDetails!Updated Databricks Metastore SQL Warehouse connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdateDatabricksMetastoreSQLWarehouseCredentialsV2Mutation

Example

mutation UpdateDatabricksMetastoreSqlWarehouseCredentialsV2($changes: DatabricksSqlWarehouseUpdateConnectionDetails!, $connectionId: UUID!) {
  updateDatabricksMetastoreSqlWarehouseCredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updateDatabricksMetastoreSqlWarehouseCredentialsV2

UpdateDatabricksMetastoreSQLWarehouseCredentialsV2Mutation

Object type. Update credentials for an existing Databricks Metastore SQL Warehouse connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

DatabricksSqlWarehouseUpdateConnectionDetails, UUID, UpdateCredentialsV2Result

updateDatabricksSqlWarehouseCredentialsV2 (mutation)

updateDatabricksSqlWarehouseCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Update credentials for an existing Databricks SQL Warehouse connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

Arguments

ArgumentTypeDescription
changesDatabricksSqlWarehouseUpdateConnectionDetails!Updated Databricks SQL Warehouse connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdateDatabricksSQLWarehouseCredentialsV2Mutation

Example

mutation UpdateDatabricksSqlWarehouseCredentialsV2($changes: DatabricksSqlWarehouseUpdateConnectionDetails!, $connectionId: UUID!) {
  updateDatabricksSqlWarehouseCredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updateDatabricksSqlWarehouseCredentialsV2

UpdateDatabricksSQLWarehouseCredentialsV2Mutation

Object type. Update credentials for an existing Databricks SQL Warehouse connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

DatabricksSqlWarehouseUpdateConnectionDetails, UUID, UpdateCredentialsV2Result

updateDbtCloudCredentialsV2Mutation (mutation)

updateDbtCloudCredentialsV2Mutation is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Update credentials for an existing dbt cloud connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

Arguments

ArgumentTypeDescription
changesDbtCloudUpdateConnectionDetails!Updated dbt Cloud connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdateDbtCloudCredentialsV2Mutation

Example

mutation UpdateDbtCloudCredentialsV2Mutation($changes: DbtCloudUpdateConnectionDetails!, $connectionId: UUID!) {
  updateDbtCloudCredentialsV2Mutation(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updateDbtCloudCredentialsV2Mutation

DbtCloudUpdateConnectionDetails

Input object type.

FieldTypeDescription
dbtCloudBaseUrlStringdbt cloud URL
dbtCloudWebhookHmacSecretStringdbt cloud webhook HMAC secret
dbtCloudWebhookIdStringdbt cloud webhook ID
dbtCloudApiTokenStringdbt cloud API token
dbtCloudAccountIdStringdbt cloud account ID
UpdateDbtCloudCredentialsV2Mutation

Object type. Update credentials for an existing dbt cloud connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

UUID, UpdateCredentialsV2Result

updateGcpDataformCredentialsV2 (mutation)

updateGcpDataformCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Updates GCP Dataform credentials for an existing connection

Arguments

ArgumentTypeDescription
changesGcpDataformUpdateConnectionDetails!Updated GCP Dataform connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdateGcpDataformCredentialsV2Mutation

Example

mutation UpdateGcpDataformCredentialsV2($changes: GcpDataformUpdateConnectionDetails!, $connectionId: UUID!) {
  updateGcpDataformCredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updateGcpDataformCredentialsV2

GcpDataformUpdateConnectionDetails

Input object type.

FieldTypeDescription
projectIdStringGCP project ID containing Dataform repositories.
locations[String!]GCP regions to scan for Dataform repositories (e.g. ["us-central1"]).
serviceAccountInfoJSONStringGCP service account JSON key with Dataform API access. Stored encrypted.
UpdateGcpDataformCredentialsV2Mutation

Object type. Update credentials for an existing GCP Dataform connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

JSONString, UUID, UpdateCredentialsV2Result

updateGlueCredentialsV2 (mutation)

updateGlueCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Updated AWS Glue connection details

Arguments

ArgumentTypeDescription
changesGlueUpdateConnectionDetails!Updated AWS Glue connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdateGlueCredentialsV2Mutation

Example

mutation UpdateGlueCredentialsV2($changes: GlueUpdateConnectionDetails!, $connectionId: UUID!) {
  updateGlueCredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updateGlueCredentialsV2

GlueUpdateConnectionDetails

Input object type.

FieldTypeDescription
assumableRoleStringARN of AWS IAM role to assume
externalIdStringExternal ID for AWS IAM role assumption
awsRegionStringAWS region
sslOptionsSslOptionsOptional SSL options
UpdateGlueCredentialsV2Mutation

Object type. Update credentials for an existing AWS Glue connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

SslOptions, UUID, UpdateCredentialsV2Result

updateInformaticaV2CredentialsV2 (mutation)

updateInformaticaV2CredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Updates Informatica v2 credentials for an existing connection

Arguments

ArgumentTypeDescription
changesInformaticaV2UpdateConnectionDetails!Updated Informatica v2 connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdateInformaticaV2CredentialsV2Mutation

Example

mutation UpdateInformaticaV2CredentialsV2($changes: InformaticaV2UpdateConnectionDetails!, $connectionId: UUID!) {
  updateInformaticaV2CredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updateInformaticaV2CredentialsV2

InformaticaV2UpdateConnectionDetails

Input object type.

FieldTypeDescription
authModeInformaticaV2AuthModeEnum!Authentication mode the updated credentials should use. Must be supplied on every edit — switching modes drops the previous mode's fields from the stored credentials.
oauthOAuthConfigurationOAuth grant configuration. When auth_mode is oauth, fields omitted here are filled in from the existing stored OAuth configuration so customers can rotate individual secrets without re-supplying the full block.
orgIdStringInformatica organization ID. Required when auth_mode is oauth and no existing oauth credentials are stored.
usernameStringInformatica username. Required when auth_mode is password and no existing password credentials are stored.
passwordStringInformatica password. Required when auth_mode is password and no existing password credentials are stored.
baseUrlStringInformatica login base URL. Omit to preserve the previously stored value.
UpdateInformaticaV2CredentialsV2Mutation

Object type. Update credentials for an existing Informatica v2 connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

InformaticaV2AuthModeEnum, OAuthConfiguration, UUID, UpdateCredentialsV2Result

updateLookerCredentialsV2 (mutation)

updateLookerCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Update credentials for an existing Looker connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

Arguments

ArgumentTypeDescription
changesLookerUpdateConnectionDetails!Updated Looker connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdateLookerCredentialsV2Mutation

Example

mutation UpdateLookerCredentialsV2($changes: LookerUpdateConnectionDetails!, $connectionId: UUID!) {
  updateLookerCredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updateLookerCredentialsV2

LookerUpdateConnectionDetails

Input object type.

FieldTypeDescription
baseUrlStringHost url
clientIdStringLooker client id
clientSecretStringLooker client secret
verifySslBooleanVerify SSL (uncheck for self-signed certs)
UpdateLookerCredentialsV2Mutation

Object type. Update credentials for an existing Looker connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

UUID, UpdateCredentialsV2Result

updateLookerGitAuthCredentialsV2 (mutation)

updateLookerGitAuthCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Updates the Git authentication details, supports HTTPS or SSH protocol.

Arguments

ArgumentTypeDescription
changesLookerGitAuthUpdateConnectionDetails!Updated Looker connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdateLookerGitAuthCredentialsV2Mutation

Example

mutation UpdateLookerGitAuthCredentialsV2($changes: LookerGitAuthUpdateConnectionDetails!, $connectionId: UUID!) {
  updateLookerGitAuthCredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updateLookerGitAuthCredentialsV2

LookerGitAuthUpdateConnectionDetails

Input object type.

FieldTypeDescription
sshKeyStringSSH key, base64-encoded
repoUrlString!Repository URL as ssh://[user@]server/project.git or the shorter form [user@]server:project.git
usernameStringUsername for Git authentication
tokenStringToken for Git authentication
sslOptionsSslOptionsOptional SSL options for HTTPS git clones against self-managed Git providers. Only ca_data (inline PEM CA bundle) and skip_cert_verification are honored by the git subprocess; other fields are ignored. No-op for SSH integrations.
UpdateLookerGitAuthCredentialsV2Mutation

Object type. Update credentials for an existing Looker connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

SslOptions, UUID, UpdateCredentialsV2Result

updatePineconeCredentialsV2 (mutation)

updatePineconeCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Update credentials for an existing Pinecone connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

Arguments

ArgumentTypeDescription
changesPineconeUpdateConnectionDetails!Updated Pinecone connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdatePineconeCredentialsV2Mutation

Example

mutation UpdatePineconeCredentialsV2($changes: PineconeUpdateConnectionDetails!, $connectionId: UUID!) {
  updatePineconeCredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updatePineconeCredentialsV2

PineconeUpdateConnectionDetails

Input object type.

FieldTypeDescription
environmentStringIdentifier of Pinecone environment (e.g. us-east-1-aws).
projectIdStringIdentifier of Pinecone project.
apiKeyStringAPI key for Pinecone project.
UpdatePineconeCredentialsV2Mutation

Object type. Update credentials for an existing Pinecone connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

UUID, UpdateCredentialsV2Result

updatePowerBiCredentialsV2 (mutation)

updatePowerBiCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Update credentials for an existing PowerBi connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

Arguments

ArgumentTypeDescription
changesPowerBiUpdateConnectionDetails!Updated PowerBi connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdatePowerBiCredentialsV2Mutation

Example

mutation UpdatePowerBiCredentialsV2($changes: PowerBiUpdateConnectionDetails!, $connectionId: UUID!) {
  updatePowerBiCredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updatePowerBiCredentialsV2

PowerBIUpdateAuthModeEnumV2

Enum type.

ValueDescription
SERVICE_PRINCIPAL
PRIMARY_USER
PowerBiUpdateConnectionDetails

Input object type.

FieldTypeDescription
tenantIdStringAzure Power BI tenant uuid
authModePowerBIUpdateAuthModeEnumV2!Authentication mode. We support two values here [service_principal, primary_user]
clientIdStringApp Client UUID
clientSecretStringSecret key for the client ID. Required if auth_mode is service_principal.
usernameStringUsername when auth as a primary user. Required if auth_mode is primary_user.
passwordStringPassword when auth as a primary user. Required if auth_mode is primary_user.
UpdatePowerBiCredentialsV2Mutation

Object type. Update credentials for an existing PowerBi connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

UUID, UpdateCredentialsV2Result

updateRedshiftCredentialsV2 (mutation)

updateRedshiftCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Update credentials for an existing Redshift connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

Arguments

ArgumentTypeDescription
changesRedshiftUpdateConnectionDetails!Updated Redshift connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdateRedshiftCredentialsV2Mutation

Example

mutation UpdateRedshiftCredentialsV2($changes: RedshiftUpdateConnectionDetails!, $connectionId: UUID!) {
  updateRedshiftCredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updateRedshiftCredentialsV2

RedshiftUpdateConnectionDetails

Input object type.

FieldTypeDescription
dbNameStringName of database to add connection for
hostStringHostname of the warehouse
portIntHTTP Port to use
userStringUser with access to the database
passwordStringUser's password
sslOptionsSslUpdateOptionsOptional SSL options.
UpdateRedshiftCredentialsV2Mutation

Object type. Update credentials for an existing Redshift connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

SslUpdateOptions, UUID, UpdateCredentialsV2Result

updateSelfHostedCredentialsV2 (mutation)

updateSelfHostedCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Update self-hosted credentials for existing connection

Arguments

ArgumentTypeDescription
changesSelfHostedUpdateCredentialsConnectionDetails!Updated connection parameters for the connection with self-hosted credentials.
connectionIdUUID!ID for connection to update.
replaceBooleanSet true to replace credentials with changes. Otherwise merges. Default: false.

Returns

UpdateSelfHostedCredentialsV2Mutation

Example

mutation UpdateSelfHostedCredentialsV2($changes: SelfHostedUpdateCredentialsConnectionDetails!, $connectionId: UUID!) {
  updateSelfHostedCredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updateSelfHostedCredentialsV2

DecryptionServiceUpdateTypeEnum

Enum type.

ValueDescription
KMS
SelfHostedUpdateCredentialsConnectionDetails

Input object type.

FieldTypeDescription
selfHostedCredentialsTypeSelfHostedUpdateCredentialsTypeEnumSelf-hosted credentials type (e.g. 'env_var', 'aws_secrets_manager')
decryptionServiceTypeDecryptionServiceUpdateTypeEnumOptional type of service used to decrypt environment variable credentials (e.g. 'kms'). Required when self_hosted_credentials_type is 'env_var'.
envVarNameStringName of environment variable containing credentials. Required when self_hosted_credentials_type is 'env_var'.
kmsKeyIdStringOptional KMS key id for decrypting environment variable credentials. Required when decryption_service_type is 'kms'.
awsSecretStringARN or name of AWS Secret Manager secret containing credentials. Required when self_hosted_credentials_type is 'aws_secrets_manager'.
gcpSecretStringName of GCP Secret Manager secret containing credentials. Required when self_hosted_credentials_type is 'gcp_secrets_manager'.
akvVaultNameStringName of Azure Key Vault containing credentials. Required when self_hosted_credentials_type is 'azure_key_vault' and 'akv_vault_url' is not provided.
akvVaultUrlStringURL of Azure Key Vault containing credentials. Required when self_hosted_credentials_type is 'azure_key_vault' and 'akv_vault_name' is not provided.
akvSecretStringName of Azure Key Vault secret containing credentials. Required when self_hosted_credentials_type is 'azure_key_vault'.
filePathStringPath to file containing credentials on the agent. Required when self_hosted_credentials_type is 'file'.
awsRegionStringOptional AWS region to access ASM secret or KMS key
assumableRoleStringOptional ARN of AWS role to assume when accessing secret manager secret or KMS key
externalIdStringOptional external id for AWS assumable role
bqProjectIdStringOptional BigQuery project ID for running queries, defaulting to the service account's project. When omitted, the collector discovers all projects the service account can access. Setting it limits collection to that project.
databricksWarehouseIdStringOptional Databricks SQL warehouse ID. Required for Databricks SQL warehouse connections with self-hosted credentials.
SelfHostedUpdateCredentialsTypeEnum

Enum type.

ValueDescription
ENV_VAR
AWS_SECRETS_MANAGER
GCP_SECRET_MANAGER
AZURE_KEY_VAULT
FILE
UpdateSelfHostedCredentialsV2Mutation

Object type. Update credentials for an existing self-hosted connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

UUID, UpdateCredentialsV2Result

updateSnowflakeCredentialsV2 (mutation)

updateSnowflakeCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Update credentials for an existing Snowflake connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

Arguments

ArgumentTypeDescription
changesSnowflakeUpdateConnectionDetails!Updated Snowflake connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdateSnowflakeCredentialsV2Mutation

Example

mutation UpdateSnowflakeCredentialsV2($changes: SnowflakeUpdateConnectionDetails!, $connectionId: UUID!) {
  updateSnowflakeCredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updateSnowflakeCredentialsV2

SnowflakeUpdateConnectionDetails

Input object type.

FieldTypeDescription
userStringUser with access to snowflake.
passwordStringUser's password if using user/password basic auth
privateKeyStringUser's private key (base64 encoded) if using key pair auth.
privateKeyPassphraseStringUser's private key passphrase if using key pair auth. This argument is only needed when the private key is encrypted.
accountStringSnowflake account name
warehouseStringName of the warehouse for the user
oauthOAuthConfigurationConfiguration for OAuth for Snowflake.
UpdateSnowflakeCredentialsV2Mutation

Object type. Update credentials for an existing Snowflake connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

OAuthConfiguration, UUID, UpdateCredentialsV2Result

updateTableauCredentialsV2 (mutation)

updateTableauCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Update credentials for an existing Tableau connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

Arguments

ArgumentTypeDescription
changesTableauUpdateConnectionDetails!Updated Tableau connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdateTableauCredentialsV2Mutation

Example

mutation UpdateTableauCredentialsV2($changes: TableauUpdateConnectionDetails!, $connectionId: UUID!) {
  updateTableauCredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updateTableauCredentialsV2

TableauUpdateConnectionDetails

Input object type.

FieldTypeDescription
serverNameStringThe Tableau server name
usernameStringUsername for the Tableau user if using username/password or Connected Apps
passwordStringPassword for the Tableau user if using username/password
tokenNameStringThe personal access token name for PAT authentication
tokenValueStringThe personal access token value for PAT authentication
clientIdStringThe Tableau Connected Apps Client ID
secretIdStringThe Tableau Connected Apps Secret ID
secretValueStringThe Tableau Connected Apps Secret value
siteNameStringThe Tableau site name
verifySslBooleanWhether to verify the SSL connection to Tableau server
UpdateTableauCredentialsV2Mutation

Object type. Update credentials for an existing Tableau connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

UUID, UpdateCredentialsV2Result

updateTransactionalDbCredentialsV2 (mutation)

updateTransactionalDbCredentialsV2 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Update credentials for an existing Transactional DB connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

Arguments

ArgumentTypeDescription
changesTransactionalDbUpdateConnectionDetails!Updated Transactional DB connection parameters.
connectionIdUUID!ID for connection to update.

Returns

UpdateTransactionalDbCredentialsV2Mutation

Example

mutation UpdateTransactionalDbCredentialsV2($changes: TransactionalDbUpdateConnectionDetails!, $connectionId: UUID!) {
  updateTransactionalDbCredentialsV2(changes: $changes, connectionId: $connectionId) {
    result {
      success
      key
    }
  }
}

Types used only by updateTransactionalDbCredentialsV2

TeradataLogMechUpdateEnum

Enum type.

ValueDescription
TD2
BROWSER
JWT
LDAP
KRB5
TDNEGO
TeradataSSLModeUpdateEnum

Enum type.

ValueDescription
DISABLE
ALLOW
PREFER
REQUIRE
VERIFY_CA
VERIFY_FULL
TransactionalDbUpdateConnectionDetails

Input object type.

FieldTypeDescription
dbNameStringName of database to add connection for
dbTypeStringType of Transactional DB to add connection for
hostStringHostname of the warehouse
portIntHTTP Port to use
userStringUser with access to the database
passwordStringUser's password
tokenStringToken to access the database
consumerKeyStringOAuth client ID or consumer key
consumerSecretStringOAuth client secret or consumer secret
usernameStringSalesforce Data Cloud JWT Bearer auth: username of the run-as user, used as the JWT subject. Setting it switches the connection to JWT Bearer.
privateKeyStringSalesforce Data Cloud JWT Bearer auth: PEM private key that signs the JWT. Setting it switches the connection to JWT Bearer and removes the stored consumer_secret. Setting consumer_secret instead removes the stored username and private_key.
domainStringDomain to use for the connection
dataspaces[String]List of data space names to collect metadata from for Salesforce Data Cloud.
dataspaceStringSingle data space name to scope query connections for Salesforce Data Cloud.
authTypeStringAuthentication method. "kerberos" selects Windows Authentication (SQL Server only); omitted or "sql" uses a SQL login.
realmStringKerberos realm, normally the uppercased AD domain
kdcStringKerberos KDC hostname, optionally with a port (dc1.corp.example.com or dc1.corp.example.com:88)
principalStringKerberos client principal, e.g. [email protected]
keytabBase64StringBase64-encoded Kerberos keytab for the service principal. Mutually exclusive with password. Omit both when the credential is self-hosted -- the agent reads the keytab from your secret store.
tenantIdStringTenant ID for Azure Service Principal auth
clientIdStringClient ID for Azure Service Principal auth
clientSecretStringClient Secret for Azure Service Principal auth
connectionSettingsTransactionalDbUpdateConnectionSettingsOptional connection settings
sslOptionsSslUpdateOptionsOptional SSL options.
TransactionalDbUpdateConnectionSettings

Input object type.

FieldTypeDescription
tdSslmodeTeradataSSLModeUpdateEnumSpecifies the mode for connections to Teradata database.
tdLogmechTeradataLogMechUpdateEnumTeradata logon authentication method.
rdsProxyBooleanIndicates if we are connecting to the database through a RDS Proxy.
UpdateTransactionalDbCredentialsV2Mutation

Object type. Update credentials for an existing Transactional DB connection.

Note: This mutation only uploads credentials and returns a temporary key.
To complete the update:

Call testUpdatedCredentialsV2 with the returned key as tempCredentialsKey
and the same connectionId to validate the credentials

Call updateCredentialsV2 with the same tempCredentialsKey and connectionId
to persist the changes.

See full instructions here - https://docs.getmontecarlo.com/docs/updating-integrations#/.

FieldTypeDescription
resultUpdateCredentialsV2Result

Related types

SslUpdateOptions, UUID, UpdateCredentialsV2Result

Source: The GraphQL API reference

This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.