createSamlServiceProvider

Back to index

Summary

Creates a new SAML service provider.
entityId
Stringrequired
Service provider entity ID (usually URI).
serverUrl
Stringrequired
URL for the service provider host. Enclose the IPV6 address in square brackets. Example: [<IPv6-ADDRESS>].
authnRequestsSigned
Booleanoptional
Metadata will have AuthnRequestsSigned=true/false in descriptor.
digestAlgorithm
Stringoptional
SAML digest algorithm.
Possible values: "SHA1", "SHA256"
enabled
Booleanoptional
If true, enables SAML service provider.
groupClaimAttribute
Stringoptional
Security group claim attribute in the SAML response that contains the user groups.
mdSigningEnabled
Booleanoptional
If true, sign service provider metadata.
mdSigningPassphrase
Stringoptional
Passphrase use for service provider metadata signing private key.
mdSigningPrivateKey
Stringoptional
Service provider metadata signing private key.
mdSigningPublicCertificate
Stringoptional
Service provider metadata signing public certificate.
nameIdFormat
Stringoptional
NameID format such as urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified.
passphrase
Stringoptional
Passphrase use for service provider private key.
privateKey
Stringoptional
Service provider private key.
publicCertificate
Stringoptional
Service provider's public certificate.
samlServiceProviderName
Stringoptional
The name of the SAML service provider.
signatureAlgorithm
Stringoptional
SAML signature algorithm.
Possible values: "RSA_SHA1", "RSA_SHA256"
userEmailAttribute
Stringoptional
The mapping for the user email attribute in the SAML response.
userFullNameAttribute
Stringoptional
The mapping for the full user name attribute in the SAML response.
wantAssertionsSigned
Booleanoptional
Metadata will have WantAssertionsSigned=true/false in descriptor.

Usage

Perl

$cmdr->createSamlServiceProvider( "test-entityId", # entityId "test-serverUrl" # serverUrl # optionals );

ectool

ectool createSamlServiceProvider \ "test-entityId" `# entityId` \ "test-serverUrl" `# serverUrl` \ # optionals

Examples

Perl

$cmdr->createSamlServiceProvider("https://www.okta.com/exkkti2t90xV5PvX50h7", "https://localhost", {enabled => "true", description => "SP for testing"});

ectool

ectool createSamlServiceProvider "https://www.okta.com/exkkti2t90xV5PvX50h7" "https://localhost" --enabled "true" --description "SP for testing"