Loading...
Loading...
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
sidecar_id = lattice_agent.main.id
}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"
sidecar_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 |
|---|---|---|---|---|
sidecar_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 template:
source = "registry.latticeruntime.com/lattice/agent-identity/lattice"