vault.saml.AuthBackend
Manages a SAML Auth mount in a Vault server. See the Vault documentation for more information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vault from "@pulumi/vault";
const test = new vault.saml.AuthBackend("test", {
path: "saml",
idpMetadataUrl: "https://company.okta.com/app/abc123eb9xnIfzlaf697/sso/saml/metadata",
entityId: "https://my.vault/v1/auth/saml",
acsUrls: ["https://my.vault.primary/v1/auth/saml/callback"],
defaultRole: "admin",
});
import pulumi
import pulumi_vault as vault
test = vault.saml.AuthBackend("test",
path="saml",
idp_metadata_url="https://company.okta.com/app/abc123eb9xnIfzlaf697/sso/saml/metadata",
entity_id="https://my.vault/v1/auth/saml",
acs_urls=["https://my.vault.primary/v1/auth/saml/callback"],
default_role="admin")
package main
import (
"github.com/pulumi/pulumi-vault/sdk/v7/go/vault/saml"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := saml.NewAuthBackend(ctx, "test", &saml.AuthBackendArgs{
Path: pulumi.String("saml"),
IdpMetadataUrl: pulumi.String("https://company.okta.com/app/abc123eb9xnIfzlaf697/sso/saml/metadata"),
EntityId: pulumi.String("https://my.vault/v1/auth/saml"),
AcsUrls: pulumi.StringArray{
pulumi.String("https://my.vault.primary/v1/auth/saml/callback"),
},
DefaultRole: pulumi.String("admin"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vault = Pulumi.Vault;
return await Deployment.RunAsync(() =>
{
var test = new Vault.Saml.AuthBackend("test", new()
{
Path = "saml",
IdpMetadataUrl = "https://company.okta.com/app/abc123eb9xnIfzlaf697/sso/saml/metadata",
EntityId = "https://my.vault/v1/auth/saml",
AcsUrls = new[]
{
"https://my.vault.primary/v1/auth/saml/callback",
},
DefaultRole = "admin",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vault.saml.AuthBackend;
import com.pulumi.vault.saml.AuthBackendArgs;
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 test = new AuthBackend("test", AuthBackendArgs.builder()
.path("saml")
.idpMetadataUrl("https://company.okta.com/app/abc123eb9xnIfzlaf697/sso/saml/metadata")
.entityId("https://my.vault/v1/auth/saml")
.acsUrls("https://my.vault.primary/v1/auth/saml/callback")
.defaultRole("admin")
.build());
}
}
resources:
test:
type: vault:saml:AuthBackend
properties:
path: saml
idpMetadataUrl: https://company.okta.com/app/abc123eb9xnIfzlaf697/sso/saml/metadata
entityId: https://my.vault/v1/auth/saml
acsUrls:
- https://my.vault.primary/v1/auth/saml/callback
defaultRole: admin
Create AuthBackend Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AuthBackend(name: string, args: AuthBackendArgs, opts?: CustomResourceOptions);@overload
def AuthBackend(resource_name: str,
args: AuthBackendArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AuthBackend(resource_name: str,
opts: Optional[ResourceOptions] = None,
acs_urls: Optional[Sequence[str]] = None,
entity_id: Optional[str] = None,
default_role: Optional[str] = None,
disable_remount: Optional[bool] = None,
idp_cert: Optional[str] = None,
idp_entity_id: Optional[str] = None,
idp_metadata_url: Optional[str] = None,
idp_sso_url: Optional[str] = None,
namespace: Optional[str] = None,
path: Optional[str] = None,
tune: Optional[AuthBackendTuneArgs] = None,
verbose_logging: Optional[bool] = None)func NewAuthBackend(ctx *Context, name string, args AuthBackendArgs, opts ...ResourceOption) (*AuthBackend, error)public AuthBackend(string name, AuthBackendArgs args, CustomResourceOptions? opts = null)
public AuthBackend(String name, AuthBackendArgs args)
public AuthBackend(String name, AuthBackendArgs args, CustomResourceOptions options)
type: vault:saml:AuthBackend
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 AuthBackendArgs
- 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 AuthBackendArgs
- 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 AuthBackendArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthBackendArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AuthBackendArgs
- 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 exampleauthBackendResourceResourceFromSamlauthBackend = new Vault.Saml.AuthBackend("exampleauthBackendResourceResourceFromSamlauthBackend", new()
{
AcsUrls = new[]
{
"string",
},
EntityId = "string",
DefaultRole = "string",
DisableRemount = false,
IdpCert = "string",
IdpEntityId = "string",
IdpMetadataUrl = "string",
IdpSsoUrl = "string",
Namespace = "string",
Path = "string",
Tune = new Vault.Saml.Inputs.AuthBackendTuneArgs
{
AllowedResponseHeaders = new[]
{
"string",
},
AuditNonHmacRequestKeys = new[]
{
"string",
},
AuditNonHmacResponseKeys = new[]
{
"string",
},
DefaultLeaseTtl = "string",
ListingVisibility = "string",
MaxLeaseTtl = "string",
PassthroughRequestHeaders = new[]
{
"string",
},
TokenType = "string",
},
VerboseLogging = false,
});
example, err := saml.NewAuthBackend(ctx, "exampleauthBackendResourceResourceFromSamlauthBackend", &saml.AuthBackendArgs{
AcsUrls: pulumi.StringArray{
pulumi.String("string"),
},
EntityId: pulumi.String("string"),
DefaultRole: pulumi.String("string"),
DisableRemount: pulumi.Bool(false),
IdpCert: pulumi.String("string"),
IdpEntityId: pulumi.String("string"),
IdpMetadataUrl: pulumi.String("string"),
IdpSsoUrl: pulumi.String("string"),
Namespace: pulumi.String("string"),
Path: pulumi.String("string"),
Tune: &saml.AuthBackendTuneArgs{
AllowedResponseHeaders: pulumi.StringArray{
pulumi.String("string"),
},
AuditNonHmacRequestKeys: pulumi.StringArray{
pulumi.String("string"),
},
AuditNonHmacResponseKeys: pulumi.StringArray{
pulumi.String("string"),
},
DefaultLeaseTtl: pulumi.String("string"),
ListingVisibility: pulumi.String("string"),
MaxLeaseTtl: pulumi.String("string"),
PassthroughRequestHeaders: pulumi.StringArray{
pulumi.String("string"),
},
TokenType: pulumi.String("string"),
},
VerboseLogging: pulumi.Bool(false),
})
var exampleauthBackendResourceResourceFromSamlauthBackend = new com.pulumi.vault.saml.AuthBackend("exampleauthBackendResourceResourceFromSamlauthBackend", com.pulumi.vault.saml.AuthBackendArgs.builder()
.acsUrls("string")
.entityId("string")
.defaultRole("string")
.disableRemount(false)
.idpCert("string")
.idpEntityId("string")
.idpMetadataUrl("string")
.idpSsoUrl("string")
.namespace("string")
.path("string")
.tune(AuthBackendTuneArgs.builder()
.allowedResponseHeaders("string")
.auditNonHmacRequestKeys("string")
.auditNonHmacResponseKeys("string")
.defaultLeaseTtl("string")
.listingVisibility("string")
.maxLeaseTtl("string")
.passthroughRequestHeaders("string")
.tokenType("string")
.build())
.verboseLogging(false)
.build());
exampleauth_backend_resource_resource_from_samlauth_backend = vault.saml.AuthBackend("exampleauthBackendResourceResourceFromSamlauthBackend",
acs_urls=["string"],
entity_id="string",
default_role="string",
disable_remount=False,
idp_cert="string",
idp_entity_id="string",
idp_metadata_url="string",
idp_sso_url="string",
namespace="string",
path="string",
tune={
"allowed_response_headers": ["string"],
"audit_non_hmac_request_keys": ["string"],
"audit_non_hmac_response_keys": ["string"],
"default_lease_ttl": "string",
"listing_visibility": "string",
"max_lease_ttl": "string",
"passthrough_request_headers": ["string"],
"token_type": "string",
},
verbose_logging=False)
const exampleauthBackendResourceResourceFromSamlauthBackend = new vault.saml.AuthBackend("exampleauthBackendResourceResourceFromSamlauthBackend", {
acsUrls: ["string"],
entityId: "string",
defaultRole: "string",
disableRemount: false,
idpCert: "string",
idpEntityId: "string",
idpMetadataUrl: "string",
idpSsoUrl: "string",
namespace: "string",
path: "string",
tune: {
allowedResponseHeaders: ["string"],
auditNonHmacRequestKeys: ["string"],
auditNonHmacResponseKeys: ["string"],
defaultLeaseTtl: "string",
listingVisibility: "string",
maxLeaseTtl: "string",
passthroughRequestHeaders: ["string"],
tokenType: "string",
},
verboseLogging: false,
});
type: vault:saml:AuthBackend
properties:
acsUrls:
- string
defaultRole: string
disableRemount: false
entityId: string
idpCert: string
idpEntityId: string
idpMetadataUrl: string
idpSsoUrl: string
namespace: string
path: string
tune:
allowedResponseHeaders:
- string
auditNonHmacRequestKeys:
- string
auditNonHmacResponseKeys:
- string
defaultLeaseTtl: string
listingVisibility: string
maxLeaseTtl: string
passthroughRequestHeaders:
- string
tokenType: string
verboseLogging: false
AuthBackend 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 AuthBackend resource accepts the following input properties:
- Acs
Urls List<string> - The well-formatted URLs of your Assertion Consumer Service (ACS) that should receive a response from the identity provider.
- Entity
Id string - The entity ID of the SAML authentication service provider.
- Default
Role string - The role to use if no role is provided during login.
- Disable
Remount bool - If set to
true, opts out of mount migration on path updates. See here for more info on Mount Migration - Idp
Cert string - The PEM encoded certificate of the identity provider. Mutually exclusive
with
idp_metadata_url. - Idp
Entity stringId - The entity ID of the identity provider. Mutually exclusive with
idp_metadata_url. - Idp
Metadata stringUrl - The metadata URL of the identity provider.
- Idp
Sso stringUrl - The SSO URL of the identity provider. Mutually exclusive with
idp_metadata_url. - Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise. - Path string
- Path where the auth backend will be mounted. Defaults to
auth/samlif not specified. - Tune
Auth
Backend Tune Extra configuration block. Structure is documented below.
The
tuneblock is used to tune the auth backend:- Verbose
Logging bool - If set to
true, logs additional, potentially sensitive information during the SAML exchange according to the current logging level. Not recommended for production.
- Acs
Urls []string - The well-formatted URLs of your Assertion Consumer Service (ACS) that should receive a response from the identity provider.
- Entity
Id string - The entity ID of the SAML authentication service provider.
- Default
Role string - The role to use if no role is provided during login.
- Disable
Remount bool - If set to
true, opts out of mount migration on path updates. See here for more info on Mount Migration - Idp
Cert string - The PEM encoded certificate of the identity provider. Mutually exclusive
with
idp_metadata_url. - Idp
Entity stringId - The entity ID of the identity provider. Mutually exclusive with
idp_metadata_url. - Idp
Metadata stringUrl - The metadata URL of the identity provider.
- Idp
Sso stringUrl - The SSO URL of the identity provider. Mutually exclusive with
idp_metadata_url. - Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise. - Path string
- Path where the auth backend will be mounted. Defaults to
auth/samlif not specified. - Tune
Auth
Backend Tune Args Extra configuration block. Structure is documented below.
The
tuneblock is used to tune the auth backend:- Verbose
Logging bool - If set to
true, logs additional, potentially sensitive information during the SAML exchange according to the current logging level. Not recommended for production.
- acs
Urls List<String> - The well-formatted URLs of your Assertion Consumer Service (ACS) that should receive a response from the identity provider.
- entity
Id String - The entity ID of the SAML authentication service provider.
- default
Role String - The role to use if no role is provided during login.
- disable
Remount Boolean - If set to
true, opts out of mount migration on path updates. See here for more info on Mount Migration - idp
Cert String - The PEM encoded certificate of the identity provider. Mutually exclusive
with
idp_metadata_url. - idp
Entity StringId - The entity ID of the identity provider. Mutually exclusive with
idp_metadata_url. - idp
Metadata StringUrl - The metadata URL of the identity provider.
- idp
Sso StringUrl - The SSO URL of the identity provider. Mutually exclusive with
idp_metadata_url. - namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise. - path String
- Path where the auth backend will be mounted. Defaults to
auth/samlif not specified. - tune
Auth
Backend Tune Extra configuration block. Structure is documented below.
The
tuneblock is used to tune the auth backend:- verbose
Logging Boolean - If set to
true, logs additional, potentially sensitive information during the SAML exchange according to the current logging level. Not recommended for production.
- acs
Urls string[] - The well-formatted URLs of your Assertion Consumer Service (ACS) that should receive a response from the identity provider.
- entity
Id string - The entity ID of the SAML authentication service provider.
- default
Role string - The role to use if no role is provided during login.
- disable
Remount boolean - If set to
true, opts out of mount migration on path updates. See here for more info on Mount Migration - idp
Cert string - The PEM encoded certificate of the identity provider. Mutually exclusive
with
idp_metadata_url. - idp
Entity stringId - The entity ID of the identity provider. Mutually exclusive with
idp_metadata_url. - idp
Metadata stringUrl - The metadata URL of the identity provider.
- idp
Sso stringUrl - The SSO URL of the identity provider. Mutually exclusive with
idp_metadata_url. - namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise. - path string
- Path where the auth backend will be mounted. Defaults to
auth/samlif not specified. - tune
Auth
Backend Tune Extra configuration block. Structure is documented below.
The
tuneblock is used to tune the auth backend:- verbose
Logging boolean - If set to
true, logs additional, potentially sensitive information during the SAML exchange according to the current logging level. Not recommended for production.
- acs_
urls Sequence[str] - The well-formatted URLs of your Assertion Consumer Service (ACS) that should receive a response from the identity provider.
- entity_
id str - The entity ID of the SAML authentication service provider.
- default_
role str - The role to use if no role is provided during login.
- disable_
remount bool - If set to
true, opts out of mount migration on path updates. See here for more info on Mount Migration - idp_
cert str - The PEM encoded certificate of the identity provider. Mutually exclusive
with
idp_metadata_url. - idp_
entity_ strid - The entity ID of the identity provider. Mutually exclusive with
idp_metadata_url. - idp_
metadata_ strurl - The metadata URL of the identity provider.
- idp_
sso_ strurl - The SSO URL of the identity provider. Mutually exclusive with
idp_metadata_url. - namespace str
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise. - path str
- Path where the auth backend will be mounted. Defaults to
auth/samlif not specified. - tune
Auth
Backend Tune Args Extra configuration block. Structure is documented below.
The
tuneblock is used to tune the auth backend:- verbose_
logging bool - If set to
true, logs additional, potentially sensitive information during the SAML exchange according to the current logging level. Not recommended for production.
- acs
Urls List<String> - The well-formatted URLs of your Assertion Consumer Service (ACS) that should receive a response from the identity provider.
- entity
Id String - The entity ID of the SAML authentication service provider.
- default
Role String - The role to use if no role is provided during login.
- disable
Remount Boolean - If set to
true, opts out of mount migration on path updates. See here for more info on Mount Migration - idp
Cert String - The PEM encoded certificate of the identity provider. Mutually exclusive
with
idp_metadata_url. - idp
Entity StringId - The entity ID of the identity provider. Mutually exclusive with
idp_metadata_url. - idp
Metadata StringUrl - The metadata URL of the identity provider.
- idp
Sso StringUrl - The SSO URL of the identity provider. Mutually exclusive with
idp_metadata_url. - namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise. - path String
- Path where the auth backend will be mounted. Defaults to
auth/samlif not specified. - tune Property Map
Extra configuration block. Structure is documented below.
The
tuneblock is used to tune the auth backend:- verbose
Logging Boolean - If set to
true, logs additional, potentially sensitive information during the SAML exchange according to the current logging level. Not recommended for production.
Outputs
All input properties are implicitly available as output properties. Additionally, the AuthBackend 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 AuthBackend Resource
Get an existing AuthBackend 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?: AuthBackendState, opts?: CustomResourceOptions): AuthBackend@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
acs_urls: Optional[Sequence[str]] = None,
default_role: Optional[str] = None,
disable_remount: Optional[bool] = None,
entity_id: Optional[str] = None,
idp_cert: Optional[str] = None,
idp_entity_id: Optional[str] = None,
idp_metadata_url: Optional[str] = None,
idp_sso_url: Optional[str] = None,
namespace: Optional[str] = None,
path: Optional[str] = None,
tune: Optional[AuthBackendTuneArgs] = None,
verbose_logging: Optional[bool] = None) -> AuthBackendfunc GetAuthBackend(ctx *Context, name string, id IDInput, state *AuthBackendState, opts ...ResourceOption) (*AuthBackend, error)public static AuthBackend Get(string name, Input<string> id, AuthBackendState? state, CustomResourceOptions? opts = null)public static AuthBackend get(String name, Output<String> id, AuthBackendState state, CustomResourceOptions options)resources: _: type: vault:saml:AuthBackend get: 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.
- Acs
Urls List<string> - The well-formatted URLs of your Assertion Consumer Service (ACS) that should receive a response from the identity provider.
- Default
Role string - The role to use if no role is provided during login.
- Disable
Remount bool - If set to
true, opts out of mount migration on path updates. See here for more info on Mount Migration - Entity
Id string - The entity ID of the SAML authentication service provider.
- Idp
Cert string - The PEM encoded certificate of the identity provider. Mutually exclusive
with
idp_metadata_url. - Idp
Entity stringId - The entity ID of the identity provider. Mutually exclusive with
idp_metadata_url. - Idp
Metadata stringUrl - The metadata URL of the identity provider.
- Idp
Sso stringUrl - The SSO URL of the identity provider. Mutually exclusive with
idp_metadata_url. - Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise. - Path string
- Path where the auth backend will be mounted. Defaults to
auth/samlif not specified. - Tune
Auth
Backend Tune Extra configuration block. Structure is documented below.
The
tuneblock is used to tune the auth backend:- Verbose
Logging bool - If set to
true, logs additional, potentially sensitive information during the SAML exchange according to the current logging level. Not recommended for production.
- Acs
Urls []string - The well-formatted URLs of your Assertion Consumer Service (ACS) that should receive a response from the identity provider.
- Default
Role string - The role to use if no role is provided during login.
- Disable
Remount bool - If set to
true, opts out of mount migration on path updates. See here for more info on Mount Migration - Entity
Id string - The entity ID of the SAML authentication service provider.
- Idp
Cert string - The PEM encoded certificate of the identity provider. Mutually exclusive
with
idp_metadata_url. - Idp
Entity stringId - The entity ID of the identity provider. Mutually exclusive with
idp_metadata_url. - Idp
Metadata stringUrl - The metadata URL of the identity provider.
- Idp
Sso stringUrl - The SSO URL of the identity provider. Mutually exclusive with
idp_metadata_url. - Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise. - Path string
- Path where the auth backend will be mounted. Defaults to
auth/samlif not specified. - Tune
Auth
Backend Tune Args Extra configuration block. Structure is documented below.
The
tuneblock is used to tune the auth backend:- Verbose
Logging bool - If set to
true, logs additional, potentially sensitive information during the SAML exchange according to the current logging level. Not recommended for production.
- acs
Urls List<String> - The well-formatted URLs of your Assertion Consumer Service (ACS) that should receive a response from the identity provider.
- default
Role String - The role to use if no role is provided during login.
- disable
Remount Boolean - If set to
true, opts out of mount migration on path updates. See here for more info on Mount Migration - entity
Id String - The entity ID of the SAML authentication service provider.
- idp
Cert String - The PEM encoded certificate of the identity provider. Mutually exclusive
with
idp_metadata_url. - idp
Entity StringId - The entity ID of the identity provider. Mutually exclusive with
idp_metadata_url. - idp
Metadata StringUrl - The metadata URL of the identity provider.
- idp
Sso StringUrl - The SSO URL of the identity provider. Mutually exclusive with
idp_metadata_url. - namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise. - path String
- Path where the auth backend will be mounted. Defaults to
auth/samlif not specified. - tune
Auth
Backend Tune Extra configuration block. Structure is documented below.
The
tuneblock is used to tune the auth backend:- verbose
Logging Boolean - If set to
true, logs additional, potentially sensitive information during the SAML exchange according to the current logging level. Not recommended for production.
- acs
Urls string[] - The well-formatted URLs of your Assertion Consumer Service (ACS) that should receive a response from the identity provider.
- default
Role string - The role to use if no role is provided during login.
- disable
Remount boolean - If set to
true, opts out of mount migration on path updates. See here for more info on Mount Migration - entity
Id string - The entity ID of the SAML authentication service provider.
- idp
Cert string - The PEM encoded certificate of the identity provider. Mutually exclusive
with
idp_metadata_url. - idp
Entity stringId - The entity ID of the identity provider. Mutually exclusive with
idp_metadata_url. - idp
Metadata stringUrl - The metadata URL of the identity provider.
- idp
Sso stringUrl - The SSO URL of the identity provider. Mutually exclusive with
idp_metadata_url. - namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise. - path string
- Path where the auth backend will be mounted. Defaults to
auth/samlif not specified. - tune
Auth
Backend Tune Extra configuration block. Structure is documented below.
The
tuneblock is used to tune the auth backend:- verbose
Logging boolean - If set to
true, logs additional, potentially sensitive information during the SAML exchange according to the current logging level. Not recommended for production.
- acs_
urls Sequence[str] - The well-formatted URLs of your Assertion Consumer Service (ACS) that should receive a response from the identity provider.
- default_
role str - The role to use if no role is provided during login.
- disable_
remount bool - If set to
true, opts out of mount migration on path updates. See here for more info on Mount Migration - entity_
id str - The entity ID of the SAML authentication service provider.
- idp_
cert str - The PEM encoded certificate of the identity provider. Mutually exclusive
with
idp_metadata_url. - idp_
entity_ strid - The entity ID of the identity provider. Mutually exclusive with
idp_metadata_url. - idp_
metadata_ strurl - The metadata URL of the identity provider.
- idp_
sso_ strurl - The SSO URL of the identity provider. Mutually exclusive with
idp_metadata_url. - namespace str
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise. - path str
- Path where the auth backend will be mounted. Defaults to
auth/samlif not specified. - tune
Auth
Backend Tune Args Extra configuration block. Structure is documented below.
The
tuneblock is used to tune the auth backend:- verbose_
logging bool - If set to
true, logs additional, potentially sensitive information during the SAML exchange according to the current logging level. Not recommended for production.
- acs
Urls List<String> - The well-formatted URLs of your Assertion Consumer Service (ACS) that should receive a response from the identity provider.
- default
Role String - The role to use if no role is provided during login.
- disable
Remount Boolean - If set to
true, opts out of mount migration on path updates. See here for more info on Mount Migration - entity
Id String - The entity ID of the SAML authentication service provider.
- idp
Cert String - The PEM encoded certificate of the identity provider. Mutually exclusive
with
idp_metadata_url. - idp
Entity StringId - The entity ID of the identity provider. Mutually exclusive with
idp_metadata_url. - idp
Metadata StringUrl - The metadata URL of the identity provider.
- idp
Sso StringUrl - The SSO URL of the identity provider. Mutually exclusive with
idp_metadata_url. - namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. Available only for Vault Enterprise. - path String
- Path where the auth backend will be mounted. Defaults to
auth/samlif not specified. - tune Property Map
Extra configuration block. Structure is documented below.
The
tuneblock is used to tune the auth backend:- verbose
Logging Boolean - If set to
true, logs additional, potentially sensitive information during the SAML exchange according to the current logging level. Not recommended for production.
Supporting Types
AuthBackendTune, AuthBackendTuneArgs
- Allowed
Response List<string>Headers - List of headers to whitelist and allowing a plugin to include them in the response.
- Audit
Non List<string>Hmac Request Keys - Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
- Audit
Non List<string>Hmac Response Keys - Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
- Default
Lease stringTtl - Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
- Listing
Visibility string - Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
- Max
Lease stringTtl - Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
- Passthrough
Request List<string>Headers - List of headers to whitelist and pass from the request to the backend.
- Token
Type string - Specifies the type of tokens that should be returned by the mount. Valid values are "default-service", "default-batch", "service", "batch".
- Allowed
Response []stringHeaders - List of headers to whitelist and allowing a plugin to include them in the response.
- Audit
Non []stringHmac Request Keys - Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
- Audit
Non []stringHmac Response Keys - Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
- Default
Lease stringTtl - Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
- Listing
Visibility string - Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
- Max
Lease stringTtl - Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
- Passthrough
Request []stringHeaders - List of headers to whitelist and pass from the request to the backend.
- Token
Type string - Specifies the type of tokens that should be returned by the mount. Valid values are "default-service", "default-batch", "service", "batch".
- allowed
Response List<String>Headers - List of headers to whitelist and allowing a plugin to include them in the response.
- audit
Non List<String>Hmac Request Keys - Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
- audit
Non List<String>Hmac Response Keys - Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
- default
Lease StringTtl - Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
- listing
Visibility String - Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
- max
Lease StringTtl - Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
- passthrough
Request List<String>Headers - List of headers to whitelist and pass from the request to the backend.
- token
Type String - Specifies the type of tokens that should be returned by the mount. Valid values are "default-service", "default-batch", "service", "batch".
- allowed
Response string[]Headers - List of headers to whitelist and allowing a plugin to include them in the response.
- audit
Non string[]Hmac Request Keys - Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
- audit
Non string[]Hmac Response Keys - Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
- default
Lease stringTtl - Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
- listing
Visibility string - Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
- max
Lease stringTtl - Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
- passthrough
Request string[]Headers - List of headers to whitelist and pass from the request to the backend.
- token
Type string - Specifies the type of tokens that should be returned by the mount. Valid values are "default-service", "default-batch", "service", "batch".
- allowed_
response_ Sequence[str]headers - List of headers to whitelist and allowing a plugin to include them in the response.
- audit_
non_ Sequence[str]hmac_ request_ keys - Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
- audit_
non_ Sequence[str]hmac_ response_ keys - Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
- default_
lease_ strttl - Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
- listing_
visibility str - Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
- max_
lease_ strttl - Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
- passthrough_
request_ Sequence[str]headers - List of headers to whitelist and pass from the request to the backend.
- token_
type str - Specifies the type of tokens that should be returned by the mount. Valid values are "default-service", "default-batch", "service", "batch".
- allowed
Response List<String>Headers - List of headers to whitelist and allowing a plugin to include them in the response.
- audit
Non List<String>Hmac Request Keys - Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
- audit
Non List<String>Hmac Response Keys - Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
- default
Lease StringTtl - Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
- listing
Visibility String - Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
- max
Lease StringTtl - Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
- passthrough
Request List<String>Headers - List of headers to whitelist and pass from the request to the backend.
- token
Type String - Specifies the type of tokens that should be returned by the mount. Valid values are "default-service", "default-batch", "service", "batch".
Import
SAML authentication mounts can be imported using the path, e.g.
$ pulumi import vault:saml/authBackend:AuthBackend example saml
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Vault pulumi/pulumi-vault
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vaultTerraform Provider.
