Skip to main content

Identity Provider Refresh Directory Settings

caution

This option is no longer supported, please see Upgrade Guide

  • Environmental Variables: IDP_REFRESH_DIRECTORY_INTERVAL IDP_REFRESH_DIRECTORY_TIMEOUT
  • Config File Key: idp_refresh_directory_interval idp_refresh_directory_timeout
  • Type: Go Duration string
  • Example: IDP_REFRESH_DIRECTORY_INTERVAL=30m
  • Defaults: IDP_REFRESH_DIRECTORY_INTERVAL=10m IDP_REFRESH_DIRECTORY_TIMEOUT=1m

Refresh directory interval is the time that pomerium will sync your IDP directory, while refresh directory timeout is the maximum time allowed each run.

danger

Use it at your own risk, if you set a too low value, you may reach IDP API rate limit.