dcloud iam sso-connections createConnect an OIDC or SAML identity provider (created switched off)
The OIDC client secret is stored encrypted and never returned. A connection signs nobody in until a domain is verified and it is enabled
Synopsis
dcloud iam sso-connections create --protocol protocol [flags]Flags
--protocolRequiredenum
Selects which of the other fields apply
One of:
oidc,saml--nameOptionalstring
A name for the connection, e.g. the identity provider’s
Constraints: 1-100 chars
--default-roleOptionalenum
The organization role a person gets when single sign-on first adds them; default member
One of:
admin,member,viewer,billing--oidcOptionalobject
For protocol oidc: {issuer, clientId, clientSecret} of the app registered at the identity provider
Constraints: JSON
--samlOptionalobject
For protocol saml: {idpSsoUrl (https), idpEntityId, idpCertificate (PEM), allowSha1 (default false)} from the identity provider
Constraints: JSON
Example
dcloud iam sso-connections create --protocol oidcGenerated from the API description, the same one the API checks requests against and the CLI is built from.