gcp.identityplatform.TenantInboundSamlConfig
Explore with Pulumi AI
Inbound SAML configuration for a Identity Toolkit tenant.
You must enable the Google Identity Platform in the marketplace prior to using this resource.
Example Usage
Identity Platform Tenant Inbound Saml Config Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
import * as std from "@pulumi/std";
const tenant = new gcp.identityplatform.Tenant("tenant", {displayName: "tenant"});
const tenantSamlConfig = new gcp.identityplatform.TenantInboundSamlConfig("tenant_saml_config", {
name: "saml.tf-config",
displayName: "Display Name",
tenant: tenant.name,
idpConfig: {
idpEntityId: "tf-idp",
signRequest: true,
ssoUrl: "https://example.com",
idpCertificates: [{
x509Certificate: std.file({
input: "test-fixtures/rsa_cert.pem",
}).then(invoke => invoke.result),
}],
},
spConfig: {
spEntityId: "tf-sp",
callbackUri: "https://example.com",
},
});
import pulumi
import pulumi_gcp as gcp
import pulumi_std as std
tenant = gcp.identityplatform.Tenant("tenant", display_name="tenant")
tenant_saml_config = gcp.identityplatform.TenantInboundSamlConfig("tenant_saml_config",
name="saml.tf-config",
display_name="Display Name",
tenant=tenant.name,
idp_config={
"idp_entity_id": "tf-idp",
"sign_request": True,
"sso_url": "https://example.com",
"idp_certificates": [{
"x509_certificate": std.file(input="test-fixtures/rsa_cert.pem").result,
}],
},
sp_config={
"sp_entity_id": "tf-sp",
"callback_uri": "https://example.com",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/identityplatform"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
tenant, err := identityplatform.NewTenant(ctx, "tenant", &identityplatform.TenantArgs{
DisplayName: pulumi.String("tenant"),
})
if err != nil {
return err
}
invokeFile, err := std.File(ctx, &std.FileArgs{
Input: "test-fixtures/rsa_cert.pem",
}, nil)
if err != nil {
return err
}
_, err = identityplatform.NewTenantInboundSamlConfig(ctx, "tenant_saml_config", &identityplatform.TenantInboundSamlConfigArgs{
Name: pulumi.String("saml.tf-config"),
DisplayName: pulumi.String("Display Name"),
Tenant: tenant.Name,
IdpConfig: &identityplatform.TenantInboundSamlConfigIdpConfigArgs{
IdpEntityId: pulumi.String("tf-idp"),
SignRequest: pulumi.Bool(true),
SsoUrl: pulumi.String("https://example.com"),
IdpCertificates: identityplatform.TenantInboundSamlConfigIdpConfigIdpCertificateArray{
&identityplatform.TenantInboundSamlConfigIdpConfigIdpCertificateArgs{
X509Certificate: pulumi.String(invokeFile.Result),
},
},
},
SpConfig: &identityplatform.TenantInboundSamlConfigSpConfigArgs{
SpEntityId: pulumi.String("tf-sp"),
CallbackUri: pulumi.String("https://example.com"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() =>
{
var tenant = new Gcp.IdentityPlatform.Tenant("tenant", new()
{
DisplayName = "tenant",
});
var tenantSamlConfig = new Gcp.IdentityPlatform.TenantInboundSamlConfig("tenant_saml_config", new()
{
Name = "saml.tf-config",
DisplayName = "Display Name",
Tenant = tenant.Name,
IdpConfig = new Gcp.IdentityPlatform.Inputs.TenantInboundSamlConfigIdpConfigArgs
{
IdpEntityId = "tf-idp",
SignRequest = true,
SsoUrl = "https://example.com",
IdpCertificates = new[]
{
new Gcp.IdentityPlatform.Inputs.TenantInboundSamlConfigIdpConfigIdpCertificateArgs
{
X509Certificate = Std.File.Invoke(new()
{
Input = "test-fixtures/rsa_cert.pem",
}).Apply(invoke => invoke.Result),
},
},
},
SpConfig = new Gcp.IdentityPlatform.Inputs.TenantInboundSamlConfigSpConfigArgs
{
SpEntityId = "tf-sp",
CallbackUri = "https://example.com",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.identityplatform.Tenant;
import com.pulumi.gcp.identityplatform.TenantArgs;
import com.pulumi.gcp.identityplatform.TenantInboundSamlConfig;
import com.pulumi.gcp.identityplatform.TenantInboundSamlConfigArgs;
import com.pulumi.gcp.identityplatform.inputs.TenantInboundSamlConfigIdpConfigArgs;
import com.pulumi.gcp.identityplatform.inputs.TenantInboundSamlConfigSpConfigArgs;
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) {
var tenant = new Tenant("tenant", TenantArgs.builder()
.displayName("tenant")
.build());
var tenantSamlConfig = new TenantInboundSamlConfig("tenantSamlConfig", TenantInboundSamlConfigArgs.builder()
.name("saml.tf-config")
.displayName("Display Name")
.tenant(tenant.name())
.idpConfig(TenantInboundSamlConfigIdpConfigArgs.builder()
.idpEntityId("tf-idp")
.signRequest(true)
.ssoUrl("https://example.com")
.idpCertificates(TenantInboundSamlConfigIdpConfigIdpCertificateArgs.builder()
.x509Certificate(StdFunctions.file(FileArgs.builder()
.input("test-fixtures/rsa_cert.pem")
.build()).result())
.build())
.build())
.spConfig(TenantInboundSamlConfigSpConfigArgs.builder()
.spEntityId("tf-sp")
.callbackUri("https://example.com")
.build())
.build());
}
}
resources:
tenant:
type: gcp:identityplatform:Tenant
properties:
displayName: tenant
tenantSamlConfig:
type: gcp:identityplatform:TenantInboundSamlConfig
name: tenant_saml_config
properties:
name: saml.tf-config
displayName: Display Name
tenant: ${tenant.name}
idpConfig:
idpEntityId: tf-idp
signRequest: true
ssoUrl: https://example.com
idpCertificates:
- x509Certificate:
fn::invoke:
Function: std:file
Arguments:
input: test-fixtures/rsa_cert.pem
Return: result
spConfig:
spEntityId: tf-sp
callbackUri: https://example.com
Create TenantInboundSamlConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TenantInboundSamlConfig(name: string, args: TenantInboundSamlConfigArgs, opts?: CustomResourceOptions);
@overload
def TenantInboundSamlConfig(resource_name: str,
args: TenantInboundSamlConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TenantInboundSamlConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
idp_config: Optional[TenantInboundSamlConfigIdpConfigArgs] = None,
sp_config: Optional[TenantInboundSamlConfigSpConfigArgs] = None,
tenant: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
project: Optional[str] = None)
func NewTenantInboundSamlConfig(ctx *Context, name string, args TenantInboundSamlConfigArgs, opts ...ResourceOption) (*TenantInboundSamlConfig, error)
public TenantInboundSamlConfig(string name, TenantInboundSamlConfigArgs args, CustomResourceOptions? opts = null)
public TenantInboundSamlConfig(String name, TenantInboundSamlConfigArgs args)
public TenantInboundSamlConfig(String name, TenantInboundSamlConfigArgs args, CustomResourceOptions options)
type: gcp:identityplatform:TenantInboundSamlConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TenantInboundSamlConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TenantInboundSamlConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TenantInboundSamlConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TenantInboundSamlConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TenantInboundSamlConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var tenantInboundSamlConfigResource = new Gcp.IdentityPlatform.TenantInboundSamlConfig("tenantInboundSamlConfigResource", new()
{
DisplayName = "string",
IdpConfig = new Gcp.IdentityPlatform.Inputs.TenantInboundSamlConfigIdpConfigArgs
{
IdpCertificates = new[]
{
new Gcp.IdentityPlatform.Inputs.TenantInboundSamlConfigIdpConfigIdpCertificateArgs
{
X509Certificate = "string",
},
},
IdpEntityId = "string",
SsoUrl = "string",
SignRequest = false,
},
SpConfig = new Gcp.IdentityPlatform.Inputs.TenantInboundSamlConfigSpConfigArgs
{
CallbackUri = "string",
SpEntityId = "string",
SpCertificates = new[]
{
new Gcp.IdentityPlatform.Inputs.TenantInboundSamlConfigSpConfigSpCertificateArgs
{
X509Certificate = "string",
},
},
},
Tenant = "string",
Enabled = false,
Name = "string",
Project = "string",
});
example, err := identityplatform.NewTenantInboundSamlConfig(ctx, "tenantInboundSamlConfigResource", &identityplatform.TenantInboundSamlConfigArgs{
DisplayName: pulumi.String("string"),
IdpConfig: &identityplatform.TenantInboundSamlConfigIdpConfigArgs{
IdpCertificates: identityplatform.TenantInboundSamlConfigIdpConfigIdpCertificateArray{
&identityplatform.TenantInboundSamlConfigIdpConfigIdpCertificateArgs{
X509Certificate: pulumi.String("string"),
},
},
IdpEntityId: pulumi.String("string"),
SsoUrl: pulumi.String("string"),
SignRequest: pulumi.Bool(false),
},
SpConfig: &identityplatform.TenantInboundSamlConfigSpConfigArgs{
CallbackUri: pulumi.String("string"),
SpEntityId: pulumi.String("string"),
SpCertificates: identityplatform.TenantInboundSamlConfigSpConfigSpCertificateArray{
&identityplatform.TenantInboundSamlConfigSpConfigSpCertificateArgs{
X509Certificate: pulumi.String("string"),
},
},
},
Tenant: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
})
var tenantInboundSamlConfigResource = new TenantInboundSamlConfig("tenantInboundSamlConfigResource", TenantInboundSamlConfigArgs.builder()
.displayName("string")
.idpConfig(TenantInboundSamlConfigIdpConfigArgs.builder()
.idpCertificates(TenantInboundSamlConfigIdpConfigIdpCertificateArgs.builder()
.x509Certificate("string")
.build())
.idpEntityId("string")
.ssoUrl("string")
.signRequest(false)
.build())
.spConfig(TenantInboundSamlConfigSpConfigArgs.builder()
.callbackUri("string")
.spEntityId("string")
.spCertificates(TenantInboundSamlConfigSpConfigSpCertificateArgs.builder()
.x509Certificate("string")
.build())
.build())
.tenant("string")
.enabled(false)
.name("string")
.project("string")
.build());
tenant_inbound_saml_config_resource = gcp.identityplatform.TenantInboundSamlConfig("tenantInboundSamlConfigResource",
display_name="string",
idp_config={
"idpCertificates": [{
"x509Certificate": "string",
}],
"idpEntityId": "string",
"ssoUrl": "string",
"signRequest": False,
},
sp_config={
"callbackUri": "string",
"spEntityId": "string",
"spCertificates": [{
"x509Certificate": "string",
}],
},
tenant="string",
enabled=False,
name="string",
project="string")
const tenantInboundSamlConfigResource = new gcp.identityplatform.TenantInboundSamlConfig("tenantInboundSamlConfigResource", {
displayName: "string",
idpConfig: {
idpCertificates: [{
x509Certificate: "string",
}],
idpEntityId: "string",
ssoUrl: "string",
signRequest: false,
},
spConfig: {
callbackUri: "string",
spEntityId: "string",
spCertificates: [{
x509Certificate: "string",
}],
},
tenant: "string",
enabled: false,
name: "string",
project: "string",
});
type: gcp:identityplatform:TenantInboundSamlConfig
properties:
displayName: string
enabled: false
idpConfig:
idpCertificates:
- x509Certificate: string
idpEntityId: string
signRequest: false
ssoUrl: string
name: string
project: string
spConfig:
callbackUri: string
spCertificates:
- x509Certificate: string
spEntityId: string
tenant: string
TenantInboundSamlConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The TenantInboundSamlConfig resource accepts the following input properties:
- Display
Name string - Human friendly display name.
- Idp
Config TenantInbound Saml Config Idp Config - SAML IdP configuration when the project acts as the relying party Structure is documented below.
- Sp
Config TenantInbound Saml Config Sp Config - SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. Structure is documented below.
- Tenant string
- The name of the tenant where this inbound SAML config resource exists
- Enabled bool
- If this config allows users to sign in with the provider.
- Name string
- The name of the InboundSamlConfig resource. Must start with 'saml.' and can only have alphanumeric characters, hyphens, underscores or periods. The part after 'saml.' must also start with a lowercase letter, end with an alphanumeric character, and have at least 2 characters.
- Project string
- Display
Name string - Human friendly display name.
- Idp
Config TenantInbound Saml Config Idp Config Args - SAML IdP configuration when the project acts as the relying party Structure is documented below.
- Sp
Config TenantInbound Saml Config Sp Config Args - SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. Structure is documented below.
- Tenant string
- The name of the tenant where this inbound SAML config resource exists
- Enabled bool
- If this config allows users to sign in with the provider.
- Name string
- The name of the InboundSamlConfig resource. Must start with 'saml.' and can only have alphanumeric characters, hyphens, underscores or periods. The part after 'saml.' must also start with a lowercase letter, end with an alphanumeric character, and have at least 2 characters.
- Project string
- display
Name String - Human friendly display name.
- idp
Config TenantInbound Saml Config Idp Config - SAML IdP configuration when the project acts as the relying party Structure is documented below.
- sp
Config TenantInbound Saml Config Sp Config - SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. Structure is documented below.
- tenant String
- The name of the tenant where this inbound SAML config resource exists
- enabled Boolean
- If this config allows users to sign in with the provider.
- name String
- The name of the InboundSamlConfig resource. Must start with 'saml.' and can only have alphanumeric characters, hyphens, underscores or periods. The part after 'saml.' must also start with a lowercase letter, end with an alphanumeric character, and have at least 2 characters.
- project String
- display
Name string - Human friendly display name.
- idp
Config TenantInbound Saml Config Idp Config - SAML IdP configuration when the project acts as the relying party Structure is documented below.
- sp
Config TenantInbound Saml Config Sp Config - SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. Structure is documented below.
- tenant string
- The name of the tenant where this inbound SAML config resource exists
- enabled boolean
- If this config allows users to sign in with the provider.
- name string
- The name of the InboundSamlConfig resource. Must start with 'saml.' and can only have alphanumeric characters, hyphens, underscores or periods. The part after 'saml.' must also start with a lowercase letter, end with an alphanumeric character, and have at least 2 characters.
- project string
- display_
name str - Human friendly display name.
- idp_
config TenantInbound Saml Config Idp Config Args - SAML IdP configuration when the project acts as the relying party Structure is documented below.
- sp_
config TenantInbound Saml Config Sp Config Args - SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. Structure is documented below.
- tenant str
- The name of the tenant where this inbound SAML config resource exists
- enabled bool
- If this config allows users to sign in with the provider.
- name str
- The name of the InboundSamlConfig resource. Must start with 'saml.' and can only have alphanumeric characters, hyphens, underscores or periods. The part after 'saml.' must also start with a lowercase letter, end with an alphanumeric character, and have at least 2 characters.
- project str
- display
Name String - Human friendly display name.
- idp
Config Property Map - SAML IdP configuration when the project acts as the relying party Structure is documented below.
- sp
Config Property Map - SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. Structure is documented below.
- tenant String
- The name of the tenant where this inbound SAML config resource exists
- enabled Boolean
- If this config allows users to sign in with the provider.
- name String
- The name of the InboundSamlConfig resource. Must start with 'saml.' and can only have alphanumeric characters, hyphens, underscores or periods. The part after 'saml.' must also start with a lowercase letter, end with an alphanumeric character, and have at least 2 characters.
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the TenantInboundSamlConfig resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing TenantInboundSamlConfig Resource
Get an existing TenantInboundSamlConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TenantInboundSamlConfigState, opts?: CustomResourceOptions): TenantInboundSamlConfig
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
enabled: Optional[bool] = None,
idp_config: Optional[TenantInboundSamlConfigIdpConfigArgs] = None,
name: Optional[str] = None,
project: Optional[str] = None,
sp_config: Optional[TenantInboundSamlConfigSpConfigArgs] = None,
tenant: Optional[str] = None) -> TenantInboundSamlConfig
func GetTenantInboundSamlConfig(ctx *Context, name string, id IDInput, state *TenantInboundSamlConfigState, opts ...ResourceOption) (*TenantInboundSamlConfig, error)
public static TenantInboundSamlConfig Get(string name, Input<string> id, TenantInboundSamlConfigState? state, CustomResourceOptions? opts = null)
public static TenantInboundSamlConfig get(String name, Output<String> id, TenantInboundSamlConfigState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Display
Name string - Human friendly display name.
- Enabled bool
- If this config allows users to sign in with the provider.
- Idp
Config TenantInbound Saml Config Idp Config - SAML IdP configuration when the project acts as the relying party Structure is documented below.
- Name string
- The name of the InboundSamlConfig resource. Must start with 'saml.' and can only have alphanumeric characters, hyphens, underscores or periods. The part after 'saml.' must also start with a lowercase letter, end with an alphanumeric character, and have at least 2 characters.
- Project string
- Sp
Config TenantInbound Saml Config Sp Config - SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. Structure is documented below.
- Tenant string
- The name of the tenant where this inbound SAML config resource exists
- Display
Name string - Human friendly display name.
- Enabled bool
- If this config allows users to sign in with the provider.
- Idp
Config TenantInbound Saml Config Idp Config Args - SAML IdP configuration when the project acts as the relying party Structure is documented below.
- Name string
- The name of the InboundSamlConfig resource. Must start with 'saml.' and can only have alphanumeric characters, hyphens, underscores or periods. The part after 'saml.' must also start with a lowercase letter, end with an alphanumeric character, and have at least 2 characters.
- Project string
- Sp
Config TenantInbound Saml Config Sp Config Args - SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. Structure is documented below.
- Tenant string
- The name of the tenant where this inbound SAML config resource exists
- display
Name String - Human friendly display name.
- enabled Boolean
- If this config allows users to sign in with the provider.
- idp
Config TenantInbound Saml Config Idp Config - SAML IdP configuration when the project acts as the relying party Structure is documented below.
- name String
- The name of the InboundSamlConfig resource. Must start with 'saml.' and can only have alphanumeric characters, hyphens, underscores or periods. The part after 'saml.' must also start with a lowercase letter, end with an alphanumeric character, and have at least 2 characters.
- project String
- sp
Config TenantInbound Saml Config Sp Config - SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. Structure is documented below.
- tenant String
- The name of the tenant where this inbound SAML config resource exists
- display
Name string - Human friendly display name.
- enabled boolean
- If this config allows users to sign in with the provider.
- idp
Config TenantInbound Saml Config Idp Config - SAML IdP configuration when the project acts as the relying party Structure is documented below.
- name string
- The name of the InboundSamlConfig resource. Must start with 'saml.' and can only have alphanumeric characters, hyphens, underscores or periods. The part after 'saml.' must also start with a lowercase letter, end with an alphanumeric character, and have at least 2 characters.
- project string
- sp
Config TenantInbound Saml Config Sp Config - SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. Structure is documented below.
- tenant string
- The name of the tenant where this inbound SAML config resource exists
- display_
name str - Human friendly display name.
- enabled bool
- If this config allows users to sign in with the provider.
- idp_
config TenantInbound Saml Config Idp Config Args - SAML IdP configuration when the project acts as the relying party Structure is documented below.
- name str
- The name of the InboundSamlConfig resource. Must start with 'saml.' and can only have alphanumeric characters, hyphens, underscores or periods. The part after 'saml.' must also start with a lowercase letter, end with an alphanumeric character, and have at least 2 characters.
- project str
- sp_
config TenantInbound Saml Config Sp Config Args - SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. Structure is documented below.
- tenant str
- The name of the tenant where this inbound SAML config resource exists
- display
Name String - Human friendly display name.
- enabled Boolean
- If this config allows users to sign in with the provider.
- idp
Config Property Map - SAML IdP configuration when the project acts as the relying party Structure is documented below.
- name String
- The name of the InboundSamlConfig resource. Must start with 'saml.' and can only have alphanumeric characters, hyphens, underscores or periods. The part after 'saml.' must also start with a lowercase letter, end with an alphanumeric character, and have at least 2 characters.
- project String
- sp
Config Property Map - SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. Structure is documented below.
- tenant String
- The name of the tenant where this inbound SAML config resource exists
Supporting Types
TenantInboundSamlConfigIdpConfig, TenantInboundSamlConfigIdpConfigArgs
- Idp
Certificates List<TenantInbound Saml Config Idp Config Idp Certificate> - The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. Structure is documented below.
- Idp
Entity stringId - Unique identifier for all SAML entities
- Sso
Url string - URL to send Authentication request to.
- Sign
Request bool - Indicates if outbounding SAMLRequest should be signed.
- Idp
Certificates []TenantInbound Saml Config Idp Config Idp Certificate - The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. Structure is documented below.
- Idp
Entity stringId - Unique identifier for all SAML entities
- Sso
Url string - URL to send Authentication request to.
- Sign
Request bool - Indicates if outbounding SAMLRequest should be signed.
- idp
Certificates List<TenantInbound Saml Config Idp Config Idp Certificate> - The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. Structure is documented below.
- idp
Entity StringId - Unique identifier for all SAML entities
- sso
Url String - URL to send Authentication request to.
- sign
Request Boolean - Indicates if outbounding SAMLRequest should be signed.
- idp
Certificates TenantInbound Saml Config Idp Config Idp Certificate[] - The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. Structure is documented below.
- idp
Entity stringId - Unique identifier for all SAML entities
- sso
Url string - URL to send Authentication request to.
- sign
Request boolean - Indicates if outbounding SAMLRequest should be signed.
- idp_
certificates Sequence[TenantInbound Saml Config Idp Config Idp Certificate] - The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. Structure is documented below.
- idp_
entity_ strid - Unique identifier for all SAML entities
- sso_
url str - URL to send Authentication request to.
- sign_
request bool - Indicates if outbounding SAMLRequest should be signed.
- idp
Certificates List<Property Map> - The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. Structure is documented below.
- idp
Entity StringId - Unique identifier for all SAML entities
- sso
Url String - URL to send Authentication request to.
- sign
Request Boolean - Indicates if outbounding SAMLRequest should be signed.
TenantInboundSamlConfigIdpConfigIdpCertificate, TenantInboundSamlConfigIdpConfigIdpCertificateArgs
- X509Certificate string
- The x509 certificate
- X509Certificate string
- The x509 certificate
- x509Certificate String
- The x509 certificate
- x509Certificate string
- The x509 certificate
- x509_
certificate str - The x509 certificate
- x509Certificate String
- The x509 certificate
TenantInboundSamlConfigSpConfig, TenantInboundSamlConfigSpConfigArgs
- Callback
Uri string - Callback URI where responses from IDP are handled. Must start with
https://
. - Sp
Entity stringId - Unique identifier for all SAML entities.
- Sp
Certificates List<TenantInbound Saml Config Sp Config Sp Certificate> (Output) The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. Structure is documented below.
The
sp_certificates
block contains:
- Callback
Uri string - Callback URI where responses from IDP are handled. Must start with
https://
. - Sp
Entity stringId - Unique identifier for all SAML entities.
- Sp
Certificates []TenantInbound Saml Config Sp Config Sp Certificate (Output) The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. Structure is documented below.
The
sp_certificates
block contains:
- callback
Uri String - Callback URI where responses from IDP are handled. Must start with
https://
. - sp
Entity StringId - Unique identifier for all SAML entities.
- sp
Certificates List<TenantInbound Saml Config Sp Config Sp Certificate> (Output) The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. Structure is documented below.
The
sp_certificates
block contains:
- callback
Uri string - Callback URI where responses from IDP are handled. Must start with
https://
. - sp
Entity stringId - Unique identifier for all SAML entities.
- sp
Certificates TenantInbound Saml Config Sp Config Sp Certificate[] (Output) The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. Structure is documented below.
The
sp_certificates
block contains:
- callback_
uri str - Callback URI where responses from IDP are handled. Must start with
https://
. - sp_
entity_ strid - Unique identifier for all SAML entities.
- sp_
certificates Sequence[TenantInbound Saml Config Sp Config Sp Certificate] (Output) The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. Structure is documented below.
The
sp_certificates
block contains:
- callback
Uri String - Callback URI where responses from IDP are handled. Must start with
https://
. - sp
Entity StringId - Unique identifier for all SAML entities.
- sp
Certificates List<Property Map> (Output) The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. Structure is documented below.
The
sp_certificates
block contains:
TenantInboundSamlConfigSpConfigSpCertificate, TenantInboundSamlConfigSpConfigSpCertificateArgs
- X509Certificate string
- The x509 certificate
- X509Certificate string
- The x509 certificate
- x509Certificate String
- The x509 certificate
- x509Certificate string
- The x509 certificate
- x509_
certificate str - The x509 certificate
- x509Certificate String
- The x509 certificate
Import
TenantInboundSamlConfig can be imported using any of these accepted formats:
projects/{{project}}/tenants/{{tenant}}/inboundSamlConfigs/{{name}}
{{project}}/{{tenant}}/{{name}}
{{tenant}}/{{name}}
When using the pulumi import
command, TenantInboundSamlConfig can be imported using one of the formats above. For example:
$ pulumi import gcp:identityplatform/tenantInboundSamlConfig:TenantInboundSamlConfig default projects/{{project}}/tenants/{{tenant}}/inboundSamlConfigs/{{name}}
$ pulumi import gcp:identityplatform/tenantInboundSamlConfig:TenantInboundSamlConfig default {{project}}/{{tenant}}/{{name}}
$ pulumi import gcp:identityplatform/tenantInboundSamlConfig:TenantInboundSamlConfig default {{tenant}}/{{name}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.