cyral 4.16.3 published on Monday, Apr 14, 2025 by cyralinc
cyral.getSamlConfiguration
Explore with Pulumi AI
DEPRECATED This data source has been deprecated. It will be removed in the next major version of the provider.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cyral from "@pulumi/cyral";
const someDataSourceName = cyral.getSamlConfiguration({
    samlMetadataUrl: "some_metadata_url",
});
import pulumi
import pulumi_cyral as cyral
some_data_source_name = cyral.get_saml_configuration(saml_metadata_url="some_metadata_url")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/cyral/v4/cyral"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cyral.GetSamlConfiguration(ctx, &cyral.GetSamlConfigurationArgs{
			SamlMetadataUrl: pulumi.StringRef("some_metadata_url"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cyral = Pulumi.Cyral;
return await Deployment.RunAsync(() => 
{
    var someDataSourceName = Cyral.GetSamlConfiguration.Invoke(new()
    {
        SamlMetadataUrl = "some_metadata_url",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cyral.CyralFunctions;
import com.pulumi.cyral.inputs.GetSamlConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var someDataSourceName = CyralFunctions.getSamlConfiguration(GetSamlConfigurationArgs.builder()
            .samlMetadataUrl("some_metadata_url")
            .build());
    }
}
variables:
  someDataSourceName:
    fn::invoke:
      function: cyral:getSamlConfiguration
      arguments:
        samlMetadataUrl: some_metadata_url
Using getSamlConfiguration
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSamlConfiguration(args: GetSamlConfigurationArgs, opts?: InvokeOptions): Promise<GetSamlConfigurationResult>
function getSamlConfigurationOutput(args: GetSamlConfigurationOutputArgs, opts?: InvokeOptions): Output<GetSamlConfigurationResult>def get_saml_configuration(base64_saml_metadata_document: Optional[str] = None,
                           saml_metadata_url: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetSamlConfigurationResult
def get_saml_configuration_output(base64_saml_metadata_document: Optional[pulumi.Input[str]] = None,
                           saml_metadata_url: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetSamlConfigurationResult]func GetSamlConfiguration(ctx *Context, args *GetSamlConfigurationArgs, opts ...InvokeOption) (*GetSamlConfigurationResult, error)
func GetSamlConfigurationOutput(ctx *Context, args *GetSamlConfigurationOutputArgs, opts ...InvokeOption) GetSamlConfigurationResultOutput> Note: This function is named GetSamlConfiguration in the Go SDK.
public static class GetSamlConfiguration 
{
    public static Task<GetSamlConfigurationResult> InvokeAsync(GetSamlConfigurationArgs args, InvokeOptions? opts = null)
    public static Output<GetSamlConfigurationResult> Invoke(GetSamlConfigurationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSamlConfigurationResult> getSamlConfiguration(GetSamlConfigurationArgs args, InvokeOptions options)
public static Output<GetSamlConfigurationResult> getSamlConfiguration(GetSamlConfigurationArgs args, InvokeOptions options)
fn::invoke:
  function: cyral:index/getSamlConfiguration:getSamlConfiguration
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Base64SamlMetadata stringDocument 
- (Required unless using saml_metadata_url) This is the full SAML metadata document that should be used to parse a SAML configuration, Base64 encoded.
- SamlMetadata stringUrl 
- (Required unless using base_64_saml_metadata_document) This is the full SAML metadata URL we should use to parse to a SAML configuration.
- Base64SamlMetadata stringDocument 
- (Required unless using saml_metadata_url) This is the full SAML metadata document that should be used to parse a SAML configuration, Base64 encoded.
- SamlMetadata stringUrl 
- (Required unless using base_64_saml_metadata_document) This is the full SAML metadata URL we should use to parse to a SAML configuration.
- base64SamlMetadata StringDocument 
- (Required unless using saml_metadata_url) This is the full SAML metadata document that should be used to parse a SAML configuration, Base64 encoded.
- samlMetadata StringUrl 
- (Required unless using base_64_saml_metadata_document) This is the full SAML metadata URL we should use to parse to a SAML configuration.
- base64SamlMetadata stringDocument 
- (Required unless using saml_metadata_url) This is the full SAML metadata document that should be used to parse a SAML configuration, Base64 encoded.
- samlMetadata stringUrl 
- (Required unless using base_64_saml_metadata_document) This is the full SAML metadata URL we should use to parse to a SAML configuration.
- base64_saml_ strmetadata_ document 
- (Required unless using saml_metadata_url) This is the full SAML metadata document that should be used to parse a SAML configuration, Base64 encoded.
- saml_metadata_ strurl 
- (Required unless using base_64_saml_metadata_document) This is the full SAML metadata URL we should use to parse to a SAML configuration.
- base64SamlMetadata StringDocument 
- (Required unless using saml_metadata_url) This is the full SAML metadata document that should be used to parse a SAML configuration, Base64 encoded.
- samlMetadata StringUrl 
- (Required unless using base_64_saml_metadata_document) This is the full SAML metadata URL we should use to parse to a SAML configuration.
getSamlConfiguration Result
The following output properties are available:
- AllowedClock doubleSkew 
- Clock skew in seconds that is tolerated when validating identity provider tokens. Default value is 0.
- BackChannel boolSupported 
- Defaults to falseif unset.
- DisableForce boolAuthentication 
- Indicates whether the identity provider must authenticate the presenter directly rather than rely on a previous security context.
- DisablePost boolBinding Authn Request 
- Indicates whether the AuthnRequest must be sent using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- DisablePost boolBinding Logout 
- Indicates whether to respond to requests using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- DisablePost boolBinding Response 
- Indicates whether to respond to requests using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- DisableUsing boolJwks Url 
- By default, the jwks URL is used for all SAML connections.
- DisableValidate boolSignature 
- Enable/Disable signature validation of SAML responses. Highly recommended for minimum security.
- DisableWant boolAssertions Signed 
- Indicates whether the service provider expects a signed Assertion.
- DisableWant boolAuthn Requests Signed 
- Indicates whether the identity provider expects a signed AuthnRequest.
- GuiOrder string
- GUI order.
- HideOn boolLogin Page 
- Defaults to falseif unset.
- Id string
- LdapGroup stringAttribute 
- Type of LDAP Group RDNthat identifies the name of a group within a DN. For example, if an LDAP DN sent in a SAML assertion iscn=Everyone,ou=groups,dc=openam,dc=forgerock,dc=organd theLDAP Group RDNType iscnCyral will interpretEveryoneas the group name.
- NameId stringPolicy Format 
- Defaults to urn:oasis:names:tc:SAML:1.1:nameid-format:unspecifiedif unset.
- PrincipalType string
- Defaults to SUBJECTif unset.
- SamlXml stringKey Name Tranformer 
- Defaults to KEY_IDif unset.
- SignatureType string
- Defaults to RSA_SHA256if unset.
- SigningCertificate string
- Signing certificate used to validate signatures. Required if signature validation is enabled.
- SingleLogout stringService Url 
- URL that must be used to send logout requests.
- SingleSign stringOn Service Url 
- URL that must be used to send authentication requests (SAML AuthnRequest).
- SyncMode string
- Defaults to FORCEif unset.
- WantAssertions boolEncrypted 
- Indicates whether the service provider expects an encrypted Assertion.
- XmlSig stringKey Info Key Name Transformer 
- Defaults to KEY_IDif unset.
- Base64SamlMetadata stringDocument 
- (Required unless using saml_metadata_url) This is the full SAML metadata document that should be used to parse a SAML configuration, Base64 encoded.
- SamlMetadata stringUrl 
- (Required unless using base_64_saml_metadata_document) This is the full SAML metadata URL we should use to parse to a SAML configuration.
- AllowedClock float64Skew 
- Clock skew in seconds that is tolerated when validating identity provider tokens. Default value is 0.
- BackChannel boolSupported 
- Defaults to falseif unset.
- DisableForce boolAuthentication 
- Indicates whether the identity provider must authenticate the presenter directly rather than rely on a previous security context.
- DisablePost boolBinding Authn Request 
- Indicates whether the AuthnRequest must be sent using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- DisablePost boolBinding Logout 
- Indicates whether to respond to requests using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- DisablePost boolBinding Response 
- Indicates whether to respond to requests using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- DisableUsing boolJwks Url 
- By default, the jwks URL is used for all SAML connections.
- DisableValidate boolSignature 
- Enable/Disable signature validation of SAML responses. Highly recommended for minimum security.
- DisableWant boolAssertions Signed 
- Indicates whether the service provider expects a signed Assertion.
- DisableWant boolAuthn Requests Signed 
- Indicates whether the identity provider expects a signed AuthnRequest.
- GuiOrder string
- GUI order.
- HideOn boolLogin Page 
- Defaults to falseif unset.
- Id string
- LdapGroup stringAttribute 
- Type of LDAP Group RDNthat identifies the name of a group within a DN. For example, if an LDAP DN sent in a SAML assertion iscn=Everyone,ou=groups,dc=openam,dc=forgerock,dc=organd theLDAP Group RDNType iscnCyral will interpretEveryoneas the group name.
- NameId stringPolicy Format 
- Defaults to urn:oasis:names:tc:SAML:1.1:nameid-format:unspecifiedif unset.
- PrincipalType string
- Defaults to SUBJECTif unset.
- SamlXml stringKey Name Tranformer 
- Defaults to KEY_IDif unset.
- SignatureType string
- Defaults to RSA_SHA256if unset.
- SigningCertificate string
- Signing certificate used to validate signatures. Required if signature validation is enabled.
- SingleLogout stringService Url 
- URL that must be used to send logout requests.
- SingleSign stringOn Service Url 
- URL that must be used to send authentication requests (SAML AuthnRequest).
- SyncMode string
- Defaults to FORCEif unset.
- WantAssertions boolEncrypted 
- Indicates whether the service provider expects an encrypted Assertion.
- XmlSig stringKey Info Key Name Transformer 
- Defaults to KEY_IDif unset.
- Base64SamlMetadata stringDocument 
- (Required unless using saml_metadata_url) This is the full SAML metadata document that should be used to parse a SAML configuration, Base64 encoded.
- SamlMetadata stringUrl 
- (Required unless using base_64_saml_metadata_document) This is the full SAML metadata URL we should use to parse to a SAML configuration.
- allowedClock DoubleSkew 
- Clock skew in seconds that is tolerated when validating identity provider tokens. Default value is 0.
- backChannel BooleanSupported 
- Defaults to falseif unset.
- disableForce BooleanAuthentication 
- Indicates whether the identity provider must authenticate the presenter directly rather than rely on a previous security context.
- disablePost BooleanBinding Authn Request 
- Indicates whether the AuthnRequest must be sent using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- disablePost BooleanBinding Logout 
- Indicates whether to respond to requests using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- disablePost BooleanBinding Response 
- Indicates whether to respond to requests using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- disableUsing BooleanJwks Url 
- By default, the jwks URL is used for all SAML connections.
- disableValidate BooleanSignature 
- Enable/Disable signature validation of SAML responses. Highly recommended for minimum security.
- disableWant BooleanAssertions Signed 
- Indicates whether the service provider expects a signed Assertion.
- disableWant BooleanAuthn Requests Signed 
- Indicates whether the identity provider expects a signed AuthnRequest.
- guiOrder String
- GUI order.
- hideOn BooleanLogin Page 
- Defaults to falseif unset.
- id String
- ldapGroup StringAttribute 
- Type of LDAP Group RDNthat identifies the name of a group within a DN. For example, if an LDAP DN sent in a SAML assertion iscn=Everyone,ou=groups,dc=openam,dc=forgerock,dc=organd theLDAP Group RDNType iscnCyral will interpretEveryoneas the group name.
- nameId StringPolicy Format 
- Defaults to urn:oasis:names:tc:SAML:1.1:nameid-format:unspecifiedif unset.
- principalType String
- Defaults to SUBJECTif unset.
- samlXml StringKey Name Tranformer 
- Defaults to KEY_IDif unset.
- signatureType String
- Defaults to RSA_SHA256if unset.
- signingCertificate String
- Signing certificate used to validate signatures. Required if signature validation is enabled.
- singleLogout StringService Url 
- URL that must be used to send logout requests.
- singleSign StringOn Service Url 
- URL that must be used to send authentication requests (SAML AuthnRequest).
- syncMode String
- Defaults to FORCEif unset.
- wantAssertions BooleanEncrypted 
- Indicates whether the service provider expects an encrypted Assertion.
- xmlSig StringKey Info Key Name Transformer 
- Defaults to KEY_IDif unset.
- base64SamlMetadata StringDocument 
- (Required unless using saml_metadata_url) This is the full SAML metadata document that should be used to parse a SAML configuration, Base64 encoded.
- samlMetadata StringUrl 
- (Required unless using base_64_saml_metadata_document) This is the full SAML metadata URL we should use to parse to a SAML configuration.
- allowedClock numberSkew 
- Clock skew in seconds that is tolerated when validating identity provider tokens. Default value is 0.
- backChannel booleanSupported 
- Defaults to falseif unset.
- disableForce booleanAuthentication 
- Indicates whether the identity provider must authenticate the presenter directly rather than rely on a previous security context.
- disablePost booleanBinding Authn Request 
- Indicates whether the AuthnRequest must be sent using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- disablePost booleanBinding Logout 
- Indicates whether to respond to requests using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- disablePost booleanBinding Response 
- Indicates whether to respond to requests using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- disableUsing booleanJwks Url 
- By default, the jwks URL is used for all SAML connections.
- disableValidate booleanSignature 
- Enable/Disable signature validation of SAML responses. Highly recommended for minimum security.
- disableWant booleanAssertions Signed 
- Indicates whether the service provider expects a signed Assertion.
- disableWant booleanAuthn Requests Signed 
- Indicates whether the identity provider expects a signed AuthnRequest.
- guiOrder string
- GUI order.
- hideOn booleanLogin Page 
- Defaults to falseif unset.
- id string
- ldapGroup stringAttribute 
- Type of LDAP Group RDNthat identifies the name of a group within a DN. For example, if an LDAP DN sent in a SAML assertion iscn=Everyone,ou=groups,dc=openam,dc=forgerock,dc=organd theLDAP Group RDNType iscnCyral will interpretEveryoneas the group name.
- nameId stringPolicy Format 
- Defaults to urn:oasis:names:tc:SAML:1.1:nameid-format:unspecifiedif unset.
- principalType string
- Defaults to SUBJECTif unset.
- samlXml stringKey Name Tranformer 
- Defaults to KEY_IDif unset.
- signatureType string
- Defaults to RSA_SHA256if unset.
- signingCertificate string
- Signing certificate used to validate signatures. Required if signature validation is enabled.
- singleLogout stringService Url 
- URL that must be used to send logout requests.
- singleSign stringOn Service Url 
- URL that must be used to send authentication requests (SAML AuthnRequest).
- syncMode string
- Defaults to FORCEif unset.
- wantAssertions booleanEncrypted 
- Indicates whether the service provider expects an encrypted Assertion.
- xmlSig stringKey Info Key Name Transformer 
- Defaults to KEY_IDif unset.
- base64SamlMetadata stringDocument 
- (Required unless using saml_metadata_url) This is the full SAML metadata document that should be used to parse a SAML configuration, Base64 encoded.
- samlMetadata stringUrl 
- (Required unless using base_64_saml_metadata_document) This is the full SAML metadata URL we should use to parse to a SAML configuration.
- allowed_clock_ floatskew 
- Clock skew in seconds that is tolerated when validating identity provider tokens. Default value is 0.
- back_channel_ boolsupported 
- Defaults to falseif unset.
- disable_force_ boolauthentication 
- Indicates whether the identity provider must authenticate the presenter directly rather than rely on a previous security context.
- disable_post_ boolbinding_ authn_ request 
- Indicates whether the AuthnRequest must be sent using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- disable_post_ boolbinding_ logout 
- Indicates whether to respond to requests using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- disable_post_ boolbinding_ response 
- Indicates whether to respond to requests using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- disable_using_ booljwks_ url 
- By default, the jwks URL is used for all SAML connections.
- disable_validate_ boolsignature 
- Enable/Disable signature validation of SAML responses. Highly recommended for minimum security.
- disable_want_ boolassertions_ signed 
- Indicates whether the service provider expects a signed Assertion.
- disable_want_ boolauthn_ requests_ signed 
- Indicates whether the identity provider expects a signed AuthnRequest.
- gui_order str
- GUI order.
- hide_on_ boollogin_ page 
- Defaults to falseif unset.
- id str
- ldap_group_ strattribute 
- Type of LDAP Group RDNthat identifies the name of a group within a DN. For example, if an LDAP DN sent in a SAML assertion iscn=Everyone,ou=groups,dc=openam,dc=forgerock,dc=organd theLDAP Group RDNType iscnCyral will interpretEveryoneas the group name.
- name_id_ strpolicy_ format 
- Defaults to urn:oasis:names:tc:SAML:1.1:nameid-format:unspecifiedif unset.
- principal_type str
- Defaults to SUBJECTif unset.
- saml_xml_ strkey_ name_ tranformer 
- Defaults to KEY_IDif unset.
- signature_type str
- Defaults to RSA_SHA256if unset.
- signing_certificate str
- Signing certificate used to validate signatures. Required if signature validation is enabled.
- single_logout_ strservice_ url 
- URL that must be used to send logout requests.
- single_sign_ stron_ service_ url 
- URL that must be used to send authentication requests (SAML AuthnRequest).
- sync_mode str
- Defaults to FORCEif unset.
- want_assertions_ boolencrypted 
- Indicates whether the service provider expects an encrypted Assertion.
- xml_sig_ strkey_ info_ key_ name_ transformer 
- Defaults to KEY_IDif unset.
- base64_saml_ strmetadata_ document 
- (Required unless using saml_metadata_url) This is the full SAML metadata document that should be used to parse a SAML configuration, Base64 encoded.
- saml_metadata_ strurl 
- (Required unless using base_64_saml_metadata_document) This is the full SAML metadata URL we should use to parse to a SAML configuration.
- allowedClock NumberSkew 
- Clock skew in seconds that is tolerated when validating identity provider tokens. Default value is 0.
- backChannel BooleanSupported 
- Defaults to falseif unset.
- disableForce BooleanAuthentication 
- Indicates whether the identity provider must authenticate the presenter directly rather than rely on a previous security context.
- disablePost BooleanBinding Authn Request 
- Indicates whether the AuthnRequest must be sent using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- disablePost BooleanBinding Logout 
- Indicates whether to respond to requests using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- disablePost BooleanBinding Response 
- Indicates whether to respond to requests using HTTP-POSTbinding. Iftrue,HTTP-REDIRECTbinding will be used.
- disableUsing BooleanJwks Url 
- By default, the jwks URL is used for all SAML connections.
- disableValidate BooleanSignature 
- Enable/Disable signature validation of SAML responses. Highly recommended for minimum security.
- disableWant BooleanAssertions Signed 
- Indicates whether the service provider expects a signed Assertion.
- disableWant BooleanAuthn Requests Signed 
- Indicates whether the identity provider expects a signed AuthnRequest.
- guiOrder String
- GUI order.
- hideOn BooleanLogin Page 
- Defaults to falseif unset.
- id String
- ldapGroup StringAttribute 
- Type of LDAP Group RDNthat identifies the name of a group within a DN. For example, if an LDAP DN sent in a SAML assertion iscn=Everyone,ou=groups,dc=openam,dc=forgerock,dc=organd theLDAP Group RDNType iscnCyral will interpretEveryoneas the group name.
- nameId StringPolicy Format 
- Defaults to urn:oasis:names:tc:SAML:1.1:nameid-format:unspecifiedif unset.
- principalType String
- Defaults to SUBJECTif unset.
- samlXml StringKey Name Tranformer 
- Defaults to KEY_IDif unset.
- signatureType String
- Defaults to RSA_SHA256if unset.
- signingCertificate String
- Signing certificate used to validate signatures. Required if signature validation is enabled.
- singleLogout StringService Url 
- URL that must be used to send logout requests.
- singleSign StringOn Service Url 
- URL that must be used to send authentication requests (SAML AuthnRequest).
- syncMode String
- Defaults to FORCEif unset.
- wantAssertions BooleanEncrypted 
- Indicates whether the service provider expects an encrypted Assertion.
- xmlSig StringKey Info Key Name Transformer 
- Defaults to KEY_IDif unset.
- base64SamlMetadata StringDocument 
- (Required unless using saml_metadata_url) This is the full SAML metadata document that should be used to parse a SAML configuration, Base64 encoded.
- samlMetadata StringUrl 
- (Required unless using base_64_saml_metadata_document) This is the full SAML metadata URL we should use to parse to a SAML configuration.
Package Details
- Repository
- cyral cyralinc/terraform-provider-cyral
- License
- Notes
- This Pulumi package is based on the cyralTerraform Provider.