Type:
How-To
Question/Problem:
How do I configure default authentication type for Teleport Cloud?
Solution:
Create a yaml config file with the following settings:
kind: cluster_auth_preference
metadata:
name: cluster-auth-preference
spec:
type: github|saml|oidc
version: v2
Note: If your connector is SALM then use saml
as the type, if it's OIDC then use oidc
, and if it's Github use github
as the type as discussed here.
-
Log into your cloud cluster with admin credentials.
-
Run
tctl create -f <auth_file> --confirm
Next time you log in you can just run tsh login
without having to specify auth type.
Comments
0 comments
Article is closed for comments.