Skip to content

Commit

Permalink
chore: Add a comment notifying the change
Browse files Browse the repository at this point in the history
Signed-off-by: Karanjot Singh <[email protected]>
  • Loading branch information
0xquark committed Jan 27, 2025
1 parent 9bbda0d commit 6ae5240
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion atlan/model/structs/api_tokens.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ import (

const (
ServiceAccount = "SERVICE_ACCOUNT_"
MaxValidity = 157680000
// The value was previously set to 13 years (409968000 secs).
// It has been reverted to 5 years due to an integer overflow issue in Keycloak.
// https://github.com/keycloak/keycloak/issues/19671
MaxValidity = 157680000 // 5 years in seconds
)

// ApiTokenPersona represents a linked persona in the API token model.
Expand Down

0 comments on commit 6ae5240

Please sign in to comment.