

 Amazon Redshift unterstützt ab Patch 198 nicht mehr die Erstellung neuer Python-UDFs. Bestehende Python-UDFs werden bis zum 30. Juni 2026 weiterhin funktionieren. Weitere Informationen finden Sie im [Blog-Posting](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/). 

Die vorliegende Übersetzung wurde maschinell erstellt. Im Falle eines Konflikts oder eines Widerspruchs zwischen dieser übersetzten Fassung und der englischen Fassung (einschließlich infolge von Verzögerungen bei der Übersetzung) ist die englische Fassung maßgeblich.

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

Um Daten vor unbefugtem Zugriff zu schützen, erfordern Amazon-Redshift-Datenspeicher, dass alle Verbindungen mit Benutzeranmeldeinformationen authentifiziert werden.

Die folgende Tabelle veranschaulicht die erforderlichen und optionalen Verbindungsoptionen für jede Authentifizierungsmethode, die verwendet werden kann, um eine Verbindung mit der Amazon-Redshift-ODBC-Treiberversion 2.x herzustellen:


| Authentifizierungsmethode | Erforderlich | Optional | 
| --- | --- | --- | 
|  Standard  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |   | 
|  IAM-Profil  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** (Cluster-ID) und **Region** müssen in **Host** festgelegt werden, wenn sie nicht separat festgelegt werden.    | 
|  IAM-Anmeldeinformationen  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** (Cluster-ID) und **Region** müssen in **Host** festgelegt werden, wenn sie nicht separat festgelegt werden.    | 
|  AD FS  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** (Cluster-ID) und **Region** müssen in **Host** festgelegt werden, wenn sie nicht separat festgelegt werden.    | 
|  Azure AD  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** (Cluster-ID) und **Region** müssen in **Host** festgelegt werden, wenn sie nicht separat festgelegt werden.    | 
|  JWT  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)  | 
|  Okta  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** (Cluster-ID) und **Region** müssen in **Host** festgelegt werden, wenn sie nicht separat festgelegt werden.    | 
| Ping Federate |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** (Cluster-ID) und **Region** müssen in **Host** festgelegt werden, wenn sie nicht separat festgelegt werden.    | 
|  Azure AD Browser  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** (Cluster-ID) und **Region** müssen in **Host** festgelegt werden, wenn sie nicht separat festgelegt werden.    | 
|  SAML Browser  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** (Cluster-ID) und **Region** müssen in **Host** festgelegt werden, wenn sie nicht separat festgelegt werden.    | 
|  Auth-Profil  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |   | 
|  Azure AD OAUTH2 Browser  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)   **ClusterID** (Cluster-ID) und **Region** müssen in **Host** festgelegt werden, wenn sie nicht separat festgelegt werden.    | 
|  AWS IAM-Identitätszentrum  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/de_de/redshift/latest/mgmt/odbc20-authentication-ssl.html)  | 

## Verwenden eines Services für externe Anmeldeinformationen
<a name="odbc20-authentication-external"></a>

Neben der integrierten Unterstützung für AD FS, Azure AD und Okta bietet die Windows-Version des Amazon-Redshift-ODBC-Treibers auch Unterstützung für andere Anmeldeinformationen-Services. Der Treiber kann Verbindungen mit einem beliebigen SAML-based Credential Provider-Plugin Ihrer Wahl authentifizieren. 

So konfigurieren Sie einen Service für externe Anmeldeinformationen unter Windows:

1. Erstellen Sie ein IAM-Profil, das das Plug-in des Anmeldeinformationsanbieters und andere Authentifizierungsparameter nach Bedarf angibt. Das Profil muss das folgende Schlüssel-Wert-Paar sein ASCII-encoded und muss es enthalten. Dabei `PluginPath` handelt es sich um den vollständigen Pfad zur Plugin-Anwendung: 

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

   Beispiel:

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

   Informationen zum Erstellen eines Profils finden Sie unter [Verwenden eines Konfigurationsprofils](https://docs.aws.amazon.com/redshift/latest/mgmt/options-for-providing-iam-credentials.html#using-configuration-profile) im Verwaltungshandbuch zum Amazon-Redshift-Cluster.

1. Konfigurieren Sie den Treiber für die Verwendung dieses Profils. Der Treiber erkennt und verwendet die im Profil angegebenen Authentifizierungseinstellungen.