6.7. La suppression d’un fournisseur d’authentification externe
Effacer les fournisseurs d’authentification externes en utilisant le ROSA CLI.
Procédure
Affichez votre fournisseur d’authentification externe sur votre cluster en exécutant la commande suivante:
rosa list external-auth-provider -c <cluster_name>
$ rosa list external-auth-provider -c <cluster_name>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Exemple de sortie
NAME ISSUER URL entra-test https://login.microsoftonline.com/<group_id>/v2.0
NAME ISSUER URL entra-test https://login.microsoftonline.com/<group_id>/v2.0
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Effacer le fournisseur d’authentification externe en exécutant la commande suivante:
rosa delete external-auth-provider <name_of_provider> -c <cluster_name>
$ rosa delete external-auth-provider <name_of_provider> -c <cluster_name>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Exemple de sortie
? Are you sure you want to delete external authentication provider entra-test on cluster rosa-ext-test? Yes I: Successfully deleted external authentication provider 'entra-test' from cluster 'rosa-ext-test'
? Are you sure you want to delete external authentication provider entra-test on cluster rosa-ext-test? Yes I: Successfully deleted external authentication provider 'entra-test' from cluster 'rosa-ext-test'
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
La vérification
Interrogez tous les fournisseurs d’authentification externes de votre cluster en exécutant la commande suivante:
rosa list external-auth-provider -c <cluster_name>
$ rosa list external-auth-provider -c <cluster_name>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Exemple de sortie
E: there are no external authentication providers for this cluster
E: there are no external authentication providers for this cluster
Copy to Clipboard Copied! Toggle word wrap Toggle overflow