dcloud iam sso-connections create

Connect an OIDC or SAML identity provider (created switched off)

IAM iam:CreateSsoConnectionChanges state

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

  • --protocolRequired

    enum

    Selects which of the other fields apply

    One of: oidc, saml

  • --nameOptional

    string

    A name for the connection, e.g. the identity provider’s

    Constraints: 1-100 chars

  • --default-roleOptional

    enum

    The organization role a person gets when single sign-on first adds them; default member

    One of: admin, member, viewer, billing

  • --oidcOptional

    object

    For protocol oidc: {issuer, clientId, clientSecret} of the app registered at the identity provider

    Constraints: JSON

  • --samlOptional

    object

    For protocol saml: {idpSsoUrl (https), idpEntityId, idpCertificate (PEM), allowSha1 (default false)} from the identity provider

    Constraints: JSON

Example

dcloud iam sso-connections create --protocol oidc

Generated from the API description, the same one the API checks requests against and the CLI is built from.