1. Packages
  2. Packages
  3. Akeyless Provider
  4. API Docs
  5. AuthMethodEmail
Viewing docs for akeyless 2.0.1
published on Monday, Apr 27, 2026 by akeyless-community
Viewing docs for akeyless 2.0.1
published on Monday, Apr 27, 2026 by akeyless-community

    Email Auth Method Resource

    Create AuthMethodEmail Resource

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

    Constructor syntax

    new AuthMethodEmail(name: string, args: AuthMethodEmailArgs, opts?: CustomResourceOptions);
    @overload
    def AuthMethodEmail(resource_name: str,
                        args: AuthMethodEmailArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def AuthMethodEmail(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        email: Optional[str] = None,
                        description: Optional[str] = None,
                        audit_logs_claims: Optional[Sequence[str]] = None,
                        auth_method_email_id: Optional[str] = None,
                        bound_ips: Optional[Sequence[str]] = None,
                        delete_protection: Optional[str] = None,
                        access_expires: Optional[float] = None,
                        allowed_client_types: Optional[Sequence[str]] = None,
                        expiration_event_ins: Optional[Sequence[str]] = None,
                        force_sub_claims: Optional[bool] = None,
                        gw_bound_ips: Optional[Sequence[str]] = None,
                        jwt_ttl: Optional[float] = None,
                        name: Optional[str] = None,
                        product_types: Optional[Sequence[str]] = None)
    func NewAuthMethodEmail(ctx *Context, name string, args AuthMethodEmailArgs, opts ...ResourceOption) (*AuthMethodEmail, error)
    public AuthMethodEmail(string name, AuthMethodEmailArgs args, CustomResourceOptions? opts = null)
    public AuthMethodEmail(String name, AuthMethodEmailArgs args)
    public AuthMethodEmail(String name, AuthMethodEmailArgs args, CustomResourceOptions options)
    
    type: akeyless:AuthMethodEmail
    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 AuthMethodEmailArgs
    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 AuthMethodEmailArgs
    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 AuthMethodEmailArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AuthMethodEmailArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AuthMethodEmailArgs
    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 authMethodEmailResource = new Akeyless.AuthMethodEmail("authMethodEmailResource", new()
    {
        Email = "string",
        Description = "string",
        AuditLogsClaims = new[]
        {
            "string",
        },
        AuthMethodEmailId = "string",
        BoundIps = new[]
        {
            "string",
        },
        DeleteProtection = "string",
        AccessExpires = 0,
        AllowedClientTypes = new[]
        {
            "string",
        },
        ExpirationEventIns = new[]
        {
            "string",
        },
        ForceSubClaims = false,
        GwBoundIps = new[]
        {
            "string",
        },
        JwtTtl = 0,
        Name = "string",
        ProductTypes = new[]
        {
            "string",
        },
    });
    
    example, err := akeyless.NewAuthMethodEmail(ctx, "authMethodEmailResource", &akeyless.AuthMethodEmailArgs{
    	Email:       pulumi.String("string"),
    	Description: pulumi.String("string"),
    	AuditLogsClaims: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AuthMethodEmailId: pulumi.String("string"),
    	BoundIps: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DeleteProtection: pulumi.String("string"),
    	AccessExpires:    pulumi.Float64(0),
    	AllowedClientTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ExpirationEventIns: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ForceSubClaims: pulumi.Bool(false),
    	GwBoundIps: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	JwtTtl: pulumi.Float64(0),
    	Name:   pulumi.String("string"),
    	ProductTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var authMethodEmailResource = new AuthMethodEmail("authMethodEmailResource", AuthMethodEmailArgs.builder()
        .email("string")
        .description("string")
        .auditLogsClaims("string")
        .authMethodEmailId("string")
        .boundIps("string")
        .deleteProtection("string")
        .accessExpires(0.0)
        .allowedClientTypes("string")
        .expirationEventIns("string")
        .forceSubClaims(false)
        .gwBoundIps("string")
        .jwtTtl(0.0)
        .name("string")
        .productTypes("string")
        .build());
    
    auth_method_email_resource = akeyless.AuthMethodEmail("authMethodEmailResource",
        email="string",
        description="string",
        audit_logs_claims=["string"],
        auth_method_email_id="string",
        bound_ips=["string"],
        delete_protection="string",
        access_expires=float(0),
        allowed_client_types=["string"],
        expiration_event_ins=["string"],
        force_sub_claims=False,
        gw_bound_ips=["string"],
        jwt_ttl=float(0),
        name="string",
        product_types=["string"])
    
    const authMethodEmailResource = new akeyless.AuthMethodEmail("authMethodEmailResource", {
        email: "string",
        description: "string",
        auditLogsClaims: ["string"],
        authMethodEmailId: "string",
        boundIps: ["string"],
        deleteProtection: "string",
        accessExpires: 0,
        allowedClientTypes: ["string"],
        expirationEventIns: ["string"],
        forceSubClaims: false,
        gwBoundIps: ["string"],
        jwtTtl: 0,
        name: "string",
        productTypes: ["string"],
    });
    
    type: akeyless:AuthMethodEmail
    properties:
        accessExpires: 0
        allowedClientTypes:
            - string
        auditLogsClaims:
            - string
        authMethodEmailId: string
        boundIps:
            - string
        deleteProtection: string
        description: string
        email: string
        expirationEventIns:
            - string
        forceSubClaims: false
        gwBoundIps:
            - string
        jwtTtl: 0
        name: string
        productTypes:
            - string
    

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

    Email string
    An email address to be invited to have access
    AccessExpires double
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    AllowedClientTypes List<string>
    Limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    AuditLogsClaims List<string>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    AuthMethodEmailId 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]
    Description string
    Auth Method description
    ExpirationEventIns List<string>
    How many days before the expiration of the auth method would you like to be notified.
    ForceSubClaims bool
    if true: enforce role-association must include sub claims
    GwBoundIps List<string>
    A CIDR whitelist with the GW IPs that the access is restricted to
    JwtTtl double
    Creds expiration time in minutes
    Name string
    Auth Method name
    ProductTypes List<string>
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    Email string
    An email address to be invited to have access
    AccessExpires float64
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    AllowedClientTypes []string
    Limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    AuditLogsClaims []string
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    AuthMethodEmailId 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]
    Description string
    Auth Method description
    ExpirationEventIns []string
    How many days before the expiration of the auth method would you like to be notified.
    ForceSubClaims bool
    if true: enforce role-association must include sub claims
    GwBoundIps []string
    A CIDR whitelist with the GW IPs that the access is restricted to
    JwtTtl float64
    Creds expiration time in minutes
    Name string
    Auth Method name
    ProductTypes []string
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    email String
    An email address to be invited to have access
    accessExpires Double
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    allowedClientTypes List<String>
    Limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    auditLogsClaims List<String>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodEmailId 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]
    description String
    Auth Method description
    expirationEventIns List<String>
    How many days before the expiration of the auth method would you like to be notified.
    forceSubClaims Boolean
    if true: enforce role-association must include sub claims
    gwBoundIps List<String>
    A CIDR whitelist with the GW IPs that the access is restricted to
    jwtTtl Double
    Creds expiration time in minutes
    name String
    Auth Method name
    productTypes List<String>
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    email string
    An email address to be invited to have access
    accessExpires number
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    allowedClientTypes string[]
    Limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    auditLogsClaims string[]
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodEmailId 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]
    description string
    Auth Method description
    expirationEventIns string[]
    How many days before the expiration of the auth method would you like to be notified.
    forceSubClaims boolean
    if true: enforce role-association must include sub claims
    gwBoundIps string[]
    A CIDR whitelist with the GW IPs that the access is restricted to
    jwtTtl number
    Creds expiration time in minutes
    name string
    Auth Method name
    productTypes string[]
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    email str
    An email address to be invited to have access
    access_expires float
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    allowed_client_types Sequence[str]
    Limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    audit_logs_claims Sequence[str]
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    auth_method_email_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]
    description str
    Auth Method description
    expiration_event_ins Sequence[str]
    How many days before the expiration of the auth method would you like to be notified.
    force_sub_claims bool
    if true: enforce role-association must include sub claims
    gw_bound_ips Sequence[str]
    A CIDR whitelist with the GW IPs that the access is restricted to
    jwt_ttl float
    Creds expiration time in minutes
    name str
    Auth Method name
    product_types Sequence[str]
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    email String
    An email address to be invited to have access
    accessExpires Number
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    allowedClientTypes List<String>
    Limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    auditLogsClaims List<String>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodEmailId 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]
    description String
    Auth Method description
    expirationEventIns List<String>
    How many days before the expiration of the auth method would you like to be notified.
    forceSubClaims Boolean
    if true: enforce role-association must include sub claims
    gwBoundIps List<String>
    A CIDR whitelist with the GW IPs that the access is restricted to
    jwtTtl Number
    Creds expiration time in minutes
    name String
    Auth Method name
    productTypes List<String>
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AuthMethodEmail 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 AuthMethodEmail Resource

    Get an existing AuthMethodEmail 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?: AuthMethodEmailState, opts?: CustomResourceOptions): AuthMethodEmail
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_expires: Optional[float] = None,
            access_id: Optional[str] = None,
            allowed_client_types: Optional[Sequence[str]] = None,
            audit_logs_claims: Optional[Sequence[str]] = None,
            auth_method_email_id: Optional[str] = None,
            bound_ips: Optional[Sequence[str]] = None,
            delete_protection: Optional[str] = None,
            description: Optional[str] = None,
            email: Optional[str] = None,
            expiration_event_ins: Optional[Sequence[str]] = None,
            force_sub_claims: Optional[bool] = None,
            gw_bound_ips: Optional[Sequence[str]] = None,
            jwt_ttl: Optional[float] = None,
            name: Optional[str] = None,
            product_types: Optional[Sequence[str]] = None) -> AuthMethodEmail
    func GetAuthMethodEmail(ctx *Context, name string, id IDInput, state *AuthMethodEmailState, opts ...ResourceOption) (*AuthMethodEmail, error)
    public static AuthMethodEmail Get(string name, Input<string> id, AuthMethodEmailState? state, CustomResourceOptions? opts = null)
    public static AuthMethodEmail get(String name, Output<String> id, AuthMethodEmailState state, CustomResourceOptions options)
    resources:  _:    type: akeyless:AuthMethodEmail    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.
    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
    AllowedClientTypes List<string>
    Limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    AuditLogsClaims List<string>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    AuthMethodEmailId 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]
    Description string
    Auth Method description
    Email string
    An email address to be invited to have access
    ExpirationEventIns List<string>
    How many days before the expiration of the auth method would you like to be notified.
    ForceSubClaims bool
    if true: enforce role-association must include sub claims
    GwBoundIps List<string>
    A CIDR whitelist with the GW IPs that the access is restricted to
    JwtTtl double
    Creds expiration time in minutes
    Name string
    Auth Method name
    ProductTypes List<string>
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    AccessExpires float64
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    AccessId string
    Auth Method access ID
    AllowedClientTypes []string
    Limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    AuditLogsClaims []string
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    AuthMethodEmailId 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]
    Description string
    Auth Method description
    Email string
    An email address to be invited to have access
    ExpirationEventIns []string
    How many days before the expiration of the auth method would you like to be notified.
    ForceSubClaims bool
    if true: enforce role-association must include sub claims
    GwBoundIps []string
    A CIDR whitelist with the GW IPs that the access is restricted to
    JwtTtl float64
    Creds expiration time in minutes
    Name string
    Auth Method name
    ProductTypes []string
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    accessExpires Double
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    accessId String
    Auth Method access ID
    allowedClientTypes List<String>
    Limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    auditLogsClaims List<String>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodEmailId 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]
    description String
    Auth Method description
    email String
    An email address to be invited to have access
    expirationEventIns List<String>
    How many days before the expiration of the auth method would you like to be notified.
    forceSubClaims Boolean
    if true: enforce role-association must include sub claims
    gwBoundIps List<String>
    A CIDR whitelist with the GW IPs that the access is restricted to
    jwtTtl Double
    Creds expiration time in minutes
    name String
    Auth Method name
    productTypes List<String>
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    accessExpires number
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    accessId string
    Auth Method access ID
    allowedClientTypes string[]
    Limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    auditLogsClaims string[]
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodEmailId 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]
    description string
    Auth Method description
    email string
    An email address to be invited to have access
    expirationEventIns string[]
    How many days before the expiration of the auth method would you like to be notified.
    forceSubClaims boolean
    if true: enforce role-association must include sub claims
    gwBoundIps string[]
    A CIDR whitelist with the GW IPs that the access is restricted to
    jwtTtl number
    Creds expiration time in minutes
    name string
    Auth Method name
    productTypes string[]
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    access_expires float
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    access_id str
    Auth Method access ID
    allowed_client_types Sequence[str]
    Limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    audit_logs_claims Sequence[str]
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    auth_method_email_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]
    description str
    Auth Method description
    email str
    An email address to be invited to have access
    expiration_event_ins Sequence[str]
    How many days before the expiration of the auth method would you like to be notified.
    force_sub_claims bool
    if true: enforce role-association must include sub claims
    gw_bound_ips Sequence[str]
    A CIDR whitelist with the GW IPs that the access is restricted to
    jwt_ttl float
    Creds expiration time in minutes
    name str
    Auth Method name
    product_types Sequence[str]
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    accessExpires Number
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    accessId String
    Auth Method access ID
    allowedClientTypes List<String>
    Limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    auditLogsClaims List<String>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodEmailId 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]
    description String
    Auth Method description
    email String
    An email address to be invited to have access
    expirationEventIns List<String>
    How many days before the expiration of the auth method would you like to be notified.
    forceSubClaims Boolean
    if true: enforce role-association must include sub claims
    gwBoundIps List<String>
    A CIDR whitelist with the GW IPs that the access is restricted to
    jwtTtl Number
    Creds expiration time in minutes
    name String
    Auth Method name
    productTypes List<String>
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    Viewing docs for akeyless 2.0.1
    published on Monday, Apr 27, 2026 by akeyless-community
      Try Pulumi Cloud free. Your team will thank you.