import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a resource to Create a SAML Identity Provider. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const idp = new nutanix.SamlIdentityProvidersV2("idp", { * name: "example_idp_name", * idpMetadatas: [{ * entityId: "entity_id", * loginUrl: "login_url", * logoutUrl: "logout_url", * errorUrl: "error_url", * certificate: "certificate", * }], * usernameAttribute: "username", * emailAttribute: "email", * groupsAttribute: "groups", * groupsDelim: ",", * idpMetadataXml: "", * entityIssuer: "entity_issuer_issuer", * isSignedAuthnReqEnabled: true, * customAttributes: [ * "custom1", * "custom2", * ], * }); * ``` * * * ## Argument Reference * * The following arguments are supported: * * * `extId`: -(Optional) External identifier of the SAML Identity Provider. * * `idpMetadataUrl`: -(Optional) Metadata url that provides IDP details. * * `idpMetadataXml`: -(Optional) Base64 encoded metadata in XML format with IDP details. * * `idpMetadata`: -(Optional) Type of the User Group. LDAP (User Group belonging to a Directory Service (Open LDAP/AD)), SAML (User Group belonging to a SAML IDP.) * * `name`: -(Required) Unique name of the IDP. * * `usernameAttr`: -(Optional) SAML assertion Username attribute element. * * `emailAttr`: -(Optional) SAML assertion email attribute element. * * `groupsAttr`: -(Optional) SAML assertion groups attribute element. * * `groupsDelim`: -(Optional) Delimiter is used to split the value of attribute into multiple groups. * * `customAttr`: -(Optional) SAML assertions for list of custom attribute elements. * * `entityIssuer`: -(Optional) It will be used as Issuer in SAML authnRequest. * * `isSignedAuthnReqEnabled`: -(Optional) Flag indicating signing of SAML authnRequests. * * ### Idp Metadata * * The idpMetadata attribute supports the following: * * * `entityId`: -(Required) Entity Identifier of Identity provider. * * `loginUrl`: -(Required) Login URL of the Identity provider. * * `logoutUrl`: -(Optional) Logout URL of the Identity provider. * * `errorUrl`: - (Optional) Error URL of the Identity provider. * * `certificate`: -(Required) Certificate for verification. * * `nameIdPolicyFormat`: -(Optional) Name ID Policy format. * * supported values: * * `emailAddress`: - Uses email address as NameID format * * `encrypted`: - Uses encrypted as NameID format. * * `unspecified`: - NameID format is left to individual implementations. * * `transient`: - Uses identifier with transient semantics as NameID format. * * `WindowsDomainQualifiedName`: - Uses Windows domain qualified name as NameID format. * * `X509SubjectName`: - Uses X509SubjectName as NameID format. * * `kerberos`: - Uses kerberos principal name as NameID format. * * `persistent`: - Uses persistent name identifier as NameID format. * * `entity`: - Uses identifier of an entity as NameID format. */ export declare class SamlIdentityProvidersV2 extends pulumi.CustomResource { /** * Get an existing SamlIdentityProvidersV2 resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: SamlIdentityProvidersV2State, opts?: pulumi.CustomResourceOptions): SamlIdentityProvidersV2; /** * Returns true if the given object is an instance of SamlIdentityProvidersV2. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SamlIdentityProvidersV2; /** * - User or Service who created the SAML Identity Provider. */ readonly createdBy: pulumi.Output; /** * - Creation time of the SAML Identity Provider. */ readonly createdTime: pulumi.Output; readonly customAttributes: pulumi.Output; readonly emailAttribute: pulumi.Output; /** * - It will be used as Issuer in SAML authnRequest. */ readonly entityIssuer: pulumi.Output; /** * The External Identifier of the User Group. */ readonly extId: pulumi.Output; readonly groupsAttribute: pulumi.Output; /** * - Delimiter is used to split the value of attribute into multiple groups. */ readonly groupsDelim: pulumi.Output; readonly idpMetadataUrl: pulumi.Output; readonly idpMetadataXml: pulumi.Output; /** * - Type of the User Group. LDAP (User Group belonging to a Directory Service (Open LDAP/AD)), SAML (User Group belonging to a SAML IDP.) */ readonly idpMetadatas: pulumi.Output; /** * - Flag indicating signing of SAML authnRequests. */ readonly isSignedAuthnReqEnabled: pulumi.Output; /** * - Last updated time of the SAML Identity Provider. */ readonly lastUpdatedTime: pulumi.Output; /** * - Unique name of the IDP. */ readonly name: pulumi.Output; readonly usernameAttribute: pulumi.Output; /** * Create a SamlIdentityProvidersV2 resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: SamlIdentityProvidersV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SamlIdentityProvidersV2 resources. */ export interface SamlIdentityProvidersV2State { /** * - User or Service who created the SAML Identity Provider. */ createdBy?: pulumi.Input; /** * - Creation time of the SAML Identity Provider. */ createdTime?: pulumi.Input; customAttributes?: pulumi.Input[] | undefined>; emailAttribute?: pulumi.Input; /** * - It will be used as Issuer in SAML authnRequest. */ entityIssuer?: pulumi.Input; /** * The External Identifier of the User Group. */ extId?: pulumi.Input; groupsAttribute?: pulumi.Input; /** * - Delimiter is used to split the value of attribute into multiple groups. */ groupsDelim?: pulumi.Input; idpMetadataUrl?: pulumi.Input; idpMetadataXml?: pulumi.Input; /** * - Type of the User Group. LDAP (User Group belonging to a Directory Service (Open LDAP/AD)), SAML (User Group belonging to a SAML IDP.) */ idpMetadatas?: pulumi.Input[] | undefined>; /** * - Flag indicating signing of SAML authnRequests. */ isSignedAuthnReqEnabled?: pulumi.Input; /** * - Last updated time of the SAML Identity Provider. */ lastUpdatedTime?: pulumi.Input; /** * - Unique name of the IDP. */ name?: pulumi.Input; usernameAttribute?: pulumi.Input; } /** * The set of arguments for constructing a SamlIdentityProvidersV2 resource. */ export interface SamlIdentityProvidersV2Args { customAttributes?: pulumi.Input[] | undefined>; emailAttribute?: pulumi.Input; /** * - It will be used as Issuer in SAML authnRequest. */ entityIssuer?: pulumi.Input; /** * The External Identifier of the User Group. */ extId?: pulumi.Input; groupsAttribute?: pulumi.Input; /** * - Delimiter is used to split the value of attribute into multiple groups. */ groupsDelim?: pulumi.Input; idpMetadataUrl?: pulumi.Input; idpMetadataXml?: pulumi.Input; /** * - Type of the User Group. LDAP (User Group belonging to a Directory Service (Open LDAP/AD)), SAML (User Group belonging to a SAML IDP.) */ idpMetadatas?: pulumi.Input[] | undefined>; /** * - Flag indicating signing of SAML authnRequests. */ isSignedAuthnReqEnabled?: pulumi.Input; /** * - Unique name of the IDP. */ name?: pulumi.Input; usernameAttribute?: pulumi.Input; } //# sourceMappingURL=samlIdentityProvidersV2.d.ts.map