DomainSamlOptionsSamlOptions constructor
Creates a new DomainSamlOptionsSamlOptions.
enabled Whether SAML authentication is enabled.
idp Information from your identity provider.
masterBackendRole This backend role from the SAML IdP receives full permissions to the cluster, equivalent to a new master user.
masterUserName This username from the SAML IdP receives full permissions to the cluster, equivalent to a new master user.
rolesKey Element of the SAML assertion to use for backend roles. Default is roles.
sessionTimeoutMinutes Duration of a session in minutes after a user logs in. Default is 60. Maximum value is 1,440.
subjectKey Custom SAML attribute to use for user names. Default is an empty string - "". This will cause Elasticsearch to use the NameID element of the Subject, which is the default location for name identifiers in the SAML specification.
Implementation
const DomainSamlOptionsSamlOptions({
this.enabled,
this.idp,
this.masterBackendRole,
this.masterUserName,
this.rolesKey,
this.sessionTimeoutMinutes,
this.subjectKey,
});