Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dex expiry settings #233

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

kmbae
Copy link

@kmbae kmbae commented Nov 21, 2024

Support for expiry settings for dex-auth-operator

Below is the example code to set expiry,

juju config dex-auth enable-expiry=true

cat <<EOF > expiry.json
{
"idTokens": "240h",
"deviceRequests": "5m",
"signingKeys": "6h",
"refreshTokens": {
"disableRotation": false,
"reuseInterval": "3s",
"validIfNotUsedFor": "2160h", # 90 days
"absoluteLifetime": "3960h", # 165 days
}
}
EOF
EXP_JSON=$(cat expiry.json)

juju config dex-auth expiry-settings="$EXP_JSON"

@kmbae kmbae requested a review from a team as a code owner November 21, 2024 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant