Skip to content
Discussion options

You must be logged in to vote

1. TTL across roles. Yes. In the role reference, max_session_ttl is listed with the merge rule "The shortest TTL wins", so one 1h role caps every login of that user. There is no per-resource TTL inside a single login. Your plan fits the documented model: register each database twice with access=ro / access=rw labels, scope the roles by label, and set require_session_mfa: true on the rw role. In the per-session MFA guide ("Per role"), the option is set on a role and applies to what that role grants; each MFA check stays valid for up to 5 minutes, after which new connections ask again. mfa_verification_interval is also listed as "shortest interval wins" in the role options table.

2. The err…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zuhairhalawa
Comment options

@omerlh
Comment options

Answer selected by omerlh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants