Skip to content

Commit 91fc4eb

Browse files
Regenerate from api-codegen b27f74ff39 (#156)
Regenerated from api-codegen `b27f74ff39` by [this run](https://github.com/monte-carlo-data/api-codegen/actions/runs/39868898264). For human review. Nothing merges this automatically. ## Spec Generated from the API spec exported at 2026-10-22T22:57:41Z. Generated by api-codegen's own templates. `.api-codegen-source.json` at this repository's root records the inputs to this generation. Co-authored-by: mc-ci-cd-app[bot] <127546454+mc-ci-cd-app[bot]@users.noreply.github.com>
1 parent cca1c65 commit 91fc4eb

2 files changed

Lines changed: 75 additions & 7 deletions

File tree

‎.api-codegen-source.json‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"api_codegen_commit": "beeea5e66fa535ccbc24bb0773851071ea66a01c",
3-
"api_codegen_run_id": 39799856591,
4-
"generated_at": "2026-10-22T14:55:13Z",
5-
"monolith_commit": "b04630df6d4755d1a29fd60078defe6be7c7a7f9",
6-
"monolith_run_id": 39797442584,
7-
"exported_at": "2026-10-22T14:41:23Z"
2+
"api_codegen_commit": "b27f74ff3939c82958fe0c5cc0810ad45d9b4a75",
3+
"api_codegen_run_id": 39868898264,
4+
"generated_at": "2026-10-22T23:01:03Z",
5+
"monolith_commit": "faf363f752df13b6a4e63abb2a8f856eab1f7065",
6+
"monolith_run_id": 39868208395,
7+
"exported_at": "2026-10-22T22:57:41Z"
88
}

‎skills/onboarding/reference/api/credentials.md‎

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Credentials are returned oldest first. Each entry says what connection type it i
1313
where its secret lives; read the typed endpoint for that kind to see its other fields.
1414

1515
- **Effect:** read-only.
16-
- **Pairs with:** `create_airflow_credentials`, `get_airflow_credentials`, `create_athena_credentials`, `validate_athena_credentials`, `get_athena_credentials`, `validate_athena_credentials_change`, `get_azure_data_factory_credentials`, `get_azure_dedicated_sql_pool_credentials`, `get_azure_sql_database_credentials`, `get_bigquery_credentials`, `get_clickhouse_credentials`, `get_databricks_metastore_sql_warehouse_credentials`, `get_databricks_sql_warehouse_credentials`, `get_db2_credentials`, `get_dbt_cloud_webhook_credentials`, `get_fivetran_credentials`, `get_gcp_dataform_credentials`, `create_glue_credentials`, `validate_glue_credentials`, `get_glue_credentials`, `validate_glue_credentials_change`, `get_informatica_v2_credentials`, `get_looker_git_clone_credentials`, `get_looker_credentials`, `get_mariadb_credentials`, `get_mulesoft_credentials`, `get_mysql_credentials`, `get_oracle_credentials`, `get_postgres_credentials`, `get_power_bi_credentials`, `get_redshift_credentials`, `get_salesforce_crm_credentials`, `get_sap_hana_credentials`, `create_aws_secrets_manager_credentials`, `validate_aws_secrets_manager_credentials`, `get_aws_secrets_manager_credentials`, `validate_aws_secrets_manager_credentials_change`, `create_azure_key_vault_credentials`, `validate_azure_key_vault_credentials`, `get_azure_key_vault_credentials`, `validate_azure_key_vault_credentials_change`, `create_env_var_credentials`, `validate_env_var_credentials`, `get_env_var_credentials`, `validate_env_var_credentials_change`, `create_file_credentials`, `validate_file_credentials`, `get_file_credentials`, `validate_file_credentials_change`, `create_gcp_secret_manager_credentials`, `validate_gcp_secret_manager_credentials`, `get_gcp_secret_manager_credentials`, `validate_gcp_secret_manager_credentials_change`, `get_snowflake_credentials`, `get_sql_server_credentials`, `get_starburst_enterprise_credentials`, `get_starburst_galaxy_credentials`, `get_tableau_credentials`, `get_teradata_credentials`.
16+
- **Pairs with:** `create_airflow_credentials`, `get_airflow_credentials`, `create_athena_credentials`, `validate_athena_credentials`, `get_athena_credentials`, `validate_athena_credentials_change`, `get_azure_data_factory_credentials`, `get_azure_dedicated_sql_pool_credentials`, `get_azure_sql_database_credentials`, `get_bigquery_credentials`, `get_clickhouse_credentials`, `get_databricks_metastore_sql_warehouse_credentials`, `get_databricks_sql_warehouse_credentials`, `get_db2_credentials`, `get_dbt_cloud_webhook_credentials`, `get_fivetran_credentials`, `get_gcp_dataform_credentials`, `create_glue_credentials`, `validate_glue_credentials`, `get_glue_credentials`, `validate_glue_credentials_change`, `get_informatica_v2_credentials`, `get_looker_git_clone_credentials`, `get_looker_credentials`, `get_mariadb_credentials`, `get_mulesoft_credentials`, `get_mysql_credentials`, `get_oracle_credentials`, `get_postgres_credentials`, `get_power_bi_credentials`, `get_redshift_credentials`, `get_salesforce_crm_credentials`, `get_salesforce_data_cloud_credentials`, `get_sap_hana_credentials`, `create_aws_secrets_manager_credentials`, `validate_aws_secrets_manager_credentials`, `get_aws_secrets_manager_credentials`, `validate_aws_secrets_manager_credentials_change`, `create_azure_key_vault_credentials`, `validate_azure_key_vault_credentials`, `get_azure_key_vault_credentials`, `validate_azure_key_vault_credentials_change`, `create_env_var_credentials`, `validate_env_var_credentials`, `get_env_var_credentials`, `validate_env_var_credentials_change`, `create_file_credentials`, `validate_file_credentials`, `get_file_credentials`, `validate_file_credentials_change`, `create_gcp_secret_manager_credentials`, `validate_gcp_secret_manager_credentials`, `get_gcp_secret_manager_credentials`, `validate_gcp_secret_manager_credentials_change`, `get_snowflake_credentials`, `get_sql_server_credentials`, `get_starburst_enterprise_credentials`, `get_starburst_galaxy_credentials`, `get_tableau_credentials`, `get_teradata_credentials`.
1717
- **Paging:** one page per call; pass `next_cursor` back as `cursor` for the next page.
1818

1919
### Arguments
@@ -2114,6 +2114,74 @@ Returns `credentials_id` and `deleted: true` once the credentials is gone.
21142114
- Monte Carlo is busy or temporarily unavailable; try again after a moment.
21152115
- An unexpected error prevented the request from being processed.
21162116

2117+
## `get_salesforce_data_cloud_credentials`: Get Salesforce Data Cloud credentials
2118+
2119+
Get one set of Salesforce Data Cloud credentials, without the consumer secret or the
2120+
private key.
2121+
2122+
An id that does not exist, belongs to another account, or names credentials of another
2123+
kind returns 404.
2124+
2125+
- **Effect:** read-only.
2126+
- **Pairs with:** `delete_salesforce_data_cloud_credentials`, `list_credentials`.
2127+
2128+
### Arguments
2129+
2130+
| Argument | Type | Required | Description |
2131+
|---|---|---|---|
2132+
| `credentials_id` | `str` | yes | Id of the credentials, as returned when they are created or listed. |
2133+
2134+
### Response
2135+
2136+
Response fields: id, connection_type, storage_type, created_time, auth_mode, domain, consumer_key, username, dataspaces, dataspace.
2137+
2138+
| Field | Description |
2139+
|---|---|
2140+
| `id` | Unique identifier of the credentials. |
2141+
| `connection_type` | The connection type the credentials are for, such as `snowflake`. Fixed once created. |
2142+
| `storage_type` | Where the secret lives. Fixed once created. |
2143+
| `created_time` | When the credentials were created. |
2144+
| `auth_mode` | How Monte Carlo signs in. `oauth_client_credentials` takes `consumer_secret`. `jwt_bearer` takes `username` and `private_key`. Both take `domain` and `consumer_key`. |
2145+
| `domain` | My Domain host of your org, such as `acme.my.salesforce.com`. |
2146+
| `consumer_key` | Consumer key of the connected app Monte Carlo signs in as. |
2147+
| `username` | Salesforce user the JWT signs in as, for `jwt_bearer`. |
2148+
| `dataspaces` | Data spaces Monte Carlo collects metadata from. |
2149+
| `dataspace` | The one data space a query connection runs in. Once set, it can be changed but not cleared. Sending it in an update, even unchanged, moves row count collection for that data space's tables to the query connections using these credentials. |
2150+
2151+
### What can fail
2152+
2153+
- Authentication credentials are missing or invalid.
2154+
- The request was authenticated, but the caller is not allowed to perform this operation. Read `code` to tell the reasons apart: `account_frozen` means the account is paused, rather than that the caller lacks permission.
2155+
- The credentials does not exist, or is not visible to the caller.
2156+
- An unexpected error prevented the request from being processed.
2157+
- Monte Carlo is busy or temporarily unavailable; try again after a moment.
2158+
2159+
## `delete_salesforce_data_cloud_credentials`: Delete Salesforce Data Cloud credentials
2160+
2161+
Delete Salesforce Data Cloud credentials no connection uses. Monte Carlo stops using the stored consumer secret or private key. Rotate the consumer secret, or remove the key's certificate from the connected app, if they must be retired.
2162+
2163+
- **Effect:** deletes; destructive and idempotent.
2164+
- **Pairs with:** `get_salesforce_data_cloud_credentials`, `list_credentials`.
2165+
2166+
### Arguments
2167+
2168+
| Argument | Type | Required | Description |
2169+
|---|---|---|---|
2170+
| `credentials_id` | `str` | yes | Id of the credentials, as returned when they are created or listed. |
2171+
2172+
### Response
2173+
2174+
Returns `credentials_id` and `deleted: true` once the credentials is gone.
2175+
2176+
### What can fail
2177+
2178+
- Authentication credentials are missing or invalid.
2179+
- The request was authenticated, but the caller is not allowed to perform this operation. Read `code` to tell the reasons apart: `account_frozen` means the account is paused, rather than that the caller lacks permission.
2180+
- The credentials does not exist, or is not visible to the caller.
2181+
- The change conflicts with the current state of the credentials.
2182+
- Monte Carlo is busy or temporarily unavailable; try again after a moment.
2183+
- An unexpected error prevented the request from being processed.
2184+
21172185
## `get_sap_hana_credentials`: Get SAP HANA credentials
21182186

21192187
Get one set of SAP HANA credentials, without the password.

0 commit comments

Comments
 (0)