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 dictionary
The following arguments are supported:
- Base64Saml
Metadata 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. - Saml
Metadata 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.
- Base64Saml
Metadata 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. - Saml
Metadata 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.
- base64Saml
Metadata 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. - saml
Metadata 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.
- base64Saml
Metadata 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. - saml
Metadata 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.
- base64Saml
Metadata 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. - saml
Metadata 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:
- Allowed
Clock doubleSkew - Clock skew in seconds that is tolerated when validating identity provider tokens. Default value is
0
. - Back
Channel boolSupported - Defaults to
false
if 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-POST
binding. Iftrue
,HTTP-REDIRECT
binding will be used. - Disable
Post boolBinding Logout - Indicates whether to respond to requests using
HTTP-POST
binding. Iftrue
,HTTP-REDIRECT
binding will be used. - Disable
Post boolBinding Response - Indicates whether to respond to requests using
HTTP-POST
binding. Iftrue
,HTTP-REDIRECT
binding 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 string - GUI order.
- Hide
On boolLogin Page - Defaults to
false
if unset. - Id string
- Ldap
Group stringAttribute - Type of
LDAP Group RDN
that 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=org
and theLDAP Group RDN
Type iscn
Cyral will interpretEveryone
as the group name. - Name
Id stringPolicy Format - Defaults to
urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
if unset. - Principal
Type string - Defaults to
SUBJECT
if unset. - Saml
Xml stringKey Name Tranformer - Defaults to
KEY_ID
if unset. - Signature
Type string - Defaults to
RSA_SHA256
if unset. - Signing
Certificate string - Signing certificate used to validate signatures. Required if signature validation is enabled.
- Single
Logout stringService Url - URL that must be used to send logout requests.
- Single
Sign stringOn Service Url - URL that must be used to send authentication requests (SAML AuthnRequest).
- Sync
Mode string - Defaults to
FORCE
if unset. - Want
Assertions boolEncrypted - Indicates whether the service provider expects an encrypted Assertion.
- Xml
Sig stringKey Info Key Name Transformer - Defaults to
KEY_ID
if unset. - Base64Saml
Metadata 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. - Saml
Metadata 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 float64Skew - Clock skew in seconds that is tolerated when validating identity provider tokens. Default value is
0
. - Back
Channel boolSupported - Defaults to
false
if 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-POST
binding. Iftrue
,HTTP-REDIRECT
binding will be used. - Disable
Post boolBinding Logout - Indicates whether to respond to requests using
HTTP-POST
binding. Iftrue
,HTTP-REDIRECT
binding will be used. - Disable
Post boolBinding Response - Indicates whether to respond to requests using
HTTP-POST
binding. Iftrue
,HTTP-REDIRECT
binding 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 string - GUI order.
- Hide
On boolLogin Page - Defaults to
false
if unset. - Id string
- Ldap
Group stringAttribute - Type of
LDAP Group RDN
that 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=org
and theLDAP Group RDN
Type iscn
Cyral will interpretEveryone
as the group name. - Name
Id stringPolicy Format - Defaults to
urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
if unset. - Principal
Type string - Defaults to
SUBJECT
if unset. - Saml
Xml stringKey Name Tranformer - Defaults to
KEY_ID
if unset. - Signature
Type string - Defaults to
RSA_SHA256
if unset. - Signing
Certificate string - Signing certificate used to validate signatures. Required if signature validation is enabled.
- Single
Logout stringService Url - URL that must be used to send logout requests.
- Single
Sign stringOn Service Url - URL that must be used to send authentication requests (SAML AuthnRequest).
- Sync
Mode string - Defaults to
FORCE
if unset. - Want
Assertions boolEncrypted - Indicates whether the service provider expects an encrypted Assertion.
- Xml
Sig stringKey Info Key Name Transformer - Defaults to
KEY_ID
if unset. - Base64Saml
Metadata 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. - Saml
Metadata 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 DoubleSkew - Clock skew in seconds that is tolerated when validating identity provider tokens. Default value is
0
. - back
Channel BooleanSupported - Defaults to
false
if unset. - disable
Force BooleanAuthentication - Indicates whether the identity provider must authenticate the presenter directly rather than rely on a previous security context.
- disable
Post BooleanBinding Authn Request - Indicates whether the AuthnRequest must be sent using
HTTP-POST
binding. Iftrue
,HTTP-REDIRECT
binding will be used. - disable
Post BooleanBinding Logout - Indicates whether to respond to requests using
HTTP-POST
binding. Iftrue
,HTTP-REDIRECT
binding will be used. - disable
Post BooleanBinding Response - Indicates whether to respond to requests using
HTTP-POST
binding. Iftrue
,HTTP-REDIRECT
binding will be used. - disable
Using BooleanJwks Url - By default, the jwks URL is used for all SAML connections.
- disable
Validate BooleanSignature - Enable/Disable signature validation of SAML responses. Highly recommended for minimum security.
- disable
Want BooleanAssertions Signed - Indicates whether the service provider expects a signed Assertion.
- disable
Want BooleanAuthn Requests Signed - Indicates whether the identity provider expects a signed AuthnRequest.
- gui
Order String - GUI order.
- hide
On BooleanLogin Page - Defaults to
false
if unset. - id String
- ldap
Group StringAttribute - Type of
LDAP Group RDN
that 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=org
and theLDAP Group RDN
Type iscn
Cyral will interpretEveryone
as the group name. - name
Id StringPolicy Format - Defaults to
urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
if unset. - principal
Type String - Defaults to
SUBJECT
if unset. - saml
Xml StringKey Name Tranformer - Defaults to
KEY_ID
if unset. - signature
Type String - Defaults to
RSA_SHA256
if unset. - signing
Certificate String - Signing certificate used to validate signatures. Required if signature validation is enabled.
- single
Logout StringService Url - URL that must be used to send logout requests.
- single
Sign StringOn Service Url - URL that must be used to send authentication requests (SAML AuthnRequest).
- sync
Mode String - Defaults to
FORCE
if unset. - want
Assertions BooleanEncrypted - Indicates whether the service provider expects an encrypted Assertion.
- xml
Sig StringKey Info Key Name Transformer - Defaults to
KEY_ID
if unset. - base64Saml
Metadata 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. - saml
Metadata 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 numberSkew - Clock skew in seconds that is tolerated when validating identity provider tokens. Default value is
0
. - back
Channel booleanSupported - Defaults to
false
if unset. - disable
Force booleanAuthentication - Indicates whether the identity provider must authenticate the presenter directly rather than rely on a previous security context.
- disable
Post booleanBinding Authn Request - Indicates whether the AuthnRequest must be sent using
HTTP-POST
binding. Iftrue
,HTTP-REDIRECT
binding will be used. - disable
Post booleanBinding Logout - Indicates whether to respond to requests using
HTTP-POST
binding. Iftrue
,HTTP-REDIRECT
binding will be used. - disable
Post booleanBinding Response - Indicates whether to respond to requests using
HTTP-POST
binding. Iftrue
,HTTP-REDIRECT
binding will be used. - disable
Using booleanJwks Url - By default, the jwks URL is used for all SAML connections.
- disable
Validate booleanSignature - Enable/Disable signature validation of SAML responses. Highly recommended for minimum security.
- disable
Want booleanAssertions Signed - Indicates whether the service provider expects a signed Assertion.
- disable
Want booleanAuthn Requests Signed - Indicates whether the identity provider expects a signed AuthnRequest.
- gui
Order string - GUI order.
- hide
On booleanLogin Page - Defaults to
false
if unset. - id string
- ldap
Group stringAttribute - Type of
LDAP Group RDN
that 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=org
and theLDAP Group RDN
Type iscn
Cyral will interpretEveryone
as the group name. - name
Id stringPolicy Format - Defaults to
urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
if unset. - principal
Type string - Defaults to
SUBJECT
if unset. - saml
Xml stringKey Name Tranformer - Defaults to
KEY_ID
if unset. - signature
Type string - Defaults to
RSA_SHA256
if unset. - signing
Certificate string - Signing certificate used to validate signatures. Required if signature validation is enabled.
- single
Logout stringService Url - URL that must be used to send logout requests.
- single
Sign stringOn Service Url - URL that must be used to send authentication requests (SAML AuthnRequest).
- sync
Mode string - Defaults to
FORCE
if unset. - want
Assertions booleanEncrypted - Indicates whether the service provider expects an encrypted Assertion.
- xml
Sig stringKey Info Key Name Transformer - Defaults to
KEY_ID
if unset. - base64Saml
Metadata 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. - saml
Metadata 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
false
if 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-POST
binding. Iftrue
,HTTP-REDIRECT
binding will be used. - disable_
post_ boolbinding_ logout - Indicates whether to respond to requests using
HTTP-POST
binding. Iftrue
,HTTP-REDIRECT
binding will be used. - disable_
post_ boolbinding_ response - Indicates whether to respond to requests using
HTTP-POST
binding. Iftrue
,HTTP-REDIRECT
binding 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
false
if unset. - id str
- ldap_
group_ strattribute - Type of
LDAP Group RDN
that 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=org
and theLDAP Group RDN
Type iscn
Cyral will interpretEveryone
as the group name. - name_
id_ strpolicy_ format - Defaults to
urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
if unset. - principal_
type str - Defaults to
SUBJECT
if unset. - saml_
xml_ strkey_ name_ tranformer - Defaults to
KEY_ID
if unset. - signature_
type str - Defaults to
RSA_SHA256
if 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
FORCE
if unset. - want_
assertions_ boolencrypted - Indicates whether the service provider expects an encrypted Assertion.
- xml_
sig_ strkey_ info_ key_ name_ transformer - Defaults to
KEY_ID
if 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.
- allowed
Clock NumberSkew - Clock skew in seconds that is tolerated when validating identity provider tokens. Default value is
0
. - back
Channel BooleanSupported - Defaults to
false
if unset. - disable
Force BooleanAuthentication - Indicates whether the identity provider must authenticate the presenter directly rather than rely on a previous security context.
- disable
Post BooleanBinding Authn Request - Indicates whether the AuthnRequest must be sent using
HTTP-POST
binding. Iftrue
,HTTP-REDIRECT
binding will be used. - disable
Post BooleanBinding Logout - Indicates whether to respond to requests using
HTTP-POST
binding. Iftrue
,HTTP-REDIRECT
binding will be used. - disable
Post BooleanBinding Response - Indicates whether to respond to requests using
HTTP-POST
binding. Iftrue
,HTTP-REDIRECT
binding will be used. - disable
Using BooleanJwks Url - By default, the jwks URL is used for all SAML connections.
- disable
Validate BooleanSignature - Enable/Disable signature validation of SAML responses. Highly recommended for minimum security.
- disable
Want BooleanAssertions Signed - Indicates whether the service provider expects a signed Assertion.
- disable
Want BooleanAuthn Requests Signed - Indicates whether the identity provider expects a signed AuthnRequest.
- gui
Order String - GUI order.
- hide
On BooleanLogin Page - Defaults to
false
if unset. - id String
- ldap
Group StringAttribute - Type of
LDAP Group RDN
that 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=org
and theLDAP Group RDN
Type iscn
Cyral will interpretEveryone
as the group name. - name
Id StringPolicy Format - Defaults to
urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
if unset. - principal
Type String - Defaults to
SUBJECT
if unset. - saml
Xml StringKey Name Tranformer - Defaults to
KEY_ID
if unset. - signature
Type String - Defaults to
RSA_SHA256
if unset. - signing
Certificate String - Signing certificate used to validate signatures. Required if signature validation is enabled.
- single
Logout StringService Url - URL that must be used to send logout requests.
- single
Sign StringOn Service Url - URL that must be used to send authentication requests (SAML AuthnRequest).
- sync
Mode String - Defaults to
FORCE
if unset. - want
Assertions BooleanEncrypted - Indicates whether the service provider expects an encrypted Assertion.
- xml
Sig StringKey Info Key Name Transformer - Defaults to
KEY_ID
if unset. - base64Saml
Metadata 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. - saml
Metadata 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
cyral
Terraform Provider.