Okta v4.11.3 published on Monday, Oct 21, 2024 by Pulumi
okta.idp.getSaml
Explore with Pulumi AI
Get a SAML IdP from Okta.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const example = okta.idp.getSaml({
name: "Example App",
});
import pulumi
import pulumi_okta as okta
example = okta.idp.get_saml(name="Example App")
package main
import (
"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := idp.LookupSaml(ctx, &idp.LookupSamlArgs{
Name: pulumi.StringRef("Example App"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Okta = Pulumi.Okta;
return await Deployment.RunAsync(() =>
{
var example = Okta.Idp.GetSaml.Invoke(new()
{
Name = "Example App",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.idp.IdpFunctions;
import com.pulumi.okta.idp.inputs.GetSamlArgs;
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 example = IdpFunctions.getSaml(GetSamlArgs.builder()
.name("Example App")
.build());
}
}
variables:
example:
fn::invoke:
Function: okta:idp:getSaml
Arguments:
name: Example App
Using getSaml
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 getSaml(args: GetSamlArgs, opts?: InvokeOptions): Promise<GetSamlResult>
function getSamlOutput(args: GetSamlOutputArgs, opts?: InvokeOptions): Output<GetSamlResult>
def get_saml(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSamlResult
def get_saml_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSamlResult]
func LookupSaml(ctx *Context, args *LookupSamlArgs, opts ...InvokeOption) (*LookupSamlResult, error)
func LookupSamlOutput(ctx *Context, args *LookupSamlOutputArgs, opts ...InvokeOption) LookupSamlResultOutput
> Note: This function is named LookupSaml
in the Go SDK.
public static class GetSaml
{
public static Task<GetSamlResult> InvokeAsync(GetSamlArgs args, InvokeOptions? opts = null)
public static Output<GetSamlResult> Invoke(GetSamlInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSamlResult> getSaml(GetSamlArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: okta:idp/getSaml:getSaml
arguments:
# arguments dictionary
The following arguments are supported:
getSaml Result
The following output properties are available:
- Acs
Binding string - ACS binding
- Acs
Type string - Determines whether to publish an instance-specific (trust) or organization (shared) ACS endpoint in the SAML metadata.
- Audience string
- URI that identifies the target Okta IdP instance (SP)
- Issuer string
- URI that identifies the issuer (IdP).
- Issuer
Mode string - Indicates whether Okta uses the original Okta org domain URL, or a custom domain URL in the request to the IdP.
- Kid string
- Key ID reference to the IdP's X.509 signature certificate.
- Sso
Binding string - Single sign-on binding.
- Sso
Destination string - SSO request binding, HTTP-POST or HTTP-REDIRECT.
- Sso
Url string - Single sign-on url.
- Subject
Filter string - Regular expression pattern used to filter untrusted IdP usernames.
- Subject
Formats List<string> - Expression to generate or transform a unique username for the IdP user.
- Type string
- Type of idp.
- Id string
- Id of idp.
- Name string
- Name of the idp.
- Acs
Binding string - ACS binding
- Acs
Type string - Determines whether to publish an instance-specific (trust) or organization (shared) ACS endpoint in the SAML metadata.
- Audience string
- URI that identifies the target Okta IdP instance (SP)
- Issuer string
- URI that identifies the issuer (IdP).
- Issuer
Mode string - Indicates whether Okta uses the original Okta org domain URL, or a custom domain URL in the request to the IdP.
- Kid string
- Key ID reference to the IdP's X.509 signature certificate.
- Sso
Binding string - Single sign-on binding.
- Sso
Destination string - SSO request binding, HTTP-POST or HTTP-REDIRECT.
- Sso
Url string - Single sign-on url.
- Subject
Filter string - Regular expression pattern used to filter untrusted IdP usernames.
- Subject
Formats []string - Expression to generate or transform a unique username for the IdP user.
- Type string
- Type of idp.
- Id string
- Id of idp.
- Name string
- Name of the idp.
- acs
Binding String - ACS binding
- acs
Type String - Determines whether to publish an instance-specific (trust) or organization (shared) ACS endpoint in the SAML metadata.
- audience String
- URI that identifies the target Okta IdP instance (SP)
- issuer String
- URI that identifies the issuer (IdP).
- issuer
Mode String - Indicates whether Okta uses the original Okta org domain URL, or a custom domain URL in the request to the IdP.
- kid String
- Key ID reference to the IdP's X.509 signature certificate.
- sso
Binding String - Single sign-on binding.
- sso
Destination String - SSO request binding, HTTP-POST or HTTP-REDIRECT.
- sso
Url String - Single sign-on url.
- subject
Filter String - Regular expression pattern used to filter untrusted IdP usernames.
- subject
Formats List<String> - Expression to generate or transform a unique username for the IdP user.
- type String
- Type of idp.
- id String
- Id of idp.
- name String
- Name of the idp.
- acs
Binding string - ACS binding
- acs
Type string - Determines whether to publish an instance-specific (trust) or organization (shared) ACS endpoint in the SAML metadata.
- audience string
- URI that identifies the target Okta IdP instance (SP)
- issuer string
- URI that identifies the issuer (IdP).
- issuer
Mode string - Indicates whether Okta uses the original Okta org domain URL, or a custom domain URL in the request to the IdP.
- kid string
- Key ID reference to the IdP's X.509 signature certificate.
- sso
Binding string - Single sign-on binding.
- sso
Destination string - SSO request binding, HTTP-POST or HTTP-REDIRECT.
- sso
Url string - Single sign-on url.
- subject
Filter string - Regular expression pattern used to filter untrusted IdP usernames.
- subject
Formats string[] - Expression to generate or transform a unique username for the IdP user.
- type string
- Type of idp.
- id string
- Id of idp.
- name string
- Name of the idp.
- acs_
binding str - ACS binding
- acs_
type str - Determines whether to publish an instance-specific (trust) or organization (shared) ACS endpoint in the SAML metadata.
- audience str
- URI that identifies the target Okta IdP instance (SP)
- issuer str
- URI that identifies the issuer (IdP).
- issuer_
mode str - Indicates whether Okta uses the original Okta org domain URL, or a custom domain URL in the request to the IdP.
- kid str
- Key ID reference to the IdP's X.509 signature certificate.
- sso_
binding str - Single sign-on binding.
- sso_
destination str - SSO request binding, HTTP-POST or HTTP-REDIRECT.
- sso_
url str - Single sign-on url.
- subject_
filter str - Regular expression pattern used to filter untrusted IdP usernames.
- subject_
formats Sequence[str] - Expression to generate or transform a unique username for the IdP user.
- type str
- Type of idp.
- id str
- Id of idp.
- name str
- Name of the idp.
- acs
Binding String - ACS binding
- acs
Type String - Determines whether to publish an instance-specific (trust) or organization (shared) ACS endpoint in the SAML metadata.
- audience String
- URI that identifies the target Okta IdP instance (SP)
- issuer String
- URI that identifies the issuer (IdP).
- issuer
Mode String - Indicates whether Okta uses the original Okta org domain URL, or a custom domain URL in the request to the IdP.
- kid String
- Key ID reference to the IdP's X.509 signature certificate.
- sso
Binding String - Single sign-on binding.
- sso
Destination String - SSO request binding, HTTP-POST or HTTP-REDIRECT.
- sso
Url String - Single sign-on url.
- subject
Filter String - Regular expression pattern used to filter untrusted IdP usernames.
- subject
Formats List<String> - Expression to generate or transform a unique username for the IdP user.
- type String
- Type of idp.
- id String
- Id of idp.
- name String
- Name of the idp.
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
okta
Terraform Provider.