published on Thursday, May 14, 2026 by Pulumi
published on Thursday, May 14, 2026 by Pulumi
Manages an SSO auth provider for a dbt Cloud account. Supports SAML/Okta, Azure Active Directory (single-tenant, multi-tenant), and Google Workspace.
Only one auth provider may exist per account. Requires the SSO feature enabled on the account (enterprise plans only).
See the documentation for more information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dbtcloud from "@pulumi/dbtcloud";
import * as std from "@pulumi/std";
const config = new pulumi.Config();
const samlCert = config.require("samlCert");
const saml = new dbtcloud.AuthProvider("saml", {
type: "saml",
entityId: "https://your-idp.example.com/metadata",
ssoUrl: "https://your-idp.example.com/sso/saml",
certWo: samlCert,
certWoVersion: 1,
});
export const loginUrl = saml.loginUrl;
// SAML — all optional fields
const samlFull = new dbtcloud.AuthProvider("saml_full", {
type: "saml",
entityId: "https://your-idp.example.com/metadata",
ssoUrl: "https://your-idp.example.com/sso/saml",
cert: std.file({
input: "idp-cert.pem",
}).then(invoke => invoke.result),
signRequest: true,
attributeMap: JSON.stringify({
email: "nameID",
first_name: "firstName",
last_name: "lastName",
}),
allowPasswordBackdoor: false,
});
// Okta (identical to SAML, different type value)
const okta = new dbtcloud.AuthProvider("okta", {
type: "okta",
entityId: "http://www.okta.com/<okta_app_id>",
ssoUrl: "https://<your-org>.okta.com/app/<app_path>/sso/saml",
certWo: samlCert,
certWoVersion: 1,
});
const azureClientSecret = config.require("azureClientSecret");
const azureSingleTenant = new dbtcloud.AuthProvider("azure_single_tenant", {
type: "azure_single_tenant",
clientId: "00000000-0000-0000-0000-000000000000",
tenantId: "11111111-1111-1111-1111-111111111111",
clientSecretWo: azureClientSecret,
clientSecretWoVersion: 1,
domain: "acme.com",
includeIndirectGroups: true,
maxGroupsToRetrieve: 500,
});
// Azure AD — multi tenant (no tenant_id required)
const azureMultiTenant = new dbtcloud.AuthProvider("azure_multi_tenant", {
type: "azure_multi_tenant",
clientId: "00000000-0000-0000-0000-000000000000",
clientSecretWo: azureClientSecret,
clientSecretWoVersion: 1,
});
// Azure Active Directory
const azureActiveDirectory = new dbtcloud.AuthProvider("azure_active_directory", {
type: "azure_active_directory",
clientId: "00000000-0000-0000-0000-000000000000",
tenantId: "11111111-1111-1111-1111-111111111111",
clientSecretWo: azureClientSecret,
clientSecretWoVersion: 1,
domain: "acme.com",
});
const gsuiteClientSecret = config.require("gsuiteClientSecret");
const gsuite = new dbtcloud.AuthProvider("gsuite", {
type: "gsuite",
clientId: "000000000000-xxxx.apps.googleusercontent.com",
clientSecretWo: gsuiteClientSecret,
clientSecretWoVersion: 1,
adminRefreshToken: "<oauth-refresh-token>",
domain: "acme.com",
gsuiteAdminId: "admin@acme.com",
});
import pulumi
import json
import pulumi_dbtcloud as dbtcloud
import pulumi_std as std
config = pulumi.Config()
saml_cert = config.require("samlCert")
saml = dbtcloud.AuthProvider("saml",
type="saml",
entity_id="https://your-idp.example.com/metadata",
sso_url="https://your-idp.example.com/sso/saml",
cert_wo=saml_cert,
cert_wo_version=1)
pulumi.export("loginUrl", saml.login_url)
# SAML — all optional fields
saml_full = dbtcloud.AuthProvider("saml_full",
type="saml",
entity_id="https://your-idp.example.com/metadata",
sso_url="https://your-idp.example.com/sso/saml",
cert=std.file(input="idp-cert.pem").result,
sign_request=True,
attribute_map=json.dumps({
"email": "nameID",
"first_name": "firstName",
"last_name": "lastName",
}),
allow_password_backdoor=False)
# Okta (identical to SAML, different type value)
okta = dbtcloud.AuthProvider("okta",
type="okta",
entity_id="http://www.okta.com/<okta_app_id>",
sso_url="https://<your-org>.okta.com/app/<app_path>/sso/saml",
cert_wo=saml_cert,
cert_wo_version=1)
azure_client_secret = config.require("azureClientSecret")
azure_single_tenant = dbtcloud.AuthProvider("azure_single_tenant",
type="azure_single_tenant",
client_id="00000000-0000-0000-0000-000000000000",
tenant_id="11111111-1111-1111-1111-111111111111",
client_secret_wo=azure_client_secret,
client_secret_wo_version=1,
domain="acme.com",
include_indirect_groups=True,
max_groups_to_retrieve=500)
# Azure AD — multi tenant (no tenant_id required)
azure_multi_tenant = dbtcloud.AuthProvider("azure_multi_tenant",
type="azure_multi_tenant",
client_id="00000000-0000-0000-0000-000000000000",
client_secret_wo=azure_client_secret,
client_secret_wo_version=1)
# Azure Active Directory
azure_active_directory = dbtcloud.AuthProvider("azure_active_directory",
type="azure_active_directory",
client_id="00000000-0000-0000-0000-000000000000",
tenant_id="11111111-1111-1111-1111-111111111111",
client_secret_wo=azure_client_secret,
client_secret_wo_version=1,
domain="acme.com")
gsuite_client_secret = config.require("gsuiteClientSecret")
gsuite = dbtcloud.AuthProvider("gsuite",
type="gsuite",
client_id="000000000000-xxxx.apps.googleusercontent.com",
client_secret_wo=gsuite_client_secret,
client_secret_wo_version=1,
admin_refresh_token="<oauth-refresh-token>",
domain="acme.com",
gsuite_admin_id="admin@acme.com")
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-dbtcloud/sdk/go/dbtcloud"
"github.com/pulumi/pulumi-std/sdk/v2/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
samlCert := cfg.Require("samlCert")
saml, err := dbtcloud.NewAuthProvider(ctx, "saml", &dbtcloud.AuthProviderArgs{
Type: pulumi.String("saml"),
EntityId: pulumi.String("https://your-idp.example.com/metadata"),
SsoUrl: pulumi.String("https://your-idp.example.com/sso/saml"),
CertWo: pulumi.String(pulumi.String(samlCert)),
CertWoVersion: pulumi.Int(1),
})
if err != nil {
return err
}
ctx.Export("loginUrl", saml.LoginUrl)
invokeFile, err := std.File(ctx, &std.FileArgs{
Input: "idp-cert.pem",
}, nil)
if err != nil {
return err
}
tmpJSON0, err := json.Marshal(map[string]interface{}{
"email": "nameID",
"first_name": "firstName",
"last_name": "lastName",
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
// SAML — all optional fields
_, err = dbtcloud.NewAuthProvider(ctx, "saml_full", &dbtcloud.AuthProviderArgs{
Type: pulumi.String("saml"),
EntityId: pulumi.String("https://your-idp.example.com/metadata"),
SsoUrl: pulumi.String("https://your-idp.example.com/sso/saml"),
Cert: pulumi.String(invokeFile.Result),
SignRequest: pulumi.Bool(true),
AttributeMap: pulumi.String(pulumi.String(json0)),
AllowPasswordBackdoor: pulumi.Bool(false),
})
if err != nil {
return err
}
// Okta (identical to SAML, different type value)
_, err = dbtcloud.NewAuthProvider(ctx, "okta", &dbtcloud.AuthProviderArgs{
Type: pulumi.String("okta"),
EntityId: pulumi.String("http://www.okta.com/<okta_app_id>"),
SsoUrl: pulumi.String("https://<your-org>.okta.com/app/<app_path>/sso/saml"),
CertWo: pulumi.String(pulumi.String(samlCert)),
CertWoVersion: pulumi.Int(1),
})
if err != nil {
return err
}
azureClientSecret := cfg.Require("azureClientSecret")
_, err = dbtcloud.NewAuthProvider(ctx, "azure_single_tenant", &dbtcloud.AuthProviderArgs{
Type: pulumi.String("azure_single_tenant"),
ClientId: pulumi.String("00000000-0000-0000-0000-000000000000"),
TenantId: pulumi.String("11111111-1111-1111-1111-111111111111"),
ClientSecretWo: pulumi.String(pulumi.String(azureClientSecret)),
ClientSecretWoVersion: pulumi.Int(1),
Domain: pulumi.String("acme.com"),
IncludeIndirectGroups: pulumi.Bool(true),
MaxGroupsToRetrieve: pulumi.Int(500),
})
if err != nil {
return err
}
// Azure AD — multi tenant (no tenant_id required)
_, err = dbtcloud.NewAuthProvider(ctx, "azure_multi_tenant", &dbtcloud.AuthProviderArgs{
Type: pulumi.String("azure_multi_tenant"),
ClientId: pulumi.String("00000000-0000-0000-0000-000000000000"),
ClientSecretWo: pulumi.String(pulumi.String(azureClientSecret)),
ClientSecretWoVersion: pulumi.Int(1),
})
if err != nil {
return err
}
// Azure Active Directory
_, err = dbtcloud.NewAuthProvider(ctx, "azure_active_directory", &dbtcloud.AuthProviderArgs{
Type: pulumi.String("azure_active_directory"),
ClientId: pulumi.String("00000000-0000-0000-0000-000000000000"),
TenantId: pulumi.String("11111111-1111-1111-1111-111111111111"),
ClientSecretWo: pulumi.String(pulumi.String(azureClientSecret)),
ClientSecretWoVersion: pulumi.Int(1),
Domain: pulumi.String("acme.com"),
})
if err != nil {
return err
}
gsuiteClientSecret := cfg.Require("gsuiteClientSecret")
_, err = dbtcloud.NewAuthProvider(ctx, "gsuite", &dbtcloud.AuthProviderArgs{
Type: pulumi.String("gsuite"),
ClientId: pulumi.String("000000000000-xxxx.apps.googleusercontent.com"),
ClientSecretWo: pulumi.String(pulumi.String(gsuiteClientSecret)),
ClientSecretWoVersion: pulumi.Int(1),
AdminRefreshToken: pulumi.String("<oauth-refresh-token>"),
Domain: pulumi.String("acme.com"),
GsuiteAdminId: pulumi.String("admin@acme.com"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using DbtCloud = Pulumi.DbtCloud;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var samlCert = config.Require("samlCert");
var saml = new DbtCloud.AuthProvider("saml", new()
{
Type = "saml",
EntityId = "https://your-idp.example.com/metadata",
SsoUrl = "https://your-idp.example.com/sso/saml",
CertWo = samlCert,
CertWoVersion = 1,
});
// SAML — all optional fields
var samlFull = new DbtCloud.AuthProvider("saml_full", new()
{
Type = "saml",
EntityId = "https://your-idp.example.com/metadata",
SsoUrl = "https://your-idp.example.com/sso/saml",
Cert = Std.File.Invoke(new()
{
Input = "idp-cert.pem",
}).Apply(invoke => invoke.Result),
SignRequest = true,
AttributeMap = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["email"] = "nameID",
["first_name"] = "firstName",
["last_name"] = "lastName",
}),
AllowPasswordBackdoor = false,
});
// Okta (identical to SAML, different type value)
var okta = new DbtCloud.AuthProvider("okta", new()
{
Type = "okta",
EntityId = "http://www.okta.com/<okta_app_id>",
SsoUrl = "https://<your-org>.okta.com/app/<app_path>/sso/saml",
CertWo = samlCert,
CertWoVersion = 1,
});
var azureClientSecret = config.Require("azureClientSecret");
var azureSingleTenant = new DbtCloud.AuthProvider("azure_single_tenant", new()
{
Type = "azure_single_tenant",
ClientId = "00000000-0000-0000-0000-000000000000",
TenantId = "11111111-1111-1111-1111-111111111111",
ClientSecretWo = azureClientSecret,
ClientSecretWoVersion = 1,
Domain = "acme.com",
IncludeIndirectGroups = true,
MaxGroupsToRetrieve = 500,
});
// Azure AD — multi tenant (no tenant_id required)
var azureMultiTenant = new DbtCloud.AuthProvider("azure_multi_tenant", new()
{
Type = "azure_multi_tenant",
ClientId = "00000000-0000-0000-0000-000000000000",
ClientSecretWo = azureClientSecret,
ClientSecretWoVersion = 1,
});
// Azure Active Directory
var azureActiveDirectory = new DbtCloud.AuthProvider("azure_active_directory", new()
{
Type = "azure_active_directory",
ClientId = "00000000-0000-0000-0000-000000000000",
TenantId = "11111111-1111-1111-1111-111111111111",
ClientSecretWo = azureClientSecret,
ClientSecretWoVersion = 1,
Domain = "acme.com",
});
var gsuiteClientSecret = config.Require("gsuiteClientSecret");
var gsuite = new DbtCloud.AuthProvider("gsuite", new()
{
Type = "gsuite",
ClientId = "000000000000-xxxx.apps.googleusercontent.com",
ClientSecretWo = gsuiteClientSecret,
ClientSecretWoVersion = 1,
AdminRefreshToken = "<oauth-refresh-token>",
Domain = "acme.com",
GsuiteAdminId = "admin@acme.com",
});
return new Dictionary<string, object?>
{
["loginUrl"] = saml.LoginUrl,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dbtcloud.AuthProvider;
import com.pulumi.dbtcloud.AuthProviderArgs;
import com.pulumi.std.StdFunctions;
import com.pulumi.std.inputs.FileArgs;
import static com.pulumi.codegen.internal.Serialization.*;
import java.util.ArrayList;
import java.util.Arrays;
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 config = ctx.config();
final var samlCert = config.require("samlCert");
var saml = new AuthProvider("saml", AuthProviderArgs.builder()
.type("saml")
.entityId("https://your-idp.example.com/metadata")
.ssoUrl("https://your-idp.example.com/sso/saml")
.certWo(samlCert)
.certWoVersion(1)
.build());
ctx.export("loginUrl", saml.loginUrl());
// SAML — all optional fields
var samlFull = new AuthProvider("samlFull", AuthProviderArgs.builder()
.type("saml")
.entityId("https://your-idp.example.com/metadata")
.ssoUrl("https://your-idp.example.com/sso/saml")
.cert(StdFunctions.file(FileArgs.builder()
.input("idp-cert.pem")
.build()).result())
.signRequest(true)
.attributeMap(serializeJson(
jsonObject(
jsonProperty("email", "nameID"),
jsonProperty("first_name", "firstName"),
jsonProperty("last_name", "lastName")
)))
.allowPasswordBackdoor(false)
.build());
// Okta (identical to SAML, different type value)
var okta = new AuthProvider("okta", AuthProviderArgs.builder()
.type("okta")
.entityId("http://www.okta.com/<okta_app_id>")
.ssoUrl("https://<your-org>.okta.com/app/<app_path>/sso/saml")
.certWo(samlCert)
.certWoVersion(1)
.build());
final var azureClientSecret = config.require("azureClientSecret");
var azureSingleTenant = new AuthProvider("azureSingleTenant", AuthProviderArgs.builder()
.type("azure_single_tenant")
.clientId("00000000-0000-0000-0000-000000000000")
.tenantId("11111111-1111-1111-1111-111111111111")
.clientSecretWo(azureClientSecret)
.clientSecretWoVersion(1)
.domain("acme.com")
.includeIndirectGroups(true)
.maxGroupsToRetrieve(500)
.build());
// Azure AD — multi tenant (no tenant_id required)
var azureMultiTenant = new AuthProvider("azureMultiTenant", AuthProviderArgs.builder()
.type("azure_multi_tenant")
.clientId("00000000-0000-0000-0000-000000000000")
.clientSecretWo(azureClientSecret)
.clientSecretWoVersion(1)
.build());
// Azure Active Directory
var azureActiveDirectory = new AuthProvider("azureActiveDirectory", AuthProviderArgs.builder()
.type("azure_active_directory")
.clientId("00000000-0000-0000-0000-000000000000")
.tenantId("11111111-1111-1111-1111-111111111111")
.clientSecretWo(azureClientSecret)
.clientSecretWoVersion(1)
.domain("acme.com")
.build());
final var gsuiteClientSecret = config.require("gsuiteClientSecret");
var gsuite = new AuthProvider("gsuite", AuthProviderArgs.builder()
.type("gsuite")
.clientId("000000000000-xxxx.apps.googleusercontent.com")
.clientSecretWo(gsuiteClientSecret)
.clientSecretWoVersion(1)
.adminRefreshToken("<oauth-refresh-token>")
.domain("acme.com")
.gsuiteAdminId("admin@acme.com")
.build());
}
}
configuration:
# SAML — write-only cert (recommended, not stored in state)
# //
# // Requires Terraform >= 1.11 for write-only attribute support.
# // Bump cert_wo_version to rotate the cert without recreating the resource.
samlCert:
type: string
# Azure AD — single tenant
azureClientSecret:
type: string
# Google Workspace
gsuiteClientSecret:
type: string
resources:
saml:
type: dbtcloud:AuthProvider
properties:
type: saml
entityId: https://your-idp.example.com/metadata
ssoUrl: https://your-idp.example.com/sso/saml
certWo: ${samlCert}
certWoVersion: 1
# SAML — all optional fields
samlFull:
type: dbtcloud:AuthProvider
name: saml_full
properties:
type: saml
entityId: https://your-idp.example.com/metadata
ssoUrl: https://your-idp.example.com/sso/saml
cert:
fn::invoke:
function: std:file
arguments:
input: idp-cert.pem
return: result
signRequest: true
attributeMap:
fn::toJSON:
email: nameID
first_name: firstName
last_name: lastName
allowPasswordBackdoor: false
# Okta (identical to SAML, different type value)
okta:
type: dbtcloud:AuthProvider
properties:
type: okta
entityId: http://www.okta.com/<okta_app_id>
ssoUrl: https://<your-org>.okta.com/app/<app_path>/sso/saml
certWo: ${samlCert}
certWoVersion: 1
azureSingleTenant:
type: dbtcloud:AuthProvider
name: azure_single_tenant
properties:
type: azure_single_tenant
clientId: 00000000-0000-0000-0000-000000000000
tenantId: 11111111-1111-1111-1111-111111111111
clientSecretWo: ${azureClientSecret}
clientSecretWoVersion: 1
domain: acme.com
includeIndirectGroups: true
maxGroupsToRetrieve: 500
# Azure AD — multi tenant (no tenant_id required)
azureMultiTenant:
type: dbtcloud:AuthProvider
name: azure_multi_tenant
properties:
type: azure_multi_tenant
clientId: 00000000-0000-0000-0000-000000000000
clientSecretWo: ${azureClientSecret}
clientSecretWoVersion: 1
# Azure Active Directory
azureActiveDirectory:
type: dbtcloud:AuthProvider
name: azure_active_directory
properties:
type: azure_active_directory
clientId: 00000000-0000-0000-0000-000000000000
tenantId: 11111111-1111-1111-1111-111111111111
clientSecretWo: ${azureClientSecret}
clientSecretWoVersion: 1
domain: acme.com
gsuite:
type: dbtcloud:AuthProvider
properties:
type: gsuite
clientId: 000000000000-xxxx.apps.googleusercontent.com
clientSecretWo: ${gsuiteClientSecret}
clientSecretWoVersion: 1
adminRefreshToken: <oauth-refresh-token>
domain: acme.com
gsuiteAdminId: admin@acme.com
outputs:
loginUrl: ${saml.loginUrl}
Example coming soon!
Create AuthProvider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AuthProvider(name: string, args: AuthProviderArgs, opts?: CustomResourceOptions);@overload
def AuthProvider(resource_name: str,
args: AuthProviderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AuthProvider(resource_name: str,
opts: Optional[ResourceOptions] = None,
type: Optional[str] = None,
client_secret_wo_version: Optional[int] = None,
attribute_map: Optional[str] = None,
authorization_url: Optional[str] = None,
cert: Optional[str] = None,
cert_wo: Optional[str] = None,
cert_wo_version: Optional[int] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
admin_refresh_token: Optional[str] = None,
client_secret_wo: Optional[str] = None,
gsuite_admin_id: Optional[str] = None,
entity_id: Optional[str] = None,
domain: Optional[str] = None,
include_indirect_groups: Optional[bool] = None,
max_groups_to_retrieve: Optional[int] = None,
sign_request: Optional[bool] = None,
slug: Optional[str] = None,
sso_url: Optional[str] = None,
tenant_id: Optional[str] = None,
allow_password_backdoor: Optional[bool] = None)func NewAuthProvider(ctx *Context, name string, args AuthProviderArgs, opts ...ResourceOption) (*AuthProvider, error)public AuthProvider(string name, AuthProviderArgs args, CustomResourceOptions? opts = null)
public AuthProvider(String name, AuthProviderArgs args)
public AuthProvider(String name, AuthProviderArgs args, CustomResourceOptions options)
type: dbtcloud:AuthProvider
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "dbtcloud_authprovider" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AuthProviderArgs
- 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 AuthProviderArgs
- 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 AuthProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AuthProviderArgs
- 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 authProviderResource = new DbtCloud.AuthProvider("authProviderResource", new()
{
Type = "string",
ClientSecretWoVersion = 0,
AttributeMap = "string",
AuthorizationUrl = "string",
Cert = "string",
CertWo = "string",
CertWoVersion = 0,
ClientId = "string",
ClientSecret = "string",
AdminRefreshToken = "string",
ClientSecretWo = "string",
GsuiteAdminId = "string",
EntityId = "string",
Domain = "string",
IncludeIndirectGroups = false,
MaxGroupsToRetrieve = 0,
SignRequest = false,
Slug = "string",
SsoUrl = "string",
TenantId = "string",
AllowPasswordBackdoor = false,
});
example, err := dbtcloud.NewAuthProvider(ctx, "authProviderResource", &dbtcloud.AuthProviderArgs{
Type: pulumi.String("string"),
ClientSecretWoVersion: pulumi.Int(0),
AttributeMap: pulumi.String("string"),
AuthorizationUrl: pulumi.String("string"),
Cert: pulumi.String("string"),
CertWo: pulumi.String("string"),
CertWoVersion: pulumi.Int(0),
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
AdminRefreshToken: pulumi.String("string"),
ClientSecretWo: pulumi.String("string"),
GsuiteAdminId: pulumi.String("string"),
EntityId: pulumi.String("string"),
Domain: pulumi.String("string"),
IncludeIndirectGroups: pulumi.Bool(false),
MaxGroupsToRetrieve: pulumi.Int(0),
SignRequest: pulumi.Bool(false),
Slug: pulumi.String("string"),
SsoUrl: pulumi.String("string"),
TenantId: pulumi.String("string"),
AllowPasswordBackdoor: pulumi.Bool(false),
})
resource "dbtcloud_authprovider" "authProviderResource" {
type = "string"
client_secret_wo_version = 0
attribute_map = "string"
authorization_url = "string"
cert = "string"
cert_wo = "string"
cert_wo_version = 0
client_id = "string"
client_secret = "string"
admin_refresh_token = "string"
client_secret_wo = "string"
gsuite_admin_id = "string"
entity_id = "string"
domain = "string"
include_indirect_groups = false
max_groups_to_retrieve = 0
sign_request = false
slug = "string"
sso_url = "string"
tenant_id = "string"
allow_password_backdoor = false
}
var authProviderResource = new AuthProvider("authProviderResource", AuthProviderArgs.builder()
.type("string")
.clientSecretWoVersion(0)
.attributeMap("string")
.authorizationUrl("string")
.cert("string")
.certWo("string")
.certWoVersion(0)
.clientId("string")
.clientSecret("string")
.adminRefreshToken("string")
.clientSecretWo("string")
.gsuiteAdminId("string")
.entityId("string")
.domain("string")
.includeIndirectGroups(false)
.maxGroupsToRetrieve(0)
.signRequest(false)
.slug("string")
.ssoUrl("string")
.tenantId("string")
.allowPasswordBackdoor(false)
.build());
auth_provider_resource = dbtcloud.AuthProvider("authProviderResource",
type="string",
client_secret_wo_version=0,
attribute_map="string",
authorization_url="string",
cert="string",
cert_wo="string",
cert_wo_version=0,
client_id="string",
client_secret="string",
admin_refresh_token="string",
client_secret_wo="string",
gsuite_admin_id="string",
entity_id="string",
domain="string",
include_indirect_groups=False,
max_groups_to_retrieve=0,
sign_request=False,
slug="string",
sso_url="string",
tenant_id="string",
allow_password_backdoor=False)
const authProviderResource = new dbtcloud.AuthProvider("authProviderResource", {
type: "string",
clientSecretWoVersion: 0,
attributeMap: "string",
authorizationUrl: "string",
cert: "string",
certWo: "string",
certWoVersion: 0,
clientId: "string",
clientSecret: "string",
adminRefreshToken: "string",
clientSecretWo: "string",
gsuiteAdminId: "string",
entityId: "string",
domain: "string",
includeIndirectGroups: false,
maxGroupsToRetrieve: 0,
signRequest: false,
slug: "string",
ssoUrl: "string",
tenantId: "string",
allowPasswordBackdoor: false,
});
type: dbtcloud:AuthProvider
properties:
adminRefreshToken: string
allowPasswordBackdoor: false
attributeMap: string
authorizationUrl: string
cert: string
certWo: string
certWoVersion: 0
clientId: string
clientSecret: string
clientSecretWo: string
clientSecretWoVersion: 0
domain: string
entityId: string
gsuiteAdminId: string
includeIndirectGroups: false
maxGroupsToRetrieve: 0
signRequest: false
slug: string
ssoUrl: string
tenantId: string
type: string
AuthProvider Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AuthProvider resource accepts the following input properties:
- Type string
- The SSO provider type. One of:
saml,okta,gsuite,azureSingleTenant,azureMultiTenant,azureActiveDirectory. Changing this value forces a new resource. - Admin
Refresh stringToken - Google Workspace admin OAuth refresh token used to fetch group memberships.
- Allow
Password boolBackdoor - When true (default), users can still log in with email and password as a fallback. Set to false to enforce SSO-only access.
- Attribute
Map string - JSON map of SAML attribute names to dbt Cloud user fields.
- string
- OAuth authorization URL for Google Workspace. May be auto-populated server-side.
- Cert string
- SAML X.509 certificate (PEM format). Sensitive — stored in state. Consider using
certWoinstead. Conflicts withcertWo. - Cert
Wo string - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
cert. Not stored in state. UsecertWoVersionto trigger updates. Conflicts withcert. - Cert
Wo intVersion - Increment to rotate
certWowithout changing the value. - Client
Id string - OAuth client ID. Required for Azure AD and Google Workspace providers. Not returned by the API after save (encrypted at rest).
- Client
Secret string - OAuth client secret. Required for Azure AD and Google Workspace providers. Sensitive — stored in state. Consider using
clientSecretWoinstead. Conflicts withclientSecretWo. - Client
Secret stringWo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
clientSecret. Not stored in state. UseclientSecretWoVersionto trigger updates. Conflicts withclientSecret. - Client
Secret intWo Version - Increment to rotate
clientSecretWowithout changing the value. - Domain string
- Primary domain for the Azure AD or Google Workspace tenant.
- Entity
Id string - SAML entity ID (Issuer) from your identity provider. Required for
samlandokta. - Gsuite
Admin stringId - Google Workspace admin email used to fetch group memberships.
- Include
Indirect boolGroups - Whether to include transitive (indirect) group memberships from Azure AD. Defaults to true.
- Max
Groups intTo Retrieve - Maximum number of Azure AD groups to fetch per user. Defaults to 250.
- Sign
Request bool - Whether to sign SAML authentication requests. Defaults to false.
- Slug string
- URL-safe identifier used in the SSO login URL. Auto-generated if omitted. Immutable on accounts where auto-slug enforcement is enabled.
- Sso
Url string - SAML Single Sign-On URL from your identity provider. Required for
samlandokta. - Tenant
Id string - Azure AD tenant ID. Required for
azureSingleTenant.
- Type string
- The SSO provider type. One of:
saml,okta,gsuite,azureSingleTenant,azureMultiTenant,azureActiveDirectory. Changing this value forces a new resource. - Admin
Refresh stringToken - Google Workspace admin OAuth refresh token used to fetch group memberships.
- Allow
Password boolBackdoor - When true (default), users can still log in with email and password as a fallback. Set to false to enforce SSO-only access.
- Attribute
Map string - JSON map of SAML attribute names to dbt Cloud user fields.
- string
- OAuth authorization URL for Google Workspace. May be auto-populated server-side.
- Cert string
- SAML X.509 certificate (PEM format). Sensitive — stored in state. Consider using
certWoinstead. Conflicts withcertWo. - Cert
Wo string - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
cert. Not stored in state. UsecertWoVersionto trigger updates. Conflicts withcert. - Cert
Wo intVersion - Increment to rotate
certWowithout changing the value. - Client
Id string - OAuth client ID. Required for Azure AD and Google Workspace providers. Not returned by the API after save (encrypted at rest).
- Client
Secret string - OAuth client secret. Required for Azure AD and Google Workspace providers. Sensitive — stored in state. Consider using
clientSecretWoinstead. Conflicts withclientSecretWo. - Client
Secret stringWo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
clientSecret. Not stored in state. UseclientSecretWoVersionto trigger updates. Conflicts withclientSecret. - Client
Secret intWo Version - Increment to rotate
clientSecretWowithout changing the value. - Domain string
- Primary domain for the Azure AD or Google Workspace tenant.
- Entity
Id string - SAML entity ID (Issuer) from your identity provider. Required for
samlandokta. - Gsuite
Admin stringId - Google Workspace admin email used to fetch group memberships.
- Include
Indirect boolGroups - Whether to include transitive (indirect) group memberships from Azure AD. Defaults to true.
- Max
Groups intTo Retrieve - Maximum number of Azure AD groups to fetch per user. Defaults to 250.
- Sign
Request bool - Whether to sign SAML authentication requests. Defaults to false.
- Slug string
- URL-safe identifier used in the SSO login URL. Auto-generated if omitted. Immutable on accounts where auto-slug enforcement is enabled.
- Sso
Url string - SAML Single Sign-On URL from your identity provider. Required for
samlandokta. - Tenant
Id string - Azure AD tenant ID. Required for
azureSingleTenant.
- type string
- The SSO provider type. One of:
saml,okta,gsuite,azureSingleTenant,azureMultiTenant,azureActiveDirectory. Changing this value forces a new resource. - admin_
refresh_ stringtoken - Google Workspace admin OAuth refresh token used to fetch group memberships.
- allow_
password_ boolbackdoor - When true (default), users can still log in with email and password as a fallback. Set to false to enforce SSO-only access.
- attribute_
map string - JSON map of SAML attribute names to dbt Cloud user fields.
- string
- OAuth authorization URL for Google Workspace. May be auto-populated server-side.
- cert string
- SAML X.509 certificate (PEM format). Sensitive — stored in state. Consider using
certWoinstead. Conflicts withcertWo. - cert_
wo string - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
cert. Not stored in state. UsecertWoVersionto trigger updates. Conflicts withcert. - cert_
wo_ numberversion - Increment to rotate
certWowithout changing the value. - client_
id string - OAuth client ID. Required for Azure AD and Google Workspace providers. Not returned by the API after save (encrypted at rest).
- client_
secret string - OAuth client secret. Required for Azure AD and Google Workspace providers. Sensitive — stored in state. Consider using
clientSecretWoinstead. Conflicts withclientSecretWo. - client_
secret_ stringwo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
clientSecret. Not stored in state. UseclientSecretWoVersionto trigger updates. Conflicts withclientSecret. - client_
secret_ numberwo_ version - Increment to rotate
clientSecretWowithout changing the value. - domain string
- Primary domain for the Azure AD or Google Workspace tenant.
- entity_
id string - SAML entity ID (Issuer) from your identity provider. Required for
samlandokta. - gsuite_
admin_ stringid - Google Workspace admin email used to fetch group memberships.
- include_
indirect_ boolgroups - Whether to include transitive (indirect) group memberships from Azure AD. Defaults to true.
- max_
groups_ numberto_ retrieve - Maximum number of Azure AD groups to fetch per user. Defaults to 250.
- sign_
request bool - Whether to sign SAML authentication requests. Defaults to false.
- slug string
- URL-safe identifier used in the SSO login URL. Auto-generated if omitted. Immutable on accounts where auto-slug enforcement is enabled.
- sso_
url string - SAML Single Sign-On URL from your identity provider. Required for
samlandokta. - tenant_
id string - Azure AD tenant ID. Required for
azureSingleTenant.
- type String
- The SSO provider type. One of:
saml,okta,gsuite,azureSingleTenant,azureMultiTenant,azureActiveDirectory. Changing this value forces a new resource. - admin
Refresh StringToken - Google Workspace admin OAuth refresh token used to fetch group memberships.
- allow
Password BooleanBackdoor - When true (default), users can still log in with email and password as a fallback. Set to false to enforce SSO-only access.
- attribute
Map String - JSON map of SAML attribute names to dbt Cloud user fields.
- String
- OAuth authorization URL for Google Workspace. May be auto-populated server-side.
- cert String
- SAML X.509 certificate (PEM format). Sensitive — stored in state. Consider using
certWoinstead. Conflicts withcertWo. - cert
Wo String - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
cert. Not stored in state. UsecertWoVersionto trigger updates. Conflicts withcert. - cert
Wo IntegerVersion - Increment to rotate
certWowithout changing the value. - client
Id String - OAuth client ID. Required for Azure AD and Google Workspace providers. Not returned by the API after save (encrypted at rest).
- client
Secret String - OAuth client secret. Required for Azure AD and Google Workspace providers. Sensitive — stored in state. Consider using
clientSecretWoinstead. Conflicts withclientSecretWo. - client
Secret StringWo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
clientSecret. Not stored in state. UseclientSecretWoVersionto trigger updates. Conflicts withclientSecret. - client
Secret IntegerWo Version - Increment to rotate
clientSecretWowithout changing the value. - domain String
- Primary domain for the Azure AD or Google Workspace tenant.
- entity
Id String - SAML entity ID (Issuer) from your identity provider. Required for
samlandokta. - gsuite
Admin StringId - Google Workspace admin email used to fetch group memberships.
- include
Indirect BooleanGroups - Whether to include transitive (indirect) group memberships from Azure AD. Defaults to true.
- max
Groups IntegerTo Retrieve - Maximum number of Azure AD groups to fetch per user. Defaults to 250.
- sign
Request Boolean - Whether to sign SAML authentication requests. Defaults to false.
- slug String
- URL-safe identifier used in the SSO login URL. Auto-generated if omitted. Immutable on accounts where auto-slug enforcement is enabled.
- sso
Url String - SAML Single Sign-On URL from your identity provider. Required for
samlandokta. - tenant
Id String - Azure AD tenant ID. Required for
azureSingleTenant.
- type string
- The SSO provider type. One of:
saml,okta,gsuite,azureSingleTenant,azureMultiTenant,azureActiveDirectory. Changing this value forces a new resource. - admin
Refresh stringToken - Google Workspace admin OAuth refresh token used to fetch group memberships.
- allow
Password booleanBackdoor - When true (default), users can still log in with email and password as a fallback. Set to false to enforce SSO-only access.
- attribute
Map string - JSON map of SAML attribute names to dbt Cloud user fields.
- string
- OAuth authorization URL for Google Workspace. May be auto-populated server-side.
- cert string
- SAML X.509 certificate (PEM format). Sensitive — stored in state. Consider using
certWoinstead. Conflicts withcertWo. - cert
Wo string - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
cert. Not stored in state. UsecertWoVersionto trigger updates. Conflicts withcert. - cert
Wo numberVersion - Increment to rotate
certWowithout changing the value. - client
Id string - OAuth client ID. Required for Azure AD and Google Workspace providers. Not returned by the API after save (encrypted at rest).
- client
Secret string - OAuth client secret. Required for Azure AD and Google Workspace providers. Sensitive — stored in state. Consider using
clientSecretWoinstead. Conflicts withclientSecretWo. - client
Secret stringWo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
clientSecret. Not stored in state. UseclientSecretWoVersionto trigger updates. Conflicts withclientSecret. - client
Secret numberWo Version - Increment to rotate
clientSecretWowithout changing the value. - domain string
- Primary domain for the Azure AD or Google Workspace tenant.
- entity
Id string - SAML entity ID (Issuer) from your identity provider. Required for
samlandokta. - gsuite
Admin stringId - Google Workspace admin email used to fetch group memberships.
- include
Indirect booleanGroups - Whether to include transitive (indirect) group memberships from Azure AD. Defaults to true.
- max
Groups numberTo Retrieve - Maximum number of Azure AD groups to fetch per user. Defaults to 250.
- sign
Request boolean - Whether to sign SAML authentication requests. Defaults to false.
- slug string
- URL-safe identifier used in the SSO login URL. Auto-generated if omitted. Immutable on accounts where auto-slug enforcement is enabled.
- sso
Url string - SAML Single Sign-On URL from your identity provider. Required for
samlandokta. - tenant
Id string - Azure AD tenant ID. Required for
azureSingleTenant.
- type str
- The SSO provider type. One of:
saml,okta,gsuite,azureSingleTenant,azureMultiTenant,azureActiveDirectory. Changing this value forces a new resource. - admin_
refresh_ strtoken - Google Workspace admin OAuth refresh token used to fetch group memberships.
- allow_
password_ boolbackdoor - When true (default), users can still log in with email and password as a fallback. Set to false to enforce SSO-only access.
- attribute_
map str - JSON map of SAML attribute names to dbt Cloud user fields.
- str
- OAuth authorization URL for Google Workspace. May be auto-populated server-side.
- cert str
- SAML X.509 certificate (PEM format). Sensitive — stored in state. Consider using
certWoinstead. Conflicts withcertWo. - cert_
wo str - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
cert. Not stored in state. UsecertWoVersionto trigger updates. Conflicts withcert. - cert_
wo_ intversion - Increment to rotate
certWowithout changing the value. - client_
id str - OAuth client ID. Required for Azure AD and Google Workspace providers. Not returned by the API after save (encrypted at rest).
- client_
secret str - OAuth client secret. Required for Azure AD and Google Workspace providers. Sensitive — stored in state. Consider using
clientSecretWoinstead. Conflicts withclientSecretWo. - client_
secret_ strwo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
clientSecret. Not stored in state. UseclientSecretWoVersionto trigger updates. Conflicts withclientSecret. - client_
secret_ intwo_ version - Increment to rotate
clientSecretWowithout changing the value. - domain str
- Primary domain for the Azure AD or Google Workspace tenant.
- entity_
id str - SAML entity ID (Issuer) from your identity provider. Required for
samlandokta. - gsuite_
admin_ strid - Google Workspace admin email used to fetch group memberships.
- include_
indirect_ boolgroups - Whether to include transitive (indirect) group memberships from Azure AD. Defaults to true.
- max_
groups_ intto_ retrieve - Maximum number of Azure AD groups to fetch per user. Defaults to 250.
- sign_
request bool - Whether to sign SAML authentication requests. Defaults to false.
- slug str
- URL-safe identifier used in the SSO login URL. Auto-generated if omitted. Immutable on accounts where auto-slug enforcement is enabled.
- sso_
url str - SAML Single Sign-On URL from your identity provider. Required for
samlandokta. - tenant_
id str - Azure AD tenant ID. Required for
azureSingleTenant.
- type String
- The SSO provider type. One of:
saml,okta,gsuite,azureSingleTenant,azureMultiTenant,azureActiveDirectory. Changing this value forces a new resource. - admin
Refresh StringToken - Google Workspace admin OAuth refresh token used to fetch group memberships.
- allow
Password BooleanBackdoor - When true (default), users can still log in with email and password as a fallback. Set to false to enforce SSO-only access.
- attribute
Map String - JSON map of SAML attribute names to dbt Cloud user fields.
- String
- OAuth authorization URL for Google Workspace. May be auto-populated server-side.
- cert String
- SAML X.509 certificate (PEM format). Sensitive — stored in state. Consider using
certWoinstead. Conflicts withcertWo. - cert
Wo String - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
cert. Not stored in state. UsecertWoVersionto trigger updates. Conflicts withcert. - cert
Wo NumberVersion - Increment to rotate
certWowithout changing the value. - client
Id String - OAuth client ID. Required for Azure AD and Google Workspace providers. Not returned by the API after save (encrypted at rest).
- client
Secret String - OAuth client secret. Required for Azure AD and Google Workspace providers. Sensitive — stored in state. Consider using
clientSecretWoinstead. Conflicts withclientSecretWo. - client
Secret StringWo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
clientSecret. Not stored in state. UseclientSecretWoVersionto trigger updates. Conflicts withclientSecret. - client
Secret NumberWo Version - Increment to rotate
clientSecretWowithout changing the value. - domain String
- Primary domain for the Azure AD or Google Workspace tenant.
- entity
Id String - SAML entity ID (Issuer) from your identity provider. Required for
samlandokta. - gsuite
Admin StringId - Google Workspace admin email used to fetch group memberships.
- include
Indirect BooleanGroups - Whether to include transitive (indirect) group memberships from Azure AD. Defaults to true.
- max
Groups NumberTo Retrieve - Maximum number of Azure AD groups to fetch per user. Defaults to 250.
- sign
Request Boolean - Whether to sign SAML authentication requests. Defaults to false.
- slug String
- URL-safe identifier used in the SSO login URL. Auto-generated if omitted. Immutable on accounts where auto-slug enforcement is enabled.
- sso
Url String - SAML Single Sign-On URL from your identity provider. Required for
samlandokta. - tenant
Id String - Azure AD tenant ID. Required for
azureSingleTenant.
Outputs
All input properties are implicitly available as output properties. Additionally, the AuthProvider resource produces the following output properties:
- Cert
Expiry stringDate - Expiry date of the SAML X.509 certificate (SAML/Okta only).
- Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Login
Url string - The SSO login URL for the account, auto-generated from the slug.
- State int
- The state of the auth provider (1 = active).
- Updated
At string
- Cert
Expiry stringDate - Expiry date of the SAML X.509 certificate (SAML/Okta only).
- Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Login
Url string - The SSO login URL for the account, auto-generated from the slug.
- State int
- The state of the auth provider (1 = active).
- Updated
At string
- cert_
expiry_ stringdate - Expiry date of the SAML X.509 certificate (SAML/Okta only).
- created_
at string - id string
- The provider-assigned unique ID for this managed resource.
- login_
url string - The SSO login URL for the account, auto-generated from the slug.
- state number
- The state of the auth provider (1 = active).
- updated_
at string
- cert
Expiry StringDate - Expiry date of the SAML X.509 certificate (SAML/Okta only).
- created
At String - id String
- The provider-assigned unique ID for this managed resource.
- login
Url String - The SSO login URL for the account, auto-generated from the slug.
- state Integer
- The state of the auth provider (1 = active).
- updated
At String
- cert
Expiry stringDate - Expiry date of the SAML X.509 certificate (SAML/Okta only).
- created
At string - id string
- The provider-assigned unique ID for this managed resource.
- login
Url string - The SSO login URL for the account, auto-generated from the slug.
- state number
- The state of the auth provider (1 = active).
- updated
At string
- cert_
expiry_ strdate - Expiry date of the SAML X.509 certificate (SAML/Okta only).
- created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- login_
url str - The SSO login URL for the account, auto-generated from the slug.
- state int
- The state of the auth provider (1 = active).
- updated_
at str
- cert
Expiry StringDate - Expiry date of the SAML X.509 certificate (SAML/Okta only).
- created
At String - id String
- The provider-assigned unique ID for this managed resource.
- login
Url String - The SSO login URL for the account, auto-generated from the slug.
- state Number
- The state of the auth provider (1 = active).
- updated
At String
Look up Existing AuthProvider Resource
Get an existing AuthProvider 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?: AuthProviderState, opts?: CustomResourceOptions): AuthProvider@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_refresh_token: Optional[str] = None,
allow_password_backdoor: Optional[bool] = None,
attribute_map: Optional[str] = None,
authorization_url: Optional[str] = None,
cert: Optional[str] = None,
cert_expiry_date: Optional[str] = None,
cert_wo: Optional[str] = None,
cert_wo_version: Optional[int] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
client_secret_wo: Optional[str] = None,
client_secret_wo_version: Optional[int] = None,
created_at: Optional[str] = None,
domain: Optional[str] = None,
entity_id: Optional[str] = None,
gsuite_admin_id: Optional[str] = None,
include_indirect_groups: Optional[bool] = None,
login_url: Optional[str] = None,
max_groups_to_retrieve: Optional[int] = None,
sign_request: Optional[bool] = None,
slug: Optional[str] = None,
sso_url: Optional[str] = None,
state: Optional[int] = None,
tenant_id: Optional[str] = None,
type: Optional[str] = None,
updated_at: Optional[str] = None) -> AuthProviderfunc GetAuthProvider(ctx *Context, name string, id IDInput, state *AuthProviderState, opts ...ResourceOption) (*AuthProvider, error)public static AuthProvider Get(string name, Input<string> id, AuthProviderState? state, CustomResourceOptions? opts = null)public static AuthProvider get(String name, Output<String> id, AuthProviderState state, CustomResourceOptions options)resources: _: type: dbtcloud:AuthProvider get: id: ${id}import {
to = dbtcloud_authprovider.example
id = "${id}"
}
- 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.
- Admin
Refresh stringToken - Google Workspace admin OAuth refresh token used to fetch group memberships.
- Allow
Password boolBackdoor - When true (default), users can still log in with email and password as a fallback. Set to false to enforce SSO-only access.
- Attribute
Map string - JSON map of SAML attribute names to dbt Cloud user fields.
- string
- OAuth authorization URL for Google Workspace. May be auto-populated server-side.
- Cert string
- SAML X.509 certificate (PEM format). Sensitive — stored in state. Consider using
certWoinstead. Conflicts withcertWo. - Cert
Expiry stringDate - Expiry date of the SAML X.509 certificate (SAML/Okta only).
- Cert
Wo string - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
cert. Not stored in state. UsecertWoVersionto trigger updates. Conflicts withcert. - Cert
Wo intVersion - Increment to rotate
certWowithout changing the value. - Client
Id string - OAuth client ID. Required for Azure AD and Google Workspace providers. Not returned by the API after save (encrypted at rest).
- Client
Secret string - OAuth client secret. Required for Azure AD and Google Workspace providers. Sensitive — stored in state. Consider using
clientSecretWoinstead. Conflicts withclientSecretWo. - Client
Secret stringWo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
clientSecret. Not stored in state. UseclientSecretWoVersionto trigger updates. Conflicts withclientSecret. - Client
Secret intWo Version - Increment to rotate
clientSecretWowithout changing the value. - Created
At string - Domain string
- Primary domain for the Azure AD or Google Workspace tenant.
- Entity
Id string - SAML entity ID (Issuer) from your identity provider. Required for
samlandokta. - Gsuite
Admin stringId - Google Workspace admin email used to fetch group memberships.
- Include
Indirect boolGroups - Whether to include transitive (indirect) group memberships from Azure AD. Defaults to true.
- Login
Url string - The SSO login URL for the account, auto-generated from the slug.
- Max
Groups intTo Retrieve - Maximum number of Azure AD groups to fetch per user. Defaults to 250.
- Sign
Request bool - Whether to sign SAML authentication requests. Defaults to false.
- Slug string
- URL-safe identifier used in the SSO login URL. Auto-generated if omitted. Immutable on accounts where auto-slug enforcement is enabled.
- Sso
Url string - SAML Single Sign-On URL from your identity provider. Required for
samlandokta. - State int
- The state of the auth provider (1 = active).
- Tenant
Id string - Azure AD tenant ID. Required for
azureSingleTenant. - Type string
- The SSO provider type. One of:
saml,okta,gsuite,azureSingleTenant,azureMultiTenant,azureActiveDirectory. Changing this value forces a new resource. - Updated
At string
- Admin
Refresh stringToken - Google Workspace admin OAuth refresh token used to fetch group memberships.
- Allow
Password boolBackdoor - When true (default), users can still log in with email and password as a fallback. Set to false to enforce SSO-only access.
- Attribute
Map string - JSON map of SAML attribute names to dbt Cloud user fields.
- string
- OAuth authorization URL for Google Workspace. May be auto-populated server-side.
- Cert string
- SAML X.509 certificate (PEM format). Sensitive — stored in state. Consider using
certWoinstead. Conflicts withcertWo. - Cert
Expiry stringDate - Expiry date of the SAML X.509 certificate (SAML/Okta only).
- Cert
Wo string - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
cert. Not stored in state. UsecertWoVersionto trigger updates. Conflicts withcert. - Cert
Wo intVersion - Increment to rotate
certWowithout changing the value. - Client
Id string - OAuth client ID. Required for Azure AD and Google Workspace providers. Not returned by the API after save (encrypted at rest).
- Client
Secret string - OAuth client secret. Required for Azure AD and Google Workspace providers. Sensitive — stored in state. Consider using
clientSecretWoinstead. Conflicts withclientSecretWo. - Client
Secret stringWo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
clientSecret. Not stored in state. UseclientSecretWoVersionto trigger updates. Conflicts withclientSecret. - Client
Secret intWo Version - Increment to rotate
clientSecretWowithout changing the value. - Created
At string - Domain string
- Primary domain for the Azure AD or Google Workspace tenant.
- Entity
Id string - SAML entity ID (Issuer) from your identity provider. Required for
samlandokta. - Gsuite
Admin stringId - Google Workspace admin email used to fetch group memberships.
- Include
Indirect boolGroups - Whether to include transitive (indirect) group memberships from Azure AD. Defaults to true.
- Login
Url string - The SSO login URL for the account, auto-generated from the slug.
- Max
Groups intTo Retrieve - Maximum number of Azure AD groups to fetch per user. Defaults to 250.
- Sign
Request bool - Whether to sign SAML authentication requests. Defaults to false.
- Slug string
- URL-safe identifier used in the SSO login URL. Auto-generated if omitted. Immutable on accounts where auto-slug enforcement is enabled.
- Sso
Url string - SAML Single Sign-On URL from your identity provider. Required for
samlandokta. - State int
- The state of the auth provider (1 = active).
- Tenant
Id string - Azure AD tenant ID. Required for
azureSingleTenant. - Type string
- The SSO provider type. One of:
saml,okta,gsuite,azureSingleTenant,azureMultiTenant,azureActiveDirectory. Changing this value forces a new resource. - Updated
At string
- admin_
refresh_ stringtoken - Google Workspace admin OAuth refresh token used to fetch group memberships.
- allow_
password_ boolbackdoor - When true (default), users can still log in with email and password as a fallback. Set to false to enforce SSO-only access.
- attribute_
map string - JSON map of SAML attribute names to dbt Cloud user fields.
- string
- OAuth authorization URL for Google Workspace. May be auto-populated server-side.
- cert string
- SAML X.509 certificate (PEM format). Sensitive — stored in state. Consider using
certWoinstead. Conflicts withcertWo. - cert_
expiry_ stringdate - Expiry date of the SAML X.509 certificate (SAML/Okta only).
- cert_
wo string - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
cert. Not stored in state. UsecertWoVersionto trigger updates. Conflicts withcert. - cert_
wo_ numberversion - Increment to rotate
certWowithout changing the value. - client_
id string - OAuth client ID. Required for Azure AD and Google Workspace providers. Not returned by the API after save (encrypted at rest).
- client_
secret string - OAuth client secret. Required for Azure AD and Google Workspace providers. Sensitive — stored in state. Consider using
clientSecretWoinstead. Conflicts withclientSecretWo. - client_
secret_ stringwo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
clientSecret. Not stored in state. UseclientSecretWoVersionto trigger updates. Conflicts withclientSecret. - client_
secret_ numberwo_ version - Increment to rotate
clientSecretWowithout changing the value. - created_
at string - domain string
- Primary domain for the Azure AD or Google Workspace tenant.
- entity_
id string - SAML entity ID (Issuer) from your identity provider. Required for
samlandokta. - gsuite_
admin_ stringid - Google Workspace admin email used to fetch group memberships.
- include_
indirect_ boolgroups - Whether to include transitive (indirect) group memberships from Azure AD. Defaults to true.
- login_
url string - The SSO login URL for the account, auto-generated from the slug.
- max_
groups_ numberto_ retrieve - Maximum number of Azure AD groups to fetch per user. Defaults to 250.
- sign_
request bool - Whether to sign SAML authentication requests. Defaults to false.
- slug string
- URL-safe identifier used in the SSO login URL. Auto-generated if omitted. Immutable on accounts where auto-slug enforcement is enabled.
- sso_
url string - SAML Single Sign-On URL from your identity provider. Required for
samlandokta. - state number
- The state of the auth provider (1 = active).
- tenant_
id string - Azure AD tenant ID. Required for
azureSingleTenant. - type string
- The SSO provider type. One of:
saml,okta,gsuite,azureSingleTenant,azureMultiTenant,azureActiveDirectory. Changing this value forces a new resource. - updated_
at string
- admin
Refresh StringToken - Google Workspace admin OAuth refresh token used to fetch group memberships.
- allow
Password BooleanBackdoor - When true (default), users can still log in with email and password as a fallback. Set to false to enforce SSO-only access.
- attribute
Map String - JSON map of SAML attribute names to dbt Cloud user fields.
- String
- OAuth authorization URL for Google Workspace. May be auto-populated server-side.
- cert String
- SAML X.509 certificate (PEM format). Sensitive — stored in state. Consider using
certWoinstead. Conflicts withcertWo. - cert
Expiry StringDate - Expiry date of the SAML X.509 certificate (SAML/Okta only).
- cert
Wo String - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
cert. Not stored in state. UsecertWoVersionto trigger updates. Conflicts withcert. - cert
Wo IntegerVersion - Increment to rotate
certWowithout changing the value. - client
Id String - OAuth client ID. Required for Azure AD and Google Workspace providers. Not returned by the API after save (encrypted at rest).
- client
Secret String - OAuth client secret. Required for Azure AD and Google Workspace providers. Sensitive — stored in state. Consider using
clientSecretWoinstead. Conflicts withclientSecretWo. - client
Secret StringWo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
clientSecret. Not stored in state. UseclientSecretWoVersionto trigger updates. Conflicts withclientSecret. - client
Secret IntegerWo Version - Increment to rotate
clientSecretWowithout changing the value. - created
At String - domain String
- Primary domain for the Azure AD or Google Workspace tenant.
- entity
Id String - SAML entity ID (Issuer) from your identity provider. Required for
samlandokta. - gsuite
Admin StringId - Google Workspace admin email used to fetch group memberships.
- include
Indirect BooleanGroups - Whether to include transitive (indirect) group memberships from Azure AD. Defaults to true.
- login
Url String - The SSO login URL for the account, auto-generated from the slug.
- max
Groups IntegerTo Retrieve - Maximum number of Azure AD groups to fetch per user. Defaults to 250.
- sign
Request Boolean - Whether to sign SAML authentication requests. Defaults to false.
- slug String
- URL-safe identifier used in the SSO login URL. Auto-generated if omitted. Immutable on accounts where auto-slug enforcement is enabled.
- sso
Url String - SAML Single Sign-On URL from your identity provider. Required for
samlandokta. - state Integer
- The state of the auth provider (1 = active).
- tenant
Id String - Azure AD tenant ID. Required for
azureSingleTenant. - type String
- The SSO provider type. One of:
saml,okta,gsuite,azureSingleTenant,azureMultiTenant,azureActiveDirectory. Changing this value forces a new resource. - updated
At String
- admin
Refresh stringToken - Google Workspace admin OAuth refresh token used to fetch group memberships.
- allow
Password booleanBackdoor - When true (default), users can still log in with email and password as a fallback. Set to false to enforce SSO-only access.
- attribute
Map string - JSON map of SAML attribute names to dbt Cloud user fields.
- string
- OAuth authorization URL for Google Workspace. May be auto-populated server-side.
- cert string
- SAML X.509 certificate (PEM format). Sensitive — stored in state. Consider using
certWoinstead. Conflicts withcertWo. - cert
Expiry stringDate - Expiry date of the SAML X.509 certificate (SAML/Okta only).
- cert
Wo string - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
cert. Not stored in state. UsecertWoVersionto trigger updates. Conflicts withcert. - cert
Wo numberVersion - Increment to rotate
certWowithout changing the value. - client
Id string - OAuth client ID. Required for Azure AD and Google Workspace providers. Not returned by the API after save (encrypted at rest).
- client
Secret string - OAuth client secret. Required for Azure AD and Google Workspace providers. Sensitive — stored in state. Consider using
clientSecretWoinstead. Conflicts withclientSecretWo. - client
Secret stringWo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
clientSecret. Not stored in state. UseclientSecretWoVersionto trigger updates. Conflicts withclientSecret. - client
Secret numberWo Version - Increment to rotate
clientSecretWowithout changing the value. - created
At string - domain string
- Primary domain for the Azure AD or Google Workspace tenant.
- entity
Id string - SAML entity ID (Issuer) from your identity provider. Required for
samlandokta. - gsuite
Admin stringId - Google Workspace admin email used to fetch group memberships.
- include
Indirect booleanGroups - Whether to include transitive (indirect) group memberships from Azure AD. Defaults to true.
- login
Url string - The SSO login URL for the account, auto-generated from the slug.
- max
Groups numberTo Retrieve - Maximum number of Azure AD groups to fetch per user. Defaults to 250.
- sign
Request boolean - Whether to sign SAML authentication requests. Defaults to false.
- slug string
- URL-safe identifier used in the SSO login URL. Auto-generated if omitted. Immutable on accounts where auto-slug enforcement is enabled.
- sso
Url string - SAML Single Sign-On URL from your identity provider. Required for
samlandokta. - state number
- The state of the auth provider (1 = active).
- tenant
Id string - Azure AD tenant ID. Required for
azureSingleTenant. - type string
- The SSO provider type. One of:
saml,okta,gsuite,azureSingleTenant,azureMultiTenant,azureActiveDirectory. Changing this value forces a new resource. - updated
At string
- admin_
refresh_ strtoken - Google Workspace admin OAuth refresh token used to fetch group memberships.
- allow_
password_ boolbackdoor - When true (default), users can still log in with email and password as a fallback. Set to false to enforce SSO-only access.
- attribute_
map str - JSON map of SAML attribute names to dbt Cloud user fields.
- str
- OAuth authorization URL for Google Workspace. May be auto-populated server-side.
- cert str
- SAML X.509 certificate (PEM format). Sensitive — stored in state. Consider using
certWoinstead. Conflicts withcertWo. - cert_
expiry_ strdate - Expiry date of the SAML X.509 certificate (SAML/Okta only).
- cert_
wo str - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
cert. Not stored in state. UsecertWoVersionto trigger updates. Conflicts withcert. - cert_
wo_ intversion - Increment to rotate
certWowithout changing the value. - client_
id str - OAuth client ID. Required for Azure AD and Google Workspace providers. Not returned by the API after save (encrypted at rest).
- client_
secret str - OAuth client secret. Required for Azure AD and Google Workspace providers. Sensitive — stored in state. Consider using
clientSecretWoinstead. Conflicts withclientSecretWo. - client_
secret_ strwo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
clientSecret. Not stored in state. UseclientSecretWoVersionto trigger updates. Conflicts withclientSecret. - client_
secret_ intwo_ version - Increment to rotate
clientSecretWowithout changing the value. - created_
at str - domain str
- Primary domain for the Azure AD or Google Workspace tenant.
- entity_
id str - SAML entity ID (Issuer) from your identity provider. Required for
samlandokta. - gsuite_
admin_ strid - Google Workspace admin email used to fetch group memberships.
- include_
indirect_ boolgroups - Whether to include transitive (indirect) group memberships from Azure AD. Defaults to true.
- login_
url str - The SSO login URL for the account, auto-generated from the slug.
- max_
groups_ intto_ retrieve - Maximum number of Azure AD groups to fetch per user. Defaults to 250.
- sign_
request bool - Whether to sign SAML authentication requests. Defaults to false.
- slug str
- URL-safe identifier used in the SSO login URL. Auto-generated if omitted. Immutable on accounts where auto-slug enforcement is enabled.
- sso_
url str - SAML Single Sign-On URL from your identity provider. Required for
samlandokta. - state int
- The state of the auth provider (1 = active).
- tenant_
id str - Azure AD tenant ID. Required for
azureSingleTenant. - type str
- The SSO provider type. One of:
saml,okta,gsuite,azureSingleTenant,azureMultiTenant,azureActiveDirectory. Changing this value forces a new resource. - updated_
at str
- admin
Refresh StringToken - Google Workspace admin OAuth refresh token used to fetch group memberships.
- allow
Password BooleanBackdoor - When true (default), users can still log in with email and password as a fallback. Set to false to enforce SSO-only access.
- attribute
Map String - JSON map of SAML attribute names to dbt Cloud user fields.
- String
- OAuth authorization URL for Google Workspace. May be auto-populated server-side.
- cert String
- SAML X.509 certificate (PEM format). Sensitive — stored in state. Consider using
certWoinstead. Conflicts withcertWo. - cert
Expiry StringDate - Expiry date of the SAML X.509 certificate (SAML/Okta only).
- cert
Wo String - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
cert. Not stored in state. UsecertWoVersionto trigger updates. Conflicts withcert. - cert
Wo NumberVersion - Increment to rotate
certWowithout changing the value. - client
Id String - OAuth client ID. Required for Azure AD and Google Workspace providers. Not returned by the API after save (encrypted at rest).
- client
Secret String - OAuth client secret. Required for Azure AD and Google Workspace providers. Sensitive — stored in state. Consider using
clientSecretWoinstead. Conflicts withclientSecretWo. - client
Secret StringWo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
clientSecret. Not stored in state. UseclientSecretWoVersionto trigger updates. Conflicts withclientSecret. - client
Secret NumberWo Version - Increment to rotate
clientSecretWowithout changing the value. - created
At String - domain String
- Primary domain for the Azure AD or Google Workspace tenant.
- entity
Id String - SAML entity ID (Issuer) from your identity provider. Required for
samlandokta. - gsuite
Admin StringId - Google Workspace admin email used to fetch group memberships.
- include
Indirect BooleanGroups - Whether to include transitive (indirect) group memberships from Azure AD. Defaults to true.
- login
Url String - The SSO login URL for the account, auto-generated from the slug.
- max
Groups NumberTo Retrieve - Maximum number of Azure AD groups to fetch per user. Defaults to 250.
- sign
Request Boolean - Whether to sign SAML authentication requests. Defaults to false.
- slug String
- URL-safe identifier used in the SSO login URL. Auto-generated if omitted. Immutable on accounts where auto-slug enforcement is enabled.
- sso
Url String - SAML Single Sign-On URL from your identity provider. Required for
samlandokta. - state Number
- The state of the auth provider (1 = active).
- tenant
Id String - Azure AD tenant ID. Required for
azureSingleTenant. - type String
- The SSO provider type. One of:
saml,okta,gsuite,azureSingleTenant,azureMultiTenant,azureActiveDirectory. Changing this value forces a new resource. - updated
At String
Import
Import an existing auth provider by its numeric ID. The ID can be found via the dbt Cloud API: GET /api/v3/accounts/{account_id}/auth-provider/
$ pulumi import dbtcloud:index/authProvider:AuthProvider example 12345
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloudTerraform Provider.
published on Thursday, May 14, 2026 by Pulumi
