mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
fix(snowflake): drop the oversized credential modal help text (#6475)
The paragraph under the token field ran 313 characters — three times the typical provider's and 50% longer than the next worst — and pushed the account host field down the modal. Its content (expiry, role restriction, the network-policy requirement per user type) already lives on the setup guide the modal links, and the network-policy cause is repeated in the rejection copy, which is when someone actually needs it.
This commit is contained in:
@@ -412,8 +412,6 @@ export const TOKEN_SERVICE_ACCOUNT_DESCRIPTORS: Record<
|
||||
},
|
||||
],
|
||||
docsUrl: 'https://docs.sim.ai/integrations/snowflake-service-account',
|
||||
helpText:
|
||||
'A programmatic access token acts as the Snowflake user that owns it, or as the single role it was restricted to. It always expires — 15 days by default, 365 at most — and every user type except SERVICE_AGENT must be covered by a network policy to authenticate with it, unless an authentication policy waives that.',
|
||||
invalidCredentialsHelp:
|
||||
'Snowflake rejected this token. Check that it belongs to a user on this exact account host, that it has not expired or been revoked, that a network policy allows Sim to reach the account, and that the SQL API is enabled for the account.',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user