lattice/agent-identity
Configure identity and authentication for AI agents in Lattice Runtime
module "agent-identity" {
source = "registry.latticeruntime.com/lattice/agent-identity/lattice"
version = "1.0.0"
# Configure module inputs
agent_id = lattice_agent.main.id
}| Name | Description | Type | Default |
|---|---|---|---|
provider_type | Identity provider type (oidc, oauth2, apikey) | string | "oidc" |
issuer_url | OIDC issuer URL | string | "" |
client_id | OAuth client ID | string | "" |
enable_api_keys | Enable API key generation for the agent | bool | false |
token_lifetime | JWT token lifetime in seconds | number | 3600 |
| Name | Description |
|---|---|
token_endpoint | The token issuance endpoint |
This module configures identity and authentication for AI agents running in Lattice Runtime.
module "agent-identity" {
source = "registry.latticeruntime.com/lattice/agent-identity/lattice"
version = "1.0.0"
agent_id = lattice_agent.main.id
# Configure identity provider
provider_type = "oidc"
issuer_url = "https://auth.example.com"
client_id = var.oidc_client_id
# Optional: Enable API key generation
enable_api_keys = true
}
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
agent_id |
The ID of the Lattice agent | string |
- | yes |
provider_type |
Identity provider type (oidc, oauth2, apikey) | string |
"oidc" |
no |
issuer_url |
OIDC issuer URL | string |
"" |
no |
client_id |
OAuth client ID | string |
"" |
no |
enable_api_keys |
Enable API key generation for the agent | bool |
false |
no |
token_lifetime |
JWT token lifetime in seconds | number |
3600 |
no |
| Name | Description |
|---|---|
identity_endpoint |
The identity service endpoint |
token_endpoint |
The token issuance endpoint |
Add to your Lattice template:
source = "registry.latticeruntime.com/lattice/agent-identity/lattice"