1. Packages
  2. Akeyless Provider
  3. API Docs
  4. AuthMethodSaml
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

akeyless.AuthMethodSaml

Explore with Pulumi AI

SAML Auth Method Resource

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as akeyless from "@pulumi/akeyless";
import * as fs from "fs";

const samlAuth = new akeyless.AuthMethodSaml("samlAuth", {
    uniqueIdentifier: "email",
    idpMetadataXmlData: fs.readFileSync("saml-metadata.xml", "utf8"),
});
Copy
import pulumi
import pulumi_akeyless as akeyless

saml_auth = akeyless.AuthMethodSaml("samlAuth",
    unique_identifier="email",
    idp_metadata_xml_data=(lambda path: open(path).read())("saml-metadata.xml"))
Copy
package main

import (
	"os"

	"github.com/pulumi/pulumi-terraform-provider/sdks/go/akeyless/akeyless"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := os.ReadFile(path)
	if err != nil {
		panic(err.Error())
	}
	return pulumi.String(string(data))
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := akeyless.NewAuthMethodSaml(ctx, "samlAuth", &akeyless.AuthMethodSamlArgs{
			UniqueIdentifier:   pulumi.String("email"),
			IdpMetadataXmlData: pulumi.String(readFileOrPanic("saml-metadata.xml")),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Pulumi;
using Akeyless = Pulumi.Akeyless;

return await Deployment.RunAsync(() => 
{
    var samlAuth = new Akeyless.AuthMethodSaml("samlAuth", new()
    {
        UniqueIdentifier = "email",
        IdpMetadataXmlData = File.ReadAllText("saml-metadata.xml"),
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.akeyless.AuthMethodSaml;
import com.pulumi.akeyless.AuthMethodSamlArgs;
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 samlAuth = new AuthMethodSaml("samlAuth", AuthMethodSamlArgs.builder()
            .uniqueIdentifier("email")
            .idpMetadataXmlData(Files.readString(Paths.get("saml-metadata.xml")))
            .build());

    }
}
Copy
resources:
  samlAuth:
    type: akeyless:AuthMethodSaml
    properties:
      uniqueIdentifier: email
      idpMetadataXmlData:
        fn::readFile: saml-metadata.xml
Copy

Create AuthMethodSaml Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AuthMethodSaml(name: string, args: AuthMethodSamlArgs, opts?: CustomResourceOptions);
@overload
def AuthMethodSaml(resource_name: str,
                   args: AuthMethodSamlInitArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def AuthMethodSaml(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   unique_identifier: Optional[str] = None,
                   access_expires: Optional[float] = None,
                   allowed_redirect_uris: Optional[Sequence[str]] = None,
                   audit_logs_claims: Optional[Sequence[str]] = None,
                   auth_method_saml_id: Optional[str] = None,
                   bound_ips: Optional[Sequence[str]] = None,
                   delete_protection: Optional[str] = None,
                   force_sub_claims: Optional[bool] = None,
                   idp_metadata_url: Optional[str] = None,
                   idp_metadata_xml_data: Optional[str] = None,
                   jwt_ttl: Optional[float] = None,
                   name: Optional[str] = None)
func NewAuthMethodSaml(ctx *Context, name string, args AuthMethodSamlArgs, opts ...ResourceOption) (*AuthMethodSaml, error)
public AuthMethodSaml(string name, AuthMethodSamlArgs args, CustomResourceOptions? opts = null)
public AuthMethodSaml(String name, AuthMethodSamlArgs args)
public AuthMethodSaml(String name, AuthMethodSamlArgs args, CustomResourceOptions options)
type: akeyless:AuthMethodSaml
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AuthMethodSamlArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AuthMethodSamlInitArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AuthMethodSamlArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AuthMethodSamlArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AuthMethodSamlArgs
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 authMethodSamlResource = new Akeyless.AuthMethodSaml("authMethodSamlResource", new()
{
    UniqueIdentifier = "string",
    AccessExpires = 0,
    AllowedRedirectUris = new[]
    {
        "string",
    },
    AuditLogsClaims = new[]
    {
        "string",
    },
    AuthMethodSamlId = "string",
    BoundIps = new[]
    {
        "string",
    },
    DeleteProtection = "string",
    ForceSubClaims = false,
    IdpMetadataUrl = "string",
    IdpMetadataXmlData = "string",
    JwtTtl = 0,
    Name = "string",
});
Copy
example, err := akeyless.NewAuthMethodSaml(ctx, "authMethodSamlResource", &akeyless.AuthMethodSamlArgs{
UniqueIdentifier: pulumi.String("string"),
AccessExpires: pulumi.Float64(0),
AllowedRedirectUris: pulumi.StringArray{
pulumi.String("string"),
},
AuditLogsClaims: pulumi.StringArray{
pulumi.String("string"),
},
AuthMethodSamlId: pulumi.String("string"),
BoundIps: pulumi.StringArray{
pulumi.String("string"),
},
DeleteProtection: pulumi.String("string"),
ForceSubClaims: pulumi.Bool(false),
IdpMetadataUrl: pulumi.String("string"),
IdpMetadataXmlData: pulumi.String("string"),
JwtTtl: pulumi.Float64(0),
Name: pulumi.String("string"),
})
Copy
var authMethodSamlResource = new AuthMethodSaml("authMethodSamlResource", AuthMethodSamlArgs.builder()
    .uniqueIdentifier("string")
    .accessExpires(0)
    .allowedRedirectUris("string")
    .auditLogsClaims("string")
    .authMethodSamlId("string")
    .boundIps("string")
    .deleteProtection("string")
    .forceSubClaims(false)
    .idpMetadataUrl("string")
    .idpMetadataXmlData("string")
    .jwtTtl(0)
    .name("string")
    .build());
Copy
auth_method_saml_resource = akeyless.AuthMethodSaml("authMethodSamlResource",
    unique_identifier="string",
    access_expires=0,
    allowed_redirect_uris=["string"],
    audit_logs_claims=["string"],
    auth_method_saml_id="string",
    bound_ips=["string"],
    delete_protection="string",
    force_sub_claims=False,
    idp_metadata_url="string",
    idp_metadata_xml_data="string",
    jwt_ttl=0,
    name="string")
Copy
const authMethodSamlResource = new akeyless.AuthMethodSaml("authMethodSamlResource", {
    uniqueIdentifier: "string",
    accessExpires: 0,
    allowedRedirectUris: ["string"],
    auditLogsClaims: ["string"],
    authMethodSamlId: "string",
    boundIps: ["string"],
    deleteProtection: "string",
    forceSubClaims: false,
    idpMetadataUrl: "string",
    idpMetadataXmlData: "string",
    jwtTtl: 0,
    name: "string",
});
Copy
type: akeyless:AuthMethodSaml
properties:
    accessExpires: 0
    allowedRedirectUris:
        - string
    auditLogsClaims:
        - string
    authMethodSamlId: string
    boundIps:
        - string
    deleteProtection: string
    forceSubClaims: false
    idpMetadataUrl: string
    idpMetadataXmlData: string
    jwtTtl: 0
    name: string
    uniqueIdentifier: string
Copy

AuthMethodSaml 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 AuthMethodSaml resource accepts the following input properties:

UniqueIdentifier This property is required. string
A unique identifier (ID) value should be configured for OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
AccessExpires double
Access expiration date in Unix timestamp (select 0 for access without expiry date)
AllowedRedirectUris List<string>
Allowed redirect URIs after the authentication (default is https://console.akeyless.io/login-saml to enable SAML via Akeyless Console and http://127.0.0.1:* to enable SAML via akeyless CLI)
AuditLogsClaims List<string>
Subclaims to include in audit logs
AuthMethodSamlId string
The ID of this resource.
BoundIps List<string>
A CIDR whitelist with the IPs that the access is restricted to
DeleteProtection string
Protection from accidental deletion of this auth method, [true/false]
ForceSubClaims bool
enforce role-association must include sub claims
IdpMetadataUrl string
IDP metadata url
IdpMetadataXmlData string
IDP metadata xml data for saml authentication
JwtTtl double
Creds expiration time in minutes
Name string
Auth Method name
UniqueIdentifier This property is required. string
A unique identifier (ID) value should be configured for OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
AccessExpires float64
Access expiration date in Unix timestamp (select 0 for access without expiry date)
AllowedRedirectUris []string
Allowed redirect URIs after the authentication (default is https://console.akeyless.io/login-saml to enable SAML via Akeyless Console and http://127.0.0.1:* to enable SAML via akeyless CLI)
AuditLogsClaims []string
Subclaims to include in audit logs
AuthMethodSamlId string
The ID of this resource.
BoundIps []string
A CIDR whitelist with the IPs that the access is restricted to
DeleteProtection string
Protection from accidental deletion of this auth method, [true/false]
ForceSubClaims bool
enforce role-association must include sub claims
IdpMetadataUrl string
IDP metadata url
IdpMetadataXmlData string
IDP metadata xml data for saml authentication
JwtTtl float64
Creds expiration time in minutes
Name string
Auth Method name
uniqueIdentifier This property is required. String
A unique identifier (ID) value should be configured for OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
accessExpires Double
Access expiration date in Unix timestamp (select 0 for access without expiry date)
allowedRedirectUris List<String>
Allowed redirect URIs after the authentication (default is https://console.akeyless.io/login-saml to enable SAML via Akeyless Console and http://127.0.0.1:* to enable SAML via akeyless CLI)
auditLogsClaims List<String>
Subclaims to include in audit logs
authMethodSamlId String
The ID of this resource.
boundIps List<String>
A CIDR whitelist with the IPs that the access is restricted to
deleteProtection String
Protection from accidental deletion of this auth method, [true/false]
forceSubClaims Boolean
enforce role-association must include sub claims
idpMetadataUrl String
IDP metadata url
idpMetadataXmlData String
IDP metadata xml data for saml authentication
jwtTtl Double
Creds expiration time in minutes
name String
Auth Method name
uniqueIdentifier This property is required. string
A unique identifier (ID) value should be configured for OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
accessExpires number
Access expiration date in Unix timestamp (select 0 for access without expiry date)
allowedRedirectUris string[]
Allowed redirect URIs after the authentication (default is https://console.akeyless.io/login-saml to enable SAML via Akeyless Console and http://127.0.0.1:* to enable SAML via akeyless CLI)
auditLogsClaims string[]
Subclaims to include in audit logs
authMethodSamlId string
The ID of this resource.
boundIps string[]
A CIDR whitelist with the IPs that the access is restricted to
deleteProtection string
Protection from accidental deletion of this auth method, [true/false]
forceSubClaims boolean
enforce role-association must include sub claims
idpMetadataUrl string
IDP metadata url
idpMetadataXmlData string
IDP metadata xml data for saml authentication
jwtTtl number
Creds expiration time in minutes
name string
Auth Method name
unique_identifier This property is required. str
A unique identifier (ID) value should be configured for OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
access_expires float
Access expiration date in Unix timestamp (select 0 for access without expiry date)
allowed_redirect_uris Sequence[str]
Allowed redirect URIs after the authentication (default is https://console.akeyless.io/login-saml to enable SAML via Akeyless Console and http://127.0.0.1:* to enable SAML via akeyless CLI)
audit_logs_claims Sequence[str]
Subclaims to include in audit logs
auth_method_saml_id str
The ID of this resource.
bound_ips Sequence[str]
A CIDR whitelist with the IPs that the access is restricted to
delete_protection str
Protection from accidental deletion of this auth method, [true/false]
force_sub_claims bool
enforce role-association must include sub claims
idp_metadata_url str
IDP metadata url
idp_metadata_xml_data str
IDP metadata xml data for saml authentication
jwt_ttl float
Creds expiration time in minutes
name str
Auth Method name
uniqueIdentifier This property is required. String
A unique identifier (ID) value should be configured for OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
accessExpires Number
Access expiration date in Unix timestamp (select 0 for access without expiry date)
allowedRedirectUris List<String>
Allowed redirect URIs after the authentication (default is https://console.akeyless.io/login-saml to enable SAML via Akeyless Console and http://127.0.0.1:* to enable SAML via akeyless CLI)
auditLogsClaims List<String>
Subclaims to include in audit logs
authMethodSamlId String
The ID of this resource.
boundIps List<String>
A CIDR whitelist with the IPs that the access is restricted to
deleteProtection String
Protection from accidental deletion of this auth method, [true/false]
forceSubClaims Boolean
enforce role-association must include sub claims
idpMetadataUrl String
IDP metadata url
idpMetadataXmlData String
IDP metadata xml data for saml authentication
jwtTtl Number
Creds expiration time in minutes
name String
Auth Method name

Outputs

All input properties are implicitly available as output properties. Additionally, the AuthMethodSaml resource produces the following output properties:

AccessId string
Auth Method access ID
Id string
The provider-assigned unique ID for this managed resource.
AccessId string
Auth Method access ID
Id string
The provider-assigned unique ID for this managed resource.
accessId String
Auth Method access ID
id String
The provider-assigned unique ID for this managed resource.
accessId string
Auth Method access ID
id string
The provider-assigned unique ID for this managed resource.
access_id str
Auth Method access ID
id str
The provider-assigned unique ID for this managed resource.
accessId String
Auth Method access ID
id String
The provider-assigned unique ID for this managed resource.

Look up Existing AuthMethodSaml Resource

Get an existing AuthMethodSaml 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?: AuthMethodSamlState, opts?: CustomResourceOptions): AuthMethodSaml
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        access_expires: Optional[float] = None,
        access_id: Optional[str] = None,
        allowed_redirect_uris: Optional[Sequence[str]] = None,
        audit_logs_claims: Optional[Sequence[str]] = None,
        auth_method_saml_id: Optional[str] = None,
        bound_ips: Optional[Sequence[str]] = None,
        delete_protection: Optional[str] = None,
        force_sub_claims: Optional[bool] = None,
        idp_metadata_url: Optional[str] = None,
        idp_metadata_xml_data: Optional[str] = None,
        jwt_ttl: Optional[float] = None,
        name: Optional[str] = None,
        unique_identifier: Optional[str] = None) -> AuthMethodSaml
func GetAuthMethodSaml(ctx *Context, name string, id IDInput, state *AuthMethodSamlState, opts ...ResourceOption) (*AuthMethodSaml, error)
public static AuthMethodSaml Get(string name, Input<string> id, AuthMethodSamlState? state, CustomResourceOptions? opts = null)
public static AuthMethodSaml get(String name, Output<String> id, AuthMethodSamlState state, CustomResourceOptions options)
resources:  _:    type: akeyless:AuthMethodSaml    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
AccessExpires double
Access expiration date in Unix timestamp (select 0 for access without expiry date)
AccessId string
Auth Method access ID
AllowedRedirectUris List<string>
Allowed redirect URIs after the authentication (default is https://console.akeyless.io/login-saml to enable SAML via Akeyless Console and http://127.0.0.1:* to enable SAML via akeyless CLI)
AuditLogsClaims List<string>
Subclaims to include in audit logs
AuthMethodSamlId string
The ID of this resource.
BoundIps List<string>
A CIDR whitelist with the IPs that the access is restricted to
DeleteProtection string
Protection from accidental deletion of this auth method, [true/false]
ForceSubClaims bool
enforce role-association must include sub claims
IdpMetadataUrl string
IDP metadata url
IdpMetadataXmlData string
IDP metadata xml data for saml authentication
JwtTtl double
Creds expiration time in minutes
Name string
Auth Method name
UniqueIdentifier string
A unique identifier (ID) value should be configured for OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
AccessExpires float64
Access expiration date in Unix timestamp (select 0 for access without expiry date)
AccessId string
Auth Method access ID
AllowedRedirectUris []string
Allowed redirect URIs after the authentication (default is https://console.akeyless.io/login-saml to enable SAML via Akeyless Console and http://127.0.0.1:* to enable SAML via akeyless CLI)
AuditLogsClaims []string
Subclaims to include in audit logs
AuthMethodSamlId string
The ID of this resource.
BoundIps []string
A CIDR whitelist with the IPs that the access is restricted to
DeleteProtection string
Protection from accidental deletion of this auth method, [true/false]
ForceSubClaims bool
enforce role-association must include sub claims
IdpMetadataUrl string
IDP metadata url
IdpMetadataXmlData string
IDP metadata xml data for saml authentication
JwtTtl float64
Creds expiration time in minutes
Name string
Auth Method name
UniqueIdentifier string
A unique identifier (ID) value should be configured for OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
accessExpires Double
Access expiration date in Unix timestamp (select 0 for access without expiry date)
accessId String
Auth Method access ID
allowedRedirectUris List<String>
Allowed redirect URIs after the authentication (default is https://console.akeyless.io/login-saml to enable SAML via Akeyless Console and http://127.0.0.1:* to enable SAML via akeyless CLI)
auditLogsClaims List<String>
Subclaims to include in audit logs
authMethodSamlId String
The ID of this resource.
boundIps List<String>
A CIDR whitelist with the IPs that the access is restricted to
deleteProtection String
Protection from accidental deletion of this auth method, [true/false]
forceSubClaims Boolean
enforce role-association must include sub claims
idpMetadataUrl String
IDP metadata url
idpMetadataXmlData String
IDP metadata xml data for saml authentication
jwtTtl Double
Creds expiration time in minutes
name String
Auth Method name
uniqueIdentifier String
A unique identifier (ID) value should be configured for OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
accessExpires number
Access expiration date in Unix timestamp (select 0 for access without expiry date)
accessId string
Auth Method access ID
allowedRedirectUris string[]
Allowed redirect URIs after the authentication (default is https://console.akeyless.io/login-saml to enable SAML via Akeyless Console and http://127.0.0.1:* to enable SAML via akeyless CLI)
auditLogsClaims string[]
Subclaims to include in audit logs
authMethodSamlId string
The ID of this resource.
boundIps string[]
A CIDR whitelist with the IPs that the access is restricted to
deleteProtection string
Protection from accidental deletion of this auth method, [true/false]
forceSubClaims boolean
enforce role-association must include sub claims
idpMetadataUrl string
IDP metadata url
idpMetadataXmlData string
IDP metadata xml data for saml authentication
jwtTtl number
Creds expiration time in minutes
name string
Auth Method name
uniqueIdentifier string
A unique identifier (ID) value should be configured for OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
access_expires float
Access expiration date in Unix timestamp (select 0 for access without expiry date)
access_id str
Auth Method access ID
allowed_redirect_uris Sequence[str]
Allowed redirect URIs after the authentication (default is https://console.akeyless.io/login-saml to enable SAML via Akeyless Console and http://127.0.0.1:* to enable SAML via akeyless CLI)
audit_logs_claims Sequence[str]
Subclaims to include in audit logs
auth_method_saml_id str
The ID of this resource.
bound_ips Sequence[str]
A CIDR whitelist with the IPs that the access is restricted to
delete_protection str
Protection from accidental deletion of this auth method, [true/false]
force_sub_claims bool
enforce role-association must include sub claims
idp_metadata_url str
IDP metadata url
idp_metadata_xml_data str
IDP metadata xml data for saml authentication
jwt_ttl float
Creds expiration time in minutes
name str
Auth Method name
unique_identifier str
A unique identifier (ID) value should be configured for OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
accessExpires Number
Access expiration date in Unix timestamp (select 0 for access without expiry date)
accessId String
Auth Method access ID
allowedRedirectUris List<String>
Allowed redirect URIs after the authentication (default is https://console.akeyless.io/login-saml to enable SAML via Akeyless Console and http://127.0.0.1:* to enable SAML via akeyless CLI)
auditLogsClaims List<String>
Subclaims to include in audit logs
authMethodSamlId String
The ID of this resource.
boundIps List<String>
A CIDR whitelist with the IPs that the access is restricted to
deleteProtection String
Protection from accidental deletion of this auth method, [true/false]
forceSubClaims Boolean
enforce role-association must include sub claims
idpMetadataUrl String
IDP metadata url
idpMetadataXmlData String
IDP metadata xml data for saml authentication
jwtTtl Number
Creds expiration time in minutes
name String
Auth Method name
uniqueIdentifier String
A unique identifier (ID) value should be configured for OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.

Import

$ pulumi import akeyless:index/authMethodSaml:AuthMethodSaml example /full-auth-method-saml-path/and-name-in-akeyless
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
akeyless akeyless-community/terraform-provider-akeyless
License
Notes
This Pulumi package is based on the akeyless Terraform Provider.