

 Amazon Redshift tidak akan lagi mendukung pembuatan Python UDFs baru mulai Patch 198. Python yang ada UDFs akan terus berfungsi hingga 30 Juni 2026. Untuk informasi lebih lanjut, lihat [posting blog](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/). 

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

# Metode autentikasi
<a name="odbc20-authentication-ssl"></a>

Untuk melindungi data dari akses yang tidak sah, penyimpanan data Amazon Redshift memerlukan semua koneksi untuk diautentikasi menggunakan kredensil pengguna.

Tabel berikut mengilustrasikan opsi koneksi yang diperlukan dan opsional untuk setiap metode otentikasi yang dapat digunakan untuk menyambung ke driver Amazon Redshift ODBC versi 2.x:


| Metode Otentikasi | Diperlukan | Opsional | 
| --- | --- | --- | 
|  Standar  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |   | 
|  Profil IAM  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** **dan** Region harus disetel **di** Host jika tidak disetel secara terpisah.    | 
|  Kredensi IAM  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** **dan** Region harus disetel **di** Host jika tidak disetel secara terpisah.    | 
|  IKLAN FS  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** **dan** Region harus disetel **di** Host jika tidak disetel secara terpisah.    | 
|  Azure AD  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** **dan** Region harus disetel **di** Host jika tidak disetel secara terpisah.    | 
|  JWT  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)  | 
|  Okta  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** **dan** Region harus disetel **di** Host jika tidak disetel secara terpisah.    | 
| Federasi Ping |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** **dan** Region harus disetel **di** Host jika tidak disetel secara terpisah.    | 
|  Browser Azure AD  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** **dan** Region harus disetel **di** Host jika tidak disetel secara terpisah.    | 
|  Browser SAMP  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** **dan** Region harus disetel **di** Host jika tidak disetel secara terpisah.    | 
|  Profil Auth  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |   | 
|  Browser Azure AD OAUTH2  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** **dan** Region harus disetel **di** Host jika tidak disetel secara terpisah.    | 
|  AWS Pusat Identitas IAM  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/id_id/redshift/latest/mgmt/odbc20-authentication-ssl.html)  | 

## Menggunakan layanan kredensyal eksternal
<a name="odbc20-authentication-external"></a>

Selain dukungan bawaan untuk AD FS, Azure AD, dan Okta, versi Windows dari driver Amazon Redshift ODBC juga menyediakan dukungan untuk layanan kredensil lainnya. Driver dapat mengautentikasi koneksi menggunakan plugin penyedia kredensyal berbasis SAML pilihan Anda. 

Untuk mengkonfigurasi layanan kredensional eksternal pada Windows:

1. Buat profil IAM yang menentukan plugin penyedia kredensyal dan parameter otentikasi lainnya sesuai kebutuhan. Profil harus dikodekan ASCII, dan harus berisi pasangan kunci-nilai berikut, di mana jalur lengkap ke aplikasi `PluginPath` plugin: 

   ```
   plugin_name = {{PluginPath}}
   ```

   Contoh:

   ```
   plugin_name = C:\Users\kjson\myapp\CredServiceApp.exe 
   ```

   Untuk informasi tentang cara membuat profil, lihat [Menggunakan Profil Konfigurasi di Panduan](https://docs.aws.amazon.com/redshift/latest/mgmt/options-for-providing-iam-credentials.html#using-configuration-profile) Manajemen Cluster Amazon Redshift.

1. Konfigurasikan driver untuk menggunakan profil ini. Driver mendeteksi dan menggunakan pengaturan otentikasi yang ditentukan dalam profil.