1. Packages
  2. Packages
  3. Akeyless Provider
  4. API Docs
  5. AuthMethodK8s
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

    Kubernetes Auth Method Resource

    Create AuthMethodK8s Resource

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

    Constructor syntax

    new AuthMethodK8s(name: string, args?: AuthMethodK8sArgs, opts?: CustomResourceOptions);
    @overload
    def AuthMethodK8s(resource_name: str,
                      args: Optional[AuthMethodK8sArgs] = None,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def AuthMethodK8s(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      access_expires: Optional[float] = None,
                      allowed_client_types: Optional[Sequence[str]] = None,
                      audience: Optional[str] = None,
                      audit_logs_claims: Optional[Sequence[str]] = None,
                      auth_method_k8s_id: Optional[str] = None,
                      bound_ips: Optional[Sequence[str]] = None,
                      bound_namespaces: Optional[Sequence[str]] = None,
                      bound_pod_names: Optional[Sequence[str]] = None,
                      bound_sa_names: Optional[Sequence[str]] = None,
                      delete_protection: Optional[str] = None,
                      description: Optional[str] = None,
                      expiration_event_ins: Optional[Sequence[str]] = None,
                      force_sub_claims: Optional[bool] = None,
                      gen_key: Optional[str] = None,
                      gw_bound_ips: Optional[Sequence[str]] = None,
                      jwt_ttl: Optional[float] = None,
                      name: Optional[str] = None,
                      product_types: Optional[Sequence[str]] = None,
                      public_key: Optional[str] = None)
    func NewAuthMethodK8s(ctx *Context, name string, args *AuthMethodK8sArgs, opts ...ResourceOption) (*AuthMethodK8s, error)
    public AuthMethodK8s(string name, AuthMethodK8sArgs? args = null, CustomResourceOptions? opts = null)
    public AuthMethodK8s(String name, AuthMethodK8sArgs args)
    public AuthMethodK8s(String name, AuthMethodK8sArgs args, CustomResourceOptions options)
    
    type: akeyless:AuthMethodK8s
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "akeyless_authmethodk8s" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AuthMethodK8sArgs
    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 AuthMethodK8sArgs
    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 AuthMethodK8sArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AuthMethodK8sArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AuthMethodK8sArgs
    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 authMethodK8sResource = new Akeyless.AuthMethodK8s("authMethodK8sResource", new()
    {
        AccessExpires = 0,
        AllowedClientTypes = new[]
        {
            "string",
        },
        Audience = "string",
        AuditLogsClaims = new[]
        {
            "string",
        },
        AuthMethodK8sId = "string",
        BoundIps = new[]
        {
            "string",
        },
        BoundNamespaces = new[]
        {
            "string",
        },
        BoundPodNames = new[]
        {
            "string",
        },
        BoundSaNames = new[]
        {
            "string",
        },
        DeleteProtection = "string",
        Description = "string",
        ExpirationEventIns = new[]
        {
            "string",
        },
        ForceSubClaims = false,
        GenKey = "string",
        GwBoundIps = new[]
        {
            "string",
        },
        JwtTtl = 0,
        Name = "string",
        ProductTypes = new[]
        {
            "string",
        },
        PublicKey = "string",
    });
    
    example, err := akeyless.NewAuthMethodK8s(ctx, "authMethodK8sResource", &akeyless.AuthMethodK8sArgs{
    	AccessExpires: pulumi.Float64(0),
    	AllowedClientTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Audience: pulumi.String("string"),
    	AuditLogsClaims: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AuthMethodK8sId: pulumi.String("string"),
    	BoundIps: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	BoundNamespaces: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	BoundPodNames: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	BoundSaNames: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DeleteProtection: pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	ExpirationEventIns: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ForceSubClaims: pulumi.Bool(false),
    	GenKey:         pulumi.String("string"),
    	GwBoundIps: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	JwtTtl: pulumi.Float64(0),
    	Name:   pulumi.String("string"),
    	ProductTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	PublicKey: pulumi.String("string"),
    })
    
    resource "akeyless_authmethodk8s" "authMethodK8sResource" {
      access_expires       = 0
      allowed_client_types = ["string"]
      audience             = "string"
      audit_logs_claims    = ["string"]
      auth_method_k8s_id   = "string"
      bound_ips            = ["string"]
      bound_namespaces     = ["string"]
      bound_pod_names      = ["string"]
      bound_sa_names       = ["string"]
      delete_protection    = "string"
      description          = "string"
      expiration_event_ins = ["string"]
      force_sub_claims     = false
      gen_key              = "string"
      gw_bound_ips         = ["string"]
      jwt_ttl              = 0
      name                 = "string"
      product_types        = ["string"]
      public_key           = "string"
    }
    
    var authMethodK8sResource = new AuthMethodK8s("authMethodK8sResource", AuthMethodK8sArgs.builder()
        .accessExpires(0.0)
        .allowedClientTypes("string")
        .audience("string")
        .auditLogsClaims("string")
        .authMethodK8sId("string")
        .boundIps("string")
        .boundNamespaces("string")
        .boundPodNames("string")
        .boundSaNames("string")
        .deleteProtection("string")
        .description("string")
        .expirationEventIns("string")
        .forceSubClaims(false)
        .genKey("string")
        .gwBoundIps("string")
        .jwtTtl(0.0)
        .name("string")
        .productTypes("string")
        .publicKey("string")
        .build());
    
    auth_method_k8s_resource = akeyless.AuthMethodK8s("authMethodK8sResource",
        access_expires=float(0),
        allowed_client_types=["string"],
        audience="string",
        audit_logs_claims=["string"],
        auth_method_k8s_id="string",
        bound_ips=["string"],
        bound_namespaces=["string"],
        bound_pod_names=["string"],
        bound_sa_names=["string"],
        delete_protection="string",
        description="string",
        expiration_event_ins=["string"],
        force_sub_claims=False,
        gen_key="string",
        gw_bound_ips=["string"],
        jwt_ttl=float(0),
        name="string",
        product_types=["string"],
        public_key="string")
    
    const authMethodK8sResource = new akeyless.AuthMethodK8s("authMethodK8sResource", {
        accessExpires: 0,
        allowedClientTypes: ["string"],
        audience: "string",
        auditLogsClaims: ["string"],
        authMethodK8sId: "string",
        boundIps: ["string"],
        boundNamespaces: ["string"],
        boundPodNames: ["string"],
        boundSaNames: ["string"],
        deleteProtection: "string",
        description: "string",
        expirationEventIns: ["string"],
        forceSubClaims: false,
        genKey: "string",
        gwBoundIps: ["string"],
        jwtTtl: 0,
        name: "string",
        productTypes: ["string"],
        publicKey: "string",
    });
    
    type: akeyless:AuthMethodK8s
    properties:
        accessExpires: 0
        allowedClientTypes:
            - string
        audience: string
        auditLogsClaims:
            - string
        authMethodK8sId: string
        boundIps:
            - string
        boundNamespaces:
            - string
        boundPodNames:
            - string
        boundSaNames:
            - string
        deleteProtection: string
        description: string
        expirationEventIns:
            - string
        forceSubClaims: false
        genKey: string
        gwBoundIps:
            - string
        jwtTtl: 0
        name: string
        productTypes:
            - string
        publicKey: string
    

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

    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]
    Audience string
    The audience in the Kubernetes JWT that the access is restricted to
    AuditLogsClaims List<string>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    AuthMethodK8sId string
    The ID of this resource.
    BoundIps List<string>
    A CIDR whitelist with the IPs that the access is restricted to
    BoundNamespaces List<string>
    A list of namespaces that the access is restricted to
    BoundPodNames List<string>
    A list of pod names that the access is restricted to
    BoundSaNames List<string>
    A list of service account names 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
    enforce role-association must include sub claims
    GenKey string
    Automatically generate key-pair for K8S configuration. If set to false, a public key needs to be provided [true/false]
    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]
    PublicKey string
    The generated public key
    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]
    Audience string
    The audience in the Kubernetes JWT that the access is restricted to
    AuditLogsClaims []string
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    AuthMethodK8sId string
    The ID of this resource.
    BoundIps []string
    A CIDR whitelist with the IPs that the access is restricted to
    BoundNamespaces []string
    A list of namespaces that the access is restricted to
    BoundPodNames []string
    A list of pod names that the access is restricted to
    BoundSaNames []string
    A list of service account names 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
    enforce role-association must include sub claims
    GenKey string
    Automatically generate key-pair for K8S configuration. If set to false, a public key needs to be provided [true/false]
    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]
    PublicKey string
    The generated public key
    access_expires number
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    allowed_client_types list(string)
    Limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    audience string
    The audience in the Kubernetes JWT that the access is restricted to
    audit_logs_claims list(string)
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    auth_method_k8s_id string
    The ID of this resource.
    bound_ips list(string)
    A CIDR whitelist with the IPs that the access is restricted to
    bound_namespaces list(string)
    A list of namespaces that the access is restricted to
    bound_pod_names list(string)
    A list of pod names that the access is restricted to
    bound_sa_names list(string)
    A list of service account names that the access is restricted to
    delete_protection string
    Protection from accidental deletion of this auth method, [true/false]
    description string
    Auth Method description
    expiration_event_ins list(string)
    How many days before the expiration of the auth method would you like to be notified.
    force_sub_claims bool
    enforce role-association must include sub claims
    gen_key string
    Automatically generate key-pair for K8S configuration. If set to false, a public key needs to be provided [true/false]
    gw_bound_ips list(string)
    A CIDR whitelist with the GW IPs that the access is restricted to
    jwt_ttl number
    Creds expiration time in minutes
    name string
    Auth Method name
    product_types list(string)
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    public_key string
    The generated public key
    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]
    audience String
    The audience in the Kubernetes JWT that the access is restricted to
    auditLogsClaims List<String>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodK8sId String
    The ID of this resource.
    boundIps List<String>
    A CIDR whitelist with the IPs that the access is restricted to
    boundNamespaces List<String>
    A list of namespaces that the access is restricted to
    boundPodNames List<String>
    A list of pod names that the access is restricted to
    boundSaNames List<String>
    A list of service account names 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
    enforce role-association must include sub claims
    genKey String
    Automatically generate key-pair for K8S configuration. If set to false, a public key needs to be provided [true/false]
    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]
    publicKey String
    The generated public key
    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]
    audience string
    The audience in the Kubernetes JWT that the access is restricted to
    auditLogsClaims string[]
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodK8sId string
    The ID of this resource.
    boundIps string[]
    A CIDR whitelist with the IPs that the access is restricted to
    boundNamespaces string[]
    A list of namespaces that the access is restricted to
    boundPodNames string[]
    A list of pod names that the access is restricted to
    boundSaNames string[]
    A list of service account names 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
    enforce role-association must include sub claims
    genKey string
    Automatically generate key-pair for K8S configuration. If set to false, a public key needs to be provided [true/false]
    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]
    publicKey string
    The generated public key
    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]
    audience str
    The audience in the Kubernetes JWT that the access is restricted to
    audit_logs_claims Sequence[str]
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    auth_method_k8s_id str
    The ID of this resource.
    bound_ips Sequence[str]
    A CIDR whitelist with the IPs that the access is restricted to
    bound_namespaces Sequence[str]
    A list of namespaces that the access is restricted to
    bound_pod_names Sequence[str]
    A list of pod names that the access is restricted to
    bound_sa_names Sequence[str]
    A list of service account names 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
    enforce role-association must include sub claims
    gen_key str
    Automatically generate key-pair for K8S configuration. If set to false, a public key needs to be provided [true/false]
    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]
    public_key str
    The generated public key
    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]
    audience String
    The audience in the Kubernetes JWT that the access is restricted to
    auditLogsClaims List<String>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodK8sId String
    The ID of this resource.
    boundIps List<String>
    A CIDR whitelist with the IPs that the access is restricted to
    boundNamespaces List<String>
    A list of namespaces that the access is restricted to
    boundPodNames List<String>
    A list of pod names that the access is restricted to
    boundSaNames List<String>
    A list of service account names 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
    enforce role-association must include sub claims
    genKey String
    Automatically generate key-pair for K8S configuration. If set to false, a public key needs to be provided [true/false]
    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]
    publicKey String
    The generated public key

    Outputs

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

    AccessId string
    Auth Method access ID
    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateKey string
    The generated private key
    AccessId string
    Auth Method access ID
    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateKey string
    The generated private key
    access_id string
    Auth Method access ID
    id string
    The provider-assigned unique ID for this managed resource.
    private_key string
    The generated private key
    accessId String
    Auth Method access ID
    id String
    The provider-assigned unique ID for this managed resource.
    privateKey String
    The generated private key
    accessId string
    Auth Method access ID
    id string
    The provider-assigned unique ID for this managed resource.
    privateKey string
    The generated private key
    access_id str
    Auth Method access ID
    id str
    The provider-assigned unique ID for this managed resource.
    private_key str
    The generated private key
    accessId String
    Auth Method access ID
    id String
    The provider-assigned unique ID for this managed resource.
    privateKey String
    The generated private key

    Look up Existing AuthMethodK8s Resource

    Get an existing AuthMethodK8s 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?: AuthMethodK8sState, opts?: CustomResourceOptions): AuthMethodK8s
    @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,
            audience: Optional[str] = None,
            audit_logs_claims: Optional[Sequence[str]] = None,
            auth_method_k8s_id: Optional[str] = None,
            bound_ips: Optional[Sequence[str]] = None,
            bound_namespaces: Optional[Sequence[str]] = None,
            bound_pod_names: Optional[Sequence[str]] = None,
            bound_sa_names: Optional[Sequence[str]] = None,
            delete_protection: Optional[str] = None,
            description: Optional[str] = None,
            expiration_event_ins: Optional[Sequence[str]] = None,
            force_sub_claims: Optional[bool] = None,
            gen_key: Optional[str] = None,
            gw_bound_ips: Optional[Sequence[str]] = None,
            jwt_ttl: Optional[float] = None,
            name: Optional[str] = None,
            private_key: Optional[str] = None,
            product_types: Optional[Sequence[str]] = None,
            public_key: Optional[str] = None) -> AuthMethodK8s
    func GetAuthMethodK8s(ctx *Context, name string, id IDInput, state *AuthMethodK8sState, opts ...ResourceOption) (*AuthMethodK8s, error)
    public static AuthMethodK8s Get(string name, Input<string> id, AuthMethodK8sState? state, CustomResourceOptions? opts = null)
    public static AuthMethodK8s get(String name, Output<String> id, AuthMethodK8sState state, CustomResourceOptions options)
    resources:  _:    type: akeyless:AuthMethodK8s    get:      id: ${id}
    import {
      to = akeyless_authmethodk8s.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    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]
    Audience string
    The audience in the Kubernetes JWT that the access is restricted to
    AuditLogsClaims List<string>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    AuthMethodK8sId string
    The ID of this resource.
    BoundIps List<string>
    A CIDR whitelist with the IPs that the access is restricted to
    BoundNamespaces List<string>
    A list of namespaces that the access is restricted to
    BoundPodNames List<string>
    A list of pod names that the access is restricted to
    BoundSaNames List<string>
    A list of service account names 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
    enforce role-association must include sub claims
    GenKey string
    Automatically generate key-pair for K8S configuration. If set to false, a public key needs to be provided [true/false]
    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
    PrivateKey string
    The generated private key
    ProductTypes List<string>
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    PublicKey string
    The generated public key
    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]
    Audience string
    The audience in the Kubernetes JWT that the access is restricted to
    AuditLogsClaims []string
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    AuthMethodK8sId string
    The ID of this resource.
    BoundIps []string
    A CIDR whitelist with the IPs that the access is restricted to
    BoundNamespaces []string
    A list of namespaces that the access is restricted to
    BoundPodNames []string
    A list of pod names that the access is restricted to
    BoundSaNames []string
    A list of service account names 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
    enforce role-association must include sub claims
    GenKey string
    Automatically generate key-pair for K8S configuration. If set to false, a public key needs to be provided [true/false]
    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
    PrivateKey string
    The generated private key
    ProductTypes []string
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    PublicKey string
    The generated public key
    access_expires number
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    access_id string
    Auth Method access ID
    allowed_client_types list(string)
    Limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    audience string
    The audience in the Kubernetes JWT that the access is restricted to
    audit_logs_claims list(string)
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    auth_method_k8s_id string
    The ID of this resource.
    bound_ips list(string)
    A CIDR whitelist with the IPs that the access is restricted to
    bound_namespaces list(string)
    A list of namespaces that the access is restricted to
    bound_pod_names list(string)
    A list of pod names that the access is restricted to
    bound_sa_names list(string)
    A list of service account names that the access is restricted to
    delete_protection string
    Protection from accidental deletion of this auth method, [true/false]
    description string
    Auth Method description
    expiration_event_ins list(string)
    How many days before the expiration of the auth method would you like to be notified.
    force_sub_claims bool
    enforce role-association must include sub claims
    gen_key string
    Automatically generate key-pair for K8S configuration. If set to false, a public key needs to be provided [true/false]
    gw_bound_ips list(string)
    A CIDR whitelist with the GW IPs that the access is restricted to
    jwt_ttl number
    Creds expiration time in minutes
    name string
    Auth Method name
    private_key string
    The generated private key
    product_types list(string)
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    public_key string
    The generated public key
    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]
    audience String
    The audience in the Kubernetes JWT that the access is restricted to
    auditLogsClaims List<String>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodK8sId String
    The ID of this resource.
    boundIps List<String>
    A CIDR whitelist with the IPs that the access is restricted to
    boundNamespaces List<String>
    A list of namespaces that the access is restricted to
    boundPodNames List<String>
    A list of pod names that the access is restricted to
    boundSaNames List<String>
    A list of service account names 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
    enforce role-association must include sub claims
    genKey String
    Automatically generate key-pair for K8S configuration. If set to false, a public key needs to be provided [true/false]
    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
    privateKey String
    The generated private key
    productTypes List<String>
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    publicKey String
    The generated public key
    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]
    audience string
    The audience in the Kubernetes JWT that the access is restricted to
    auditLogsClaims string[]
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodK8sId string
    The ID of this resource.
    boundIps string[]
    A CIDR whitelist with the IPs that the access is restricted to
    boundNamespaces string[]
    A list of namespaces that the access is restricted to
    boundPodNames string[]
    A list of pod names that the access is restricted to
    boundSaNames string[]
    A list of service account names 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
    enforce role-association must include sub claims
    genKey string
    Automatically generate key-pair for K8S configuration. If set to false, a public key needs to be provided [true/false]
    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
    privateKey string
    The generated private key
    productTypes string[]
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    publicKey string
    The generated public key
    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]
    audience str
    The audience in the Kubernetes JWT that the access is restricted to
    audit_logs_claims Sequence[str]
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    auth_method_k8s_id str
    The ID of this resource.
    bound_ips Sequence[str]
    A CIDR whitelist with the IPs that the access is restricted to
    bound_namespaces Sequence[str]
    A list of namespaces that the access is restricted to
    bound_pod_names Sequence[str]
    A list of pod names that the access is restricted to
    bound_sa_names Sequence[str]
    A list of service account names 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
    enforce role-association must include sub claims
    gen_key str
    Automatically generate key-pair for K8S configuration. If set to false, a public key needs to be provided [true/false]
    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
    private_key str
    The generated private key
    product_types Sequence[str]
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    public_key str
    The generated public key
    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]
    audience String
    The audience in the Kubernetes JWT that the access is restricted to
    auditLogsClaims List<String>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodK8sId String
    The ID of this resource.
    boundIps List<String>
    A CIDR whitelist with the IPs that the access is restricted to
    boundNamespaces List<String>
    A list of namespaces that the access is restricted to
    boundPodNames List<String>
    A list of pod names that the access is restricted to
    boundSaNames List<String>
    A list of service account names 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
    enforce role-association must include sub claims
    genKey String
    Automatically generate key-pair for K8S configuration. If set to false, a public key needs to be provided [true/false]
    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
    privateKey String
    The generated private key
    productTypes List<String>
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    publicKey String
    The generated public key

    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.