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"),
});
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"))
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
})
}
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"),
});
});
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());
}
}
resources:
samlAuth:
type: akeyless:AuthMethodSaml
properties:
uniqueIdentifier: email
idpMetadataXmlData:
fn::readFile: saml-metadata.xml
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 string
- The unique name of the resource.
- args AuthMethodSamlArgs
- 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 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 string
- The unique name of the resource.
- args AuthMethodSamlArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthMethodSamlArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
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
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:
- Unique
Identifier 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 double - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- Allowed
Redirect List<string>Uris - 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 List<string>Claims - Subclaims to include in audit logs
- Auth
Method stringSaml Id - The ID of this resource.
- Bound
Ips List<string> - A CIDR whitelist with the IPs that the access is restricted to
- Delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- Force
Sub boolClaims - enforce role-association must include sub claims
- Idp
Metadata stringUrl - IDP metadata url
- Idp
Metadata stringXml Data - IDP metadata xml data for saml authentication
- Jwt
Ttl double - Creds expiration time in minutes
- Name string
- Auth Method name
- Unique
Identifier 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 float64 - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- Allowed
Redirect []stringUris - 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 []stringClaims - Subclaims to include in audit logs
- Auth
Method stringSaml Id - The ID of this resource.
- Bound
Ips []string - A CIDR whitelist with the IPs that the access is restricted to
- Delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- Force
Sub boolClaims - enforce role-association must include sub claims
- Idp
Metadata stringUrl - IDP metadata url
- Idp
Metadata stringXml Data - IDP metadata xml data for saml authentication
- Jwt
Ttl float64 - Creds expiration time in minutes
- Name string
- Auth Method name
- unique
Identifier 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 Double - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- allowed
Redirect List<String>Uris - 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 List<String>Claims - Subclaims to include in audit logs
- auth
Method StringSaml Id - The ID of this resource.
- bound
Ips List<String> - A CIDR whitelist with the IPs that the access is restricted to
- delete
Protection String - Protection from accidental deletion of this auth method, [true/false]
- force
Sub BooleanClaims - enforce role-association must include sub claims
- idp
Metadata StringUrl - IDP metadata url
- idp
Metadata StringXml Data - IDP metadata xml data for saml authentication
- jwt
Ttl Double - Creds expiration time in minutes
- name String
- Auth Method name
- unique
Identifier 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 number - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- allowed
Redirect string[]Uris - 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 string[]Claims - Subclaims to include in audit logs
- auth
Method stringSaml Id - The ID of this resource.
- bound
Ips string[] - A CIDR whitelist with the IPs that the access is restricted to
- delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- force
Sub booleanClaims - enforce role-association must include sub claims
- idp
Metadata stringUrl - IDP metadata url
- idp
Metadata stringXml Data - IDP metadata xml data for saml authentication
- jwt
Ttl number - Creds expiration time in minutes
- name string
- 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.
- access_
expires float - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- allowed_
redirect_ Sequence[str]uris - 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_ Sequence[str]claims - Subclaims to include in audit logs
- auth_
method_ strsaml_ id - 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_ boolclaims - enforce role-association must include sub claims
- idp_
metadata_ strurl - IDP metadata url
- idp_
metadata_ strxml_ data - IDP metadata xml data for saml authentication
- jwt_
ttl float - Creds expiration time in minutes
- name str
- Auth Method name
- unique
Identifier 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 Number - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- allowed
Redirect List<String>Uris - 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 List<String>Claims - Subclaims to include in audit logs
- auth
Method StringSaml Id - The ID of this resource.
- bound
Ips List<String> - A CIDR whitelist with the IPs that the access is restricted to
- delete
Protection String - Protection from accidental deletion of this auth method, [true/false]
- force
Sub BooleanClaims - enforce role-association must include sub claims
- idp
Metadata StringUrl - IDP metadata url
- idp
Metadata StringXml Data - IDP metadata xml data for saml authentication
- jwt
Ttl 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:
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
- 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.
- Access
Expires double - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- Access
Id string - Auth Method access ID
- Allowed
Redirect List<string>Uris - 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 List<string>Claims - Subclaims to include in audit logs
- Auth
Method stringSaml Id - The ID of this resource.
- Bound
Ips List<string> - A CIDR whitelist with the IPs that the access is restricted to
- Delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- Force
Sub boolClaims - enforce role-association must include sub claims
- Idp
Metadata stringUrl - IDP metadata url
- Idp
Metadata stringXml Data - IDP metadata xml data for saml authentication
- Jwt
Ttl double - Creds expiration time in minutes
- Name string
- Auth Method name
- Unique
Identifier 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 float64 - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- Access
Id string - Auth Method access ID
- Allowed
Redirect []stringUris - 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 []stringClaims - Subclaims to include in audit logs
- Auth
Method stringSaml Id - The ID of this resource.
- Bound
Ips []string - A CIDR whitelist with the IPs that the access is restricted to
- Delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- Force
Sub boolClaims - enforce role-association must include sub claims
- Idp
Metadata stringUrl - IDP metadata url
- Idp
Metadata stringXml Data - IDP metadata xml data for saml authentication
- Jwt
Ttl float64 - Creds expiration time in minutes
- Name string
- Auth Method name
- Unique
Identifier 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 Double - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- access
Id String - Auth Method access ID
- allowed
Redirect List<String>Uris - 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 List<String>Claims - Subclaims to include in audit logs
- auth
Method StringSaml Id - The ID of this resource.
- bound
Ips List<String> - A CIDR whitelist with the IPs that the access is restricted to
- delete
Protection String - Protection from accidental deletion of this auth method, [true/false]
- force
Sub BooleanClaims - enforce role-association must include sub claims
- idp
Metadata StringUrl - IDP metadata url
- idp
Metadata StringXml Data - IDP metadata xml data for saml authentication
- jwt
Ttl Double - Creds expiration time in minutes
- name String
- Auth Method name
- unique
Identifier 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 number - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- access
Id string - Auth Method access ID
- allowed
Redirect string[]Uris - 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 string[]Claims - Subclaims to include in audit logs
- auth
Method stringSaml Id - The ID of this resource.
- bound
Ips string[] - A CIDR whitelist with the IPs that the access is restricted to
- delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- force
Sub booleanClaims - enforce role-association must include sub claims
- idp
Metadata stringUrl - IDP metadata url
- idp
Metadata stringXml Data - IDP metadata xml data for saml authentication
- jwt
Ttl number - Creds expiration time in minutes
- name string
- Auth Method name
- unique
Identifier 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_ Sequence[str]uris - 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_ Sequence[str]claims - Subclaims to include in audit logs
- auth_
method_ strsaml_ id - 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_ boolclaims - enforce role-association must include sub claims
- idp_
metadata_ strurl - IDP metadata url
- idp_
metadata_ strxml_ data - 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.
- access
Expires Number - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- access
Id String - Auth Method access ID
- allowed
Redirect List<String>Uris - 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 List<String>Claims - Subclaims to include in audit logs
- auth
Method StringSaml Id - The ID of this resource.
- bound
Ips List<String> - A CIDR whitelist with the IPs that the access is restricted to
- delete
Protection String - Protection from accidental deletion of this auth method, [true/false]
- force
Sub BooleanClaims - enforce role-association must include sub claims
- idp
Metadata StringUrl - IDP metadata url
- idp
Metadata StringXml Data - IDP metadata xml data for saml authentication
- jwt
Ttl Number - Creds expiration time in minutes
- name String
- Auth Method name
- unique
Identifier 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
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.