createSamlIdentityProvider

On this page
Back to index

Summary

Creates a new SAML identity provider.
samlIdentityProviderName
Stringrequired
The name of the SAML Identity Provider.
colorCode
Stringoptionaldeprecated
Color code to be associated with the IDP.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
enabled
Booleanoptional
If true, enables SAML Identity Provider.
label
Stringoptionaldeprecated
Label used by the UI to display the text. For example, a label for a UI button.
metadata
Stringoptional
The metadata of the SAML identity provider.
ssoProvider
Stringoptional
Used to identify the SSO provider for displaying the branded SSO button on the login page.
Possible values: "GOOGLE", "KEYCLOAK", "OKTA", "OTHER"

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createSamlIdentityProvider( samlIdentityProviderName: "test-samlIdentityProviderName" /* optional arguments */ )