akeyless.AuthMethodUniversalIdentity
Explore with Pulumi AI
Akeyless Universal Identity Auth Method Resource
Create AuthMethodUniversalIdentity Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AuthMethodUniversalIdentity(name: string, args?: AuthMethodUniversalIdentityArgs, opts?: CustomResourceOptions);
@overload
def AuthMethodUniversalIdentity(resource_name: str,
args: Optional[AuthMethodUniversalIdentityArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def AuthMethodUniversalIdentity(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_expires: Optional[float] = None,
audit_logs_claims: Optional[Sequence[str]] = None,
auth_method_universal_identity_id: Optional[str] = None,
bound_ips: Optional[Sequence[str]] = None,
delete_protection: Optional[str] = None,
deny_inheritance: Optional[bool] = None,
deny_rotate: Optional[bool] = None,
force_sub_claims: Optional[bool] = None,
jwt_ttl: Optional[float] = None,
name: Optional[str] = None,
ttl: Optional[float] = None)
func NewAuthMethodUniversalIdentity(ctx *Context, name string, args *AuthMethodUniversalIdentityArgs, opts ...ResourceOption) (*AuthMethodUniversalIdentity, error)
public AuthMethodUniversalIdentity(string name, AuthMethodUniversalIdentityArgs? args = null, CustomResourceOptions? opts = null)
public AuthMethodUniversalIdentity(String name, AuthMethodUniversalIdentityArgs args)
public AuthMethodUniversalIdentity(String name, AuthMethodUniversalIdentityArgs args, CustomResourceOptions options)
type: akeyless:AuthMethodUniversalIdentity
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 AuthMethodUniversalIdentityArgs
- 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 AuthMethodUniversalIdentityArgs
- 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 AuthMethodUniversalIdentityArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthMethodUniversalIdentityArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AuthMethodUniversalIdentityArgs
- 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 authMethodUniversalIdentityResource = new Akeyless.AuthMethodUniversalIdentity("authMethodUniversalIdentityResource", new()
{
AccessExpires = 0,
AuditLogsClaims = new[]
{
"string",
},
AuthMethodUniversalIdentityId = "string",
BoundIps = new[]
{
"string",
},
DeleteProtection = "string",
DenyInheritance = false,
DenyRotate = false,
ForceSubClaims = false,
JwtTtl = 0,
Name = "string",
Ttl = 0,
});
example, err := akeyless.NewAuthMethodUniversalIdentity(ctx, "authMethodUniversalIdentityResource", &akeyless.AuthMethodUniversalIdentityArgs{
AccessExpires: pulumi.Float64(0),
AuditLogsClaims: pulumi.StringArray{
pulumi.String("string"),
},
AuthMethodUniversalIdentityId: pulumi.String("string"),
BoundIps: pulumi.StringArray{
pulumi.String("string"),
},
DeleteProtection: pulumi.String("string"),
DenyInheritance: pulumi.Bool(false),
DenyRotate: pulumi.Bool(false),
ForceSubClaims: pulumi.Bool(false),
JwtTtl: pulumi.Float64(0),
Name: pulumi.String("string"),
Ttl: pulumi.Float64(0),
})
var authMethodUniversalIdentityResource = new AuthMethodUniversalIdentity("authMethodUniversalIdentityResource", AuthMethodUniversalIdentityArgs.builder()
.accessExpires(0)
.auditLogsClaims("string")
.authMethodUniversalIdentityId("string")
.boundIps("string")
.deleteProtection("string")
.denyInheritance(false)
.denyRotate(false)
.forceSubClaims(false)
.jwtTtl(0)
.name("string")
.ttl(0)
.build());
auth_method_universal_identity_resource = akeyless.AuthMethodUniversalIdentity("authMethodUniversalIdentityResource",
access_expires=0,
audit_logs_claims=["string"],
auth_method_universal_identity_id="string",
bound_ips=["string"],
delete_protection="string",
deny_inheritance=False,
deny_rotate=False,
force_sub_claims=False,
jwt_ttl=0,
name="string",
ttl=0)
const authMethodUniversalIdentityResource = new akeyless.AuthMethodUniversalIdentity("authMethodUniversalIdentityResource", {
accessExpires: 0,
auditLogsClaims: ["string"],
authMethodUniversalIdentityId: "string",
boundIps: ["string"],
deleteProtection: "string",
denyInheritance: false,
denyRotate: false,
forceSubClaims: false,
jwtTtl: 0,
name: "string",
ttl: 0,
});
type: akeyless:AuthMethodUniversalIdentity
properties:
accessExpires: 0
auditLogsClaims:
- string
authMethodUniversalIdentityId: string
boundIps:
- string
deleteProtection: string
denyInheritance: false
denyRotate: false
forceSubClaims: false
jwtTtl: 0
name: string
ttl: 0
AuthMethodUniversalIdentity 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 AuthMethodUniversalIdentity resource accepts the following input properties:
- Access
Expires double - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- Audit
Logs List<string>Claims - Subclaims to include in audit logs
- Auth
Method stringUniversal Identity Id - The ID of this resource.
- Bound
Ips List<string> - A CIDR whitelist with the IPs that the access is restricted to
- Delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- Deny
Inheritance bool - Deny from root to create children
- Deny
Rotate bool - Deny from the token to rotate
- Force
Sub boolClaims - enforce role-association must include sub claims
- Jwt
Ttl double - Creds expiration time in minutes
- Name string
- Auth Method name
- Ttl double
- Token ttl (in minutes)
- Access
Expires float64 - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- Audit
Logs []stringClaims - Subclaims to include in audit logs
- Auth
Method stringUniversal Identity Id - The ID of this resource.
- Bound
Ips []string - A CIDR whitelist with the IPs that the access is restricted to
- Delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- Deny
Inheritance bool - Deny from root to create children
- Deny
Rotate bool - Deny from the token to rotate
- Force
Sub boolClaims - enforce role-association must include sub claims
- Jwt
Ttl float64 - Creds expiration time in minutes
- Name string
- Auth Method name
- Ttl float64
- Token ttl (in minutes)
- access
Expires Double - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- audit
Logs List<String>Claims - Subclaims to include in audit logs
- auth
Method StringUniversal Identity Id - The ID of this resource.
- bound
Ips List<String> - A CIDR whitelist with the IPs that the access is restricted to
- delete
Protection String - Protection from accidental deletion of this auth method, [true/false]
- deny
Inheritance Boolean - Deny from root to create children
- deny
Rotate Boolean - Deny from the token to rotate
- force
Sub BooleanClaims - enforce role-association must include sub claims
- jwt
Ttl Double - Creds expiration time in minutes
- name String
- Auth Method name
- ttl Double
- Token ttl (in minutes)
- access
Expires number - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- audit
Logs string[]Claims - Subclaims to include in audit logs
- auth
Method stringUniversal Identity Id - The ID of this resource.
- bound
Ips string[] - A CIDR whitelist with the IPs that the access is restricted to
- delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- deny
Inheritance boolean - Deny from root to create children
- deny
Rotate boolean - Deny from the token to rotate
- force
Sub booleanClaims - enforce role-association must include sub claims
- jwt
Ttl number - Creds expiration time in minutes
- name string
- Auth Method name
- ttl number
- Token ttl (in minutes)
- access_
expires float - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- audit_
logs_ Sequence[str]claims - Subclaims to include in audit logs
- auth_
method_ struniversal_ identity_ id - The ID of this resource.
- bound_
ips Sequence[str] - A CIDR whitelist with the IPs that the access is restricted to
- delete_
protection str - Protection from accidental deletion of this auth method, [true/false]
- deny_
inheritance bool - Deny from root to create children
- deny_
rotate bool - Deny from the token to rotate
- force_
sub_ boolclaims - enforce role-association must include sub claims
- jwt_
ttl float - Creds expiration time in minutes
- name str
- Auth Method name
- ttl float
- Token ttl (in minutes)
- access
Expires Number - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- audit
Logs List<String>Claims - Subclaims to include in audit logs
- auth
Method StringUniversal Identity Id - The ID of this resource.
- bound
Ips List<String> - A CIDR whitelist with the IPs that the access is restricted to
- delete
Protection String - Protection from accidental deletion of this auth method, [true/false]
- deny
Inheritance Boolean - Deny from root to create children
- deny
Rotate Boolean - Deny from the token to rotate
- force
Sub BooleanClaims - enforce role-association must include sub claims
- jwt
Ttl Number - Creds expiration time in minutes
- name String
- Auth Method name
- ttl Number
- Token ttl (in minutes)
Outputs
All input properties are implicitly available as output properties. Additionally, the AuthMethodUniversalIdentity resource produces the following output properties:
Look up Existing AuthMethodUniversalIdentity Resource
Get an existing AuthMethodUniversalIdentity 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?: AuthMethodUniversalIdentityState, opts?: CustomResourceOptions): AuthMethodUniversalIdentity
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_expires: Optional[float] = None,
access_id: Optional[str] = None,
audit_logs_claims: Optional[Sequence[str]] = None,
auth_method_universal_identity_id: Optional[str] = None,
bound_ips: Optional[Sequence[str]] = None,
delete_protection: Optional[str] = None,
deny_inheritance: Optional[bool] = None,
deny_rotate: Optional[bool] = None,
force_sub_claims: Optional[bool] = None,
jwt_ttl: Optional[float] = None,
name: Optional[str] = None,
ttl: Optional[float] = None) -> AuthMethodUniversalIdentity
func GetAuthMethodUniversalIdentity(ctx *Context, name string, id IDInput, state *AuthMethodUniversalIdentityState, opts ...ResourceOption) (*AuthMethodUniversalIdentity, error)
public static AuthMethodUniversalIdentity Get(string name, Input<string> id, AuthMethodUniversalIdentityState? state, CustomResourceOptions? opts = null)
public static AuthMethodUniversalIdentity get(String name, Output<String> id, AuthMethodUniversalIdentityState state, CustomResourceOptions options)
resources: _: type: akeyless:AuthMethodUniversalIdentity get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Expires double - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- Access
Id string - Auth Method access ID
- Audit
Logs List<string>Claims - Subclaims to include in audit logs
- Auth
Method stringUniversal Identity Id - The ID of this resource.
- Bound
Ips List<string> - A CIDR whitelist with the IPs that the access is restricted to
- Delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- Deny
Inheritance bool - Deny from root to create children
- Deny
Rotate bool - Deny from the token to rotate
- Force
Sub boolClaims - enforce role-association must include sub claims
- Jwt
Ttl double - Creds expiration time in minutes
- Name string
- Auth Method name
- Ttl double
- Token ttl (in minutes)
- Access
Expires float64 - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- Access
Id string - Auth Method access ID
- Audit
Logs []stringClaims - Subclaims to include in audit logs
- Auth
Method stringUniversal Identity Id - The ID of this resource.
- Bound
Ips []string - A CIDR whitelist with the IPs that the access is restricted to
- Delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- Deny
Inheritance bool - Deny from root to create children
- Deny
Rotate bool - Deny from the token to rotate
- Force
Sub boolClaims - enforce role-association must include sub claims
- Jwt
Ttl float64 - Creds expiration time in minutes
- Name string
- Auth Method name
- Ttl float64
- Token ttl (in minutes)
- access
Expires Double - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- access
Id String - Auth Method access ID
- audit
Logs List<String>Claims - Subclaims to include in audit logs
- auth
Method StringUniversal Identity Id - The ID of this resource.
- bound
Ips List<String> - A CIDR whitelist with the IPs that the access is restricted to
- delete
Protection String - Protection from accidental deletion of this auth method, [true/false]
- deny
Inheritance Boolean - Deny from root to create children
- deny
Rotate Boolean - Deny from the token to rotate
- force
Sub BooleanClaims - enforce role-association must include sub claims
- jwt
Ttl Double - Creds expiration time in minutes
- name String
- Auth Method name
- ttl Double
- Token ttl (in minutes)
- access
Expires number - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- access
Id string - Auth Method access ID
- audit
Logs string[]Claims - Subclaims to include in audit logs
- auth
Method stringUniversal Identity Id - The ID of this resource.
- bound
Ips string[] - A CIDR whitelist with the IPs that the access is restricted to
- delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- deny
Inheritance boolean - Deny from root to create children
- deny
Rotate boolean - Deny from the token to rotate
- force
Sub booleanClaims - enforce role-association must include sub claims
- jwt
Ttl number - Creds expiration time in minutes
- name string
- Auth Method name
- ttl number
- Token ttl (in minutes)
- access_
expires float - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- access_
id str - Auth Method access ID
- audit_
logs_ Sequence[str]claims - Subclaims to include in audit logs
- auth_
method_ struniversal_ identity_ id - The ID of this resource.
- bound_
ips Sequence[str] - A CIDR whitelist with the IPs that the access is restricted to
- delete_
protection str - Protection from accidental deletion of this auth method, [true/false]
- deny_
inheritance bool - Deny from root to create children
- deny_
rotate bool - Deny from the token to rotate
- force_
sub_ boolclaims - enforce role-association must include sub claims
- jwt_
ttl float - Creds expiration time in minutes
- name str
- Auth Method name
- ttl float
- Token ttl (in minutes)
- access
Expires Number - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- access
Id String - Auth Method access ID
- audit
Logs List<String>Claims - Subclaims to include in audit logs
- auth
Method StringUniversal Identity Id - The ID of this resource.
- bound
Ips List<String> - A CIDR whitelist with the IPs that the access is restricted to
- delete
Protection String - Protection from accidental deletion of this auth method, [true/false]
- deny
Inheritance Boolean - Deny from root to create children
- deny
Rotate Boolean - Deny from the token to rotate
- force
Sub BooleanClaims - enforce role-association must include sub claims
- jwt
Ttl Number - Creds expiration time in minutes
- name String
- Auth Method name
- ttl Number
- Token ttl (in minutes)
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.