Skip to content

SAMLProviderProps

Properties for defining a SAMLProvider.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-samlprovider

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ram;
new SAMLProviderProps {
    object SamlProviderName,
    object Description = null,
    object EncodedSamlMetadataDocument = null,
    object SamlMetadataDocument = null,
    object SamlMetadataDocumentUrl = null
};

Properties

Name Type Description
SamlProviderName object Property samlProviderName: IdP Name.
Description object Property description: The description can contain a maximum of 256 characters.
EncodedSamlMetadataDocument object Property encodedSamlMetadataDocument: SAML metadata document.Base64 encoded. Provided by an identity provider that supports the SAML2.0 protocol. Only one of the three properties SAMLMetadataDocument, SAMLMetadataDocumentURL, EncodedSAMLMetadataDocument can be set.
SamlMetadataDocument object Property samlMetadataDocument: SAML metadata document.
SamlMetadataDocumentUrl object Property samlMetadataDocumentUrl: The URL for the file that contains the SAML metadata document.

SamlProviderNameRequired

public object SamlProviderName { get; set; }
  • Type: object

Property samlProviderName: IdP Name.

The IdP name can contain a maximum of 128 characters and only letters, numbers, and the following special characters are accepted: hyphens (-), periods (.), and underscores (_). It cannot start or end with a special character.


DescriptionOptional

public object Description { get; set; }
  • Type: object

Property description: The description can contain a maximum of 256 characters.


EncodedSamlMetadataDocumentOptional

public object EncodedSamlMetadataDocument { get; set; }
  • Type: object

Property encodedSamlMetadataDocument: SAML metadata document.Base64 encoded. Provided by an identity provider that supports the SAML2.0 protocol. Only one of the three properties SAMLMetadataDocument, SAMLMetadataDocumentURL, EncodedSAMLMetadataDocument can be set.


SamlMetadataDocumentOptional

public object SamlMetadataDocument { get; set; }
  • Type: object

Property samlMetadataDocument: SAML metadata document.

The content must be 1 to 102,400 bytes in length. Only one of the three properties SAMLMetadataDocument, SAMLMetadataDocumentURL, EncodedSAMLMetadataDocument can be set.


SamlMetadataDocumentUrlOptional

public object SamlMetadataDocumentUrl { get; set; }
  • Type: object

Property samlMetadataDocumentUrl: The URL for the file that contains the SAML metadata document.

The URL must point to a document located in an HTTP or HTTPS web server or an Alibaba Cloud OSS bucket. Examples: oss://ros/document/demo and oss://ros/document/demo?RegionId=cn-hangzhou. The URL can be up to 1,024 bytes in length. Only one of the three properties SAMLMetadataDocument, SAMLMetadataDocumentURL, EncodedSAMLMetadataDocument can be set.