PUT
/
api
/
snowflake-accounts
/
{snowflake_account_uuid}
/
credentials
Update Snowflake Account Credentials
curl --request PUT \
  --url https://api.select.dev/api/snowflake-accounts/{snowflake_account_uuid}/credentials \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "private_key": "<string>",
  "private_key_passphrase": "<string>"
}'
{
  "success": true
}
First, please ensure you have two key pair authentication methods available to your user in your snowflake instance, for key pair rotation. That way SELECT won’t lose access to your Snowflake account when you change your credentials using this endpoiont. Then, use this endpoint to update the credentials for your Snowflake user account in SELECT. You can find your snowflake account UUID in the URL of SELECT. I.e. when you visit https://select.dev/app, you will be redirected to https://select.dev/app/<snowflake_account_uuid>/home. Or, if you have multiple accounts, you can find their UUIDs in Settings -> Accounts under the “Identifier” column.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

snowflake_account_uuid
string
required

Body

application/json

The new key pair credentials for SELECT to access your Snowflake account with.

Response

200
application/json

Successful Response

The response is of type object.