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

    OIDC Auth Method Resource

    Create AuthMethodOidc Resource

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

    Constructor syntax

    new AuthMethodOidc(name: string, args: AuthMethodOidcArgs, opts?: CustomResourceOptions);
    @overload
    def AuthMethodOidc(resource_name: str,
                       args: AuthMethodOidcArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def AuthMethodOidc(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       unique_identifier: Optional[str] = None,
                       description: Optional[str] = None,
                       force_sub_claims: Optional[bool] = None,
                       audience: Optional[str] = None,
                       audit_logs_claims: Optional[Sequence[str]] = None,
                       auth_method_oidc_id: Optional[str] = None,
                       bound_ips: Optional[Sequence[str]] = None,
                       client_id: Optional[str] = None,
                       client_secret: Optional[str] = None,
                       delete_protection: Optional[str] = None,
                       access_expires: Optional[float] = None,
                       allowed_redirect_uris: Optional[Sequence[str]] = None,
                       gw_bound_ips: Optional[Sequence[str]] = None,
                       expiration_event_ins: Optional[Sequence[str]] = None,
                       issuer: Optional[str] = None,
                       jwt_ttl: Optional[float] = None,
                       name: Optional[str] = None,
                       product_types: Optional[Sequence[str]] = None,
                       required_scopes: Optional[Sequence[str]] = None,
                       required_scopes_prefix: Optional[str] = None,
                       subclaims_delimiters: Optional[Sequence[str]] = None,
                       allowed_client_types: Optional[Sequence[str]] = None)
    func NewAuthMethodOidc(ctx *Context, name string, args AuthMethodOidcArgs, opts ...ResourceOption) (*AuthMethodOidc, error)
    public AuthMethodOidc(string name, AuthMethodOidcArgs args, CustomResourceOptions? opts = null)
    public AuthMethodOidc(String name, AuthMethodOidcArgs args)
    public AuthMethodOidc(String name, AuthMethodOidcArgs args, CustomResourceOptions options)
    
    type: akeyless:AuthMethodOidc
    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 AuthMethodOidcArgs
    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 AuthMethodOidcArgs
    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 AuthMethodOidcArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AuthMethodOidcArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AuthMethodOidcArgs
    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 authMethodOidcResource = new Akeyless.AuthMethodOidc("authMethodOidcResource", new()
    {
        UniqueIdentifier = "string",
        Description = "string",
        ForceSubClaims = false,
        Audience = "string",
        AuditLogsClaims = new[]
        {
            "string",
        },
        AuthMethodOidcId = "string",
        BoundIps = new[]
        {
            "string",
        },
        ClientId = "string",
        ClientSecret = "string",
        DeleteProtection = "string",
        AccessExpires = 0,
        AllowedRedirectUris = new[]
        {
            "string",
        },
        GwBoundIps = new[]
        {
            "string",
        },
        ExpirationEventIns = new[]
        {
            "string",
        },
        Issuer = "string",
        JwtTtl = 0,
        Name = "string",
        ProductTypes = new[]
        {
            "string",
        },
        RequiredScopes = new[]
        {
            "string",
        },
        RequiredScopesPrefix = "string",
        SubclaimsDelimiters = new[]
        {
            "string",
        },
        AllowedClientTypes = new[]
        {
            "string",
        },
    });
    
    example, err := akeyless.NewAuthMethodOidc(ctx, "authMethodOidcResource", &akeyless.AuthMethodOidcArgs{
    	UniqueIdentifier: pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	ForceSubClaims:   pulumi.Bool(false),
    	Audience:         pulumi.String("string"),
    	AuditLogsClaims: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AuthMethodOidcId: pulumi.String("string"),
    	BoundIps: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ClientId:         pulumi.String("string"),
    	ClientSecret:     pulumi.String("string"),
    	DeleteProtection: pulumi.String("string"),
    	AccessExpires:    pulumi.Float64(0),
    	AllowedRedirectUris: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	GwBoundIps: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ExpirationEventIns: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Issuer: pulumi.String("string"),
    	JwtTtl: pulumi.Float64(0),
    	Name:   pulumi.String("string"),
    	ProductTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	RequiredScopes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	RequiredScopesPrefix: pulumi.String("string"),
    	SubclaimsDelimiters: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AllowedClientTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var authMethodOidcResource = new AuthMethodOidc("authMethodOidcResource", AuthMethodOidcArgs.builder()
        .uniqueIdentifier("string")
        .description("string")
        .forceSubClaims(false)
        .audience("string")
        .auditLogsClaims("string")
        .authMethodOidcId("string")
        .boundIps("string")
        .clientId("string")
        .clientSecret("string")
        .deleteProtection("string")
        .accessExpires(0.0)
        .allowedRedirectUris("string")
        .gwBoundIps("string")
        .expirationEventIns("string")
        .issuer("string")
        .jwtTtl(0.0)
        .name("string")
        .productTypes("string")
        .requiredScopes("string")
        .requiredScopesPrefix("string")
        .subclaimsDelimiters("string")
        .allowedClientTypes("string")
        .build());
    
    auth_method_oidc_resource = akeyless.AuthMethodOidc("authMethodOidcResource",
        unique_identifier="string",
        description="string",
        force_sub_claims=False,
        audience="string",
        audit_logs_claims=["string"],
        auth_method_oidc_id="string",
        bound_ips=["string"],
        client_id="string",
        client_secret="string",
        delete_protection="string",
        access_expires=float(0),
        allowed_redirect_uris=["string"],
        gw_bound_ips=["string"],
        expiration_event_ins=["string"],
        issuer="string",
        jwt_ttl=float(0),
        name="string",
        product_types=["string"],
        required_scopes=["string"],
        required_scopes_prefix="string",
        subclaims_delimiters=["string"],
        allowed_client_types=["string"])
    
    const authMethodOidcResource = new akeyless.AuthMethodOidc("authMethodOidcResource", {
        uniqueIdentifier: "string",
        description: "string",
        forceSubClaims: false,
        audience: "string",
        auditLogsClaims: ["string"],
        authMethodOidcId: "string",
        boundIps: ["string"],
        clientId: "string",
        clientSecret: "string",
        deleteProtection: "string",
        accessExpires: 0,
        allowedRedirectUris: ["string"],
        gwBoundIps: ["string"],
        expirationEventIns: ["string"],
        issuer: "string",
        jwtTtl: 0,
        name: "string",
        productTypes: ["string"],
        requiredScopes: ["string"],
        requiredScopesPrefix: "string",
        subclaimsDelimiters: ["string"],
        allowedClientTypes: ["string"],
    });
    
    type: akeyless:AuthMethodOidc
    properties:
        accessExpires: 0
        allowedClientTypes:
            - string
        allowedRedirectUris:
            - string
        audience: string
        auditLogsClaims:
            - string
        authMethodOidcId: string
        boundIps:
            - string
        clientId: string
        clientSecret: string
        deleteProtection: string
        description: string
        expirationEventIns:
            - string
        forceSubClaims: false
        gwBoundIps:
            - string
        issuer: string
        jwtTtl: 0
        name: string
        productTypes:
            - string
        requiredScopes:
            - string
        requiredScopesPrefix: string
        subclaimsDelimiters:
            - string
        uniqueIdentifier: string
    

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

    UniqueIdentifier string
    A unique identifier (ID) value should be configured for OIDC, OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
    AccessExpires double
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    AllowedClientTypes List<string>
    limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    AllowedRedirectUris List<string>
    Allowed redirect URIs after the authentication
    Audience string
    Audience claim to be used as part of the authentication flow. In case set, it must match the one configured on the Identity Provider's Application
    AuditLogsClaims List<string>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    AuthMethodOidcId string
    The ID of this resource.
    BoundIps List<string>
    A CIDR whitelist with the IPs that the access is restricted to
    ClientId string
    Client ID
    ClientSecret string
    Client Secret
    DeleteProtection string
    Protection from accidental deletion of this object [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
    Issuer string
    Issuer URL
    JwtTtl double
    Jwt TTL
    Name string
    Auth Method name
    ProductTypes List<string>
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    RequiredScopes List<string>
    RequiredScopes is a list of required scopes that the oidc method will request from the oidc provider and the user must approve
    RequiredScopesPrefix string
    RequiredScopesPrefix is a a prefix to add to all required-scopes when requesting them from the oidc server (for example, azures' Application ID URI)
    SubclaimsDelimiters List<string>
    A list of additional sub claims delimiters (relevant only for SAML, OIDC, OAuth2/JWT)
    UniqueIdentifier string
    A unique identifier (ID) value should be configured for OIDC, OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
    AccessExpires float64
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    AllowedClientTypes []string
    limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    AllowedRedirectUris []string
    Allowed redirect URIs after the authentication
    Audience string
    Audience claim to be used as part of the authentication flow. In case set, it must match the one configured on the Identity Provider's Application
    AuditLogsClaims []string
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    AuthMethodOidcId string
    The ID of this resource.
    BoundIps []string
    A CIDR whitelist with the IPs that the access is restricted to
    ClientId string
    Client ID
    ClientSecret string
    Client Secret
    DeleteProtection string
    Protection from accidental deletion of this object [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
    Issuer string
    Issuer URL
    JwtTtl float64
    Jwt TTL
    Name string
    Auth Method name
    ProductTypes []string
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    RequiredScopes []string
    RequiredScopes is a list of required scopes that the oidc method will request from the oidc provider and the user must approve
    RequiredScopesPrefix string
    RequiredScopesPrefix is a a prefix to add to all required-scopes when requesting them from the oidc server (for example, azures' Application ID URI)
    SubclaimsDelimiters []string
    A list of additional sub claims delimiters (relevant only for SAML, OIDC, OAuth2/JWT)
    uniqueIdentifier String
    A unique identifier (ID) value should be configured for OIDC, OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
    accessExpires Double
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    allowedClientTypes List<String>
    limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    allowedRedirectUris List<String>
    Allowed redirect URIs after the authentication
    audience String
    Audience claim to be used as part of the authentication flow. In case set, it must match the one configured on the Identity Provider's Application
    auditLogsClaims List<String>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodOidcId String
    The ID of this resource.
    boundIps List<String>
    A CIDR whitelist with the IPs that the access is restricted to
    clientId String
    Client ID
    clientSecret String
    Client Secret
    deleteProtection String
    Protection from accidental deletion of this object [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
    issuer String
    Issuer URL
    jwtTtl Double
    Jwt TTL
    name String
    Auth Method name
    productTypes List<String>
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    requiredScopes List<String>
    RequiredScopes is a list of required scopes that the oidc method will request from the oidc provider and the user must approve
    requiredScopesPrefix String
    RequiredScopesPrefix is a a prefix to add to all required-scopes when requesting them from the oidc server (for example, azures' Application ID URI)
    subclaimsDelimiters List<String>
    A list of additional sub claims delimiters (relevant only for SAML, OIDC, OAuth2/JWT)
    uniqueIdentifier string
    A unique identifier (ID) value should be configured for OIDC, OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
    accessExpires number
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    allowedClientTypes string[]
    limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    allowedRedirectUris string[]
    Allowed redirect URIs after the authentication
    audience string
    Audience claim to be used as part of the authentication flow. In case set, it must match the one configured on the Identity Provider's Application
    auditLogsClaims string[]
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodOidcId string
    The ID of this resource.
    boundIps string[]
    A CIDR whitelist with the IPs that the access is restricted to
    clientId string
    Client ID
    clientSecret string
    Client Secret
    deleteProtection string
    Protection from accidental deletion of this object [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
    issuer string
    Issuer URL
    jwtTtl number
    Jwt TTL
    name string
    Auth Method name
    productTypes string[]
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    requiredScopes string[]
    RequiredScopes is a list of required scopes that the oidc method will request from the oidc provider and the user must approve
    requiredScopesPrefix string
    RequiredScopesPrefix is a a prefix to add to all required-scopes when requesting them from the oidc server (for example, azures' Application ID URI)
    subclaimsDelimiters string[]
    A list of additional sub claims delimiters (relevant only for SAML, OIDC, OAuth2/JWT)
    unique_identifier str
    A unique identifier (ID) value should be configured for OIDC, 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_client_types Sequence[str]
    limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    allowed_redirect_uris Sequence[str]
    Allowed redirect URIs after the authentication
    audience str
    Audience claim to be used as part of the authentication flow. In case set, it must match the one configured on the Identity Provider's Application
    audit_logs_claims Sequence[str]
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    auth_method_oidc_id str
    The ID of this resource.
    bound_ips Sequence[str]
    A CIDR whitelist with the IPs that the access is restricted to
    client_id str
    Client ID
    client_secret str
    Client Secret
    delete_protection str
    Protection from accidental deletion of this object [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
    issuer str
    Issuer URL
    jwt_ttl float
    Jwt TTL
    name str
    Auth Method name
    product_types Sequence[str]
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    required_scopes Sequence[str]
    RequiredScopes is a list of required scopes that the oidc method will request from the oidc provider and the user must approve
    required_scopes_prefix str
    RequiredScopesPrefix is a a prefix to add to all required-scopes when requesting them from the oidc server (for example, azures' Application ID URI)
    subclaims_delimiters Sequence[str]
    A list of additional sub claims delimiters (relevant only for SAML, OIDC, OAuth2/JWT)
    uniqueIdentifier String
    A unique identifier (ID) value should be configured for OIDC, OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
    accessExpires Number
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    allowedClientTypes List<String>
    limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    allowedRedirectUris List<String>
    Allowed redirect URIs after the authentication
    audience String
    Audience claim to be used as part of the authentication flow. In case set, it must match the one configured on the Identity Provider's Application
    auditLogsClaims List<String>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodOidcId String
    The ID of this resource.
    boundIps List<String>
    A CIDR whitelist with the IPs that the access is restricted to
    clientId String
    Client ID
    clientSecret String
    Client Secret
    deleteProtection String
    Protection from accidental deletion of this object [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
    issuer String
    Issuer URL
    jwtTtl Number
    Jwt TTL
    name String
    Auth Method name
    productTypes List<String>
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    requiredScopes List<String>
    RequiredScopes is a list of required scopes that the oidc method will request from the oidc provider and the user must approve
    requiredScopesPrefix String
    RequiredScopesPrefix is a a prefix to add to all required-scopes when requesting them from the oidc server (for example, azures' Application ID URI)
    subclaimsDelimiters List<String>
    A list of additional sub claims delimiters (relevant only for SAML, OIDC, OAuth2/JWT)

    Outputs

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

    Get an existing AuthMethodOidc 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?: AuthMethodOidcState, opts?: CustomResourceOptions): AuthMethodOidc
    @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,
            allowed_redirect_uris: Optional[Sequence[str]] = None,
            audience: Optional[str] = None,
            audit_logs_claims: Optional[Sequence[str]] = None,
            auth_method_oidc_id: Optional[str] = None,
            bound_ips: Optional[Sequence[str]] = None,
            client_id: Optional[str] = None,
            client_secret: Optional[str] = None,
            delete_protection: Optional[str] = None,
            description: Optional[str] = None,
            expiration_event_ins: Optional[Sequence[str]] = None,
            force_sub_claims: Optional[bool] = None,
            gw_bound_ips: Optional[Sequence[str]] = None,
            issuer: Optional[str] = None,
            jwt_ttl: Optional[float] = None,
            name: Optional[str] = None,
            product_types: Optional[Sequence[str]] = None,
            required_scopes: Optional[Sequence[str]] = None,
            required_scopes_prefix: Optional[str] = None,
            subclaims_delimiters: Optional[Sequence[str]] = None,
            unique_identifier: Optional[str] = None) -> AuthMethodOidc
    func GetAuthMethodOidc(ctx *Context, name string, id IDInput, state *AuthMethodOidcState, opts ...ResourceOption) (*AuthMethodOidc, error)
    public static AuthMethodOidc Get(string name, Input<string> id, AuthMethodOidcState? state, CustomResourceOptions? opts = null)
    public static AuthMethodOidc get(String name, Output<String> id, AuthMethodOidcState state, CustomResourceOptions options)
    resources:  _:    type: akeyless:AuthMethodOidc    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]
    AllowedRedirectUris List<string>
    Allowed redirect URIs after the authentication
    Audience string
    Audience claim to be used as part of the authentication flow. In case set, it must match the one configured on the Identity Provider's Application
    AuditLogsClaims List<string>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    AuthMethodOidcId string
    The ID of this resource.
    BoundIps List<string>
    A CIDR whitelist with the IPs that the access is restricted to
    ClientId string
    Client ID
    ClientSecret string
    Client Secret
    DeleteProtection string
    Protection from accidental deletion of this object [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
    Issuer string
    Issuer URL
    JwtTtl double
    Jwt TTL
    Name string
    Auth Method name
    ProductTypes List<string>
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    RequiredScopes List<string>
    RequiredScopes is a list of required scopes that the oidc method will request from the oidc provider and the user must approve
    RequiredScopesPrefix string
    RequiredScopesPrefix is a a prefix to add to all required-scopes when requesting them from the oidc server (for example, azures' Application ID URI)
    SubclaimsDelimiters List<string>
    A list of additional sub claims delimiters (relevant only for SAML, OIDC, OAuth2/JWT)
    UniqueIdentifier string
    A unique identifier (ID) value should be configured for OIDC, OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
    AccessExpires float64
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    AccessId string
    Auth Method access ID
    AllowedClientTypes []string
    limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    AllowedRedirectUris []string
    Allowed redirect URIs after the authentication
    Audience string
    Audience claim to be used as part of the authentication flow. In case set, it must match the one configured on the Identity Provider's Application
    AuditLogsClaims []string
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    AuthMethodOidcId string
    The ID of this resource.
    BoundIps []string
    A CIDR whitelist with the IPs that the access is restricted to
    ClientId string
    Client ID
    ClientSecret string
    Client Secret
    DeleteProtection string
    Protection from accidental deletion of this object [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
    Issuer string
    Issuer URL
    JwtTtl float64
    Jwt TTL
    Name string
    Auth Method name
    ProductTypes []string
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    RequiredScopes []string
    RequiredScopes is a list of required scopes that the oidc method will request from the oidc provider and the user must approve
    RequiredScopesPrefix string
    RequiredScopesPrefix is a a prefix to add to all required-scopes when requesting them from the oidc server (for example, azures' Application ID URI)
    SubclaimsDelimiters []string
    A list of additional sub claims delimiters (relevant only for SAML, OIDC, OAuth2/JWT)
    UniqueIdentifier string
    A unique identifier (ID) value should be configured for OIDC, OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
    accessExpires Double
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    accessId String
    Auth Method access ID
    allowedClientTypes List<String>
    limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    allowedRedirectUris List<String>
    Allowed redirect URIs after the authentication
    audience String
    Audience claim to be used as part of the authentication flow. In case set, it must match the one configured on the Identity Provider's Application
    auditLogsClaims List<String>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodOidcId String
    The ID of this resource.
    boundIps List<String>
    A CIDR whitelist with the IPs that the access is restricted to
    clientId String
    Client ID
    clientSecret String
    Client Secret
    deleteProtection String
    Protection from accidental deletion of this object [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
    issuer String
    Issuer URL
    jwtTtl Double
    Jwt TTL
    name String
    Auth Method name
    productTypes List<String>
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    requiredScopes List<String>
    RequiredScopes is a list of required scopes that the oidc method will request from the oidc provider and the user must approve
    requiredScopesPrefix String
    RequiredScopesPrefix is a a prefix to add to all required-scopes when requesting them from the oidc server (for example, azures' Application ID URI)
    subclaimsDelimiters List<String>
    A list of additional sub claims delimiters (relevant only for SAML, OIDC, OAuth2/JWT)
    uniqueIdentifier String
    A unique identifier (ID) value should be configured for OIDC, OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
    accessExpires number
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    accessId string
    Auth Method access ID
    allowedClientTypes string[]
    limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    allowedRedirectUris string[]
    Allowed redirect URIs after the authentication
    audience string
    Audience claim to be used as part of the authentication flow. In case set, it must match the one configured on the Identity Provider's Application
    auditLogsClaims string[]
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodOidcId string
    The ID of this resource.
    boundIps string[]
    A CIDR whitelist with the IPs that the access is restricted to
    clientId string
    Client ID
    clientSecret string
    Client Secret
    deleteProtection string
    Protection from accidental deletion of this object [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
    issuer string
    Issuer URL
    jwtTtl number
    Jwt TTL
    name string
    Auth Method name
    productTypes string[]
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    requiredScopes string[]
    RequiredScopes is a list of required scopes that the oidc method will request from the oidc provider and the user must approve
    requiredScopesPrefix string
    RequiredScopesPrefix is a a prefix to add to all required-scopes when requesting them from the oidc server (for example, azures' Application ID URI)
    subclaimsDelimiters string[]
    A list of additional sub claims delimiters (relevant only for SAML, OIDC, OAuth2/JWT)
    uniqueIdentifier string
    A unique identifier (ID) value should be configured for OIDC, 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_client_types Sequence[str]
    limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    allowed_redirect_uris Sequence[str]
    Allowed redirect URIs after the authentication
    audience str
    Audience claim to be used as part of the authentication flow. In case set, it must match the one configured on the Identity Provider's Application
    audit_logs_claims Sequence[str]
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    auth_method_oidc_id str
    The ID of this resource.
    bound_ips Sequence[str]
    A CIDR whitelist with the IPs that the access is restricted to
    client_id str
    Client ID
    client_secret str
    Client Secret
    delete_protection str
    Protection from accidental deletion of this object [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
    issuer str
    Issuer URL
    jwt_ttl float
    Jwt TTL
    name str
    Auth Method name
    product_types Sequence[str]
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    required_scopes Sequence[str]
    RequiredScopes is a list of required scopes that the oidc method will request from the oidc provider and the user must approve
    required_scopes_prefix str
    RequiredScopesPrefix is a a prefix to add to all required-scopes when requesting them from the oidc server (for example, azures' Application ID URI)
    subclaims_delimiters Sequence[str]
    A list of additional sub claims delimiters (relevant only for SAML, OIDC, OAuth2/JWT)
    unique_identifier str
    A unique identifier (ID) value should be configured for OIDC, OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a sub claim that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
    accessExpires Number
    Access expiration date in Unix timestamp (select 0 for access without expiry date)
    accessId String
    Auth Method access ID
    allowedClientTypes List<String>
    limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
    allowedRedirectUris List<String>
    Allowed redirect URIs after the authentication
    audience String
    Audience claim to be used as part of the authentication flow. In case set, it must match the one configured on the Identity Provider's Application
    auditLogsClaims List<String>
    Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
    authMethodOidcId String
    The ID of this resource.
    boundIps List<String>
    A CIDR whitelist with the IPs that the access is restricted to
    clientId String
    Client ID
    clientSecret String
    Client Secret
    deleteProtection String
    Protection from accidental deletion of this object [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
    issuer String
    Issuer URL
    jwtTtl Number
    Jwt TTL
    name String
    Auth Method name
    productTypes List<String>
    Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
    requiredScopes List<String>
    RequiredScopes is a list of required scopes that the oidc method will request from the oidc provider and the user must approve
    requiredScopesPrefix String
    RequiredScopesPrefix is a a prefix to add to all required-scopes when requesting them from the oidc server (for example, azures' Application ID URI)
    subclaimsDelimiters List<String>
    A list of additional sub claims delimiters (relevant only for SAML, OIDC, OAuth2/JWT)
    uniqueIdentifier String
    A unique identifier (ID) value should be configured for OIDC, 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.

    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.