From 8ab92a957729e4a9543fd3d80b34b7dc35611161 Mon Sep 17 00:00:00 2001 From: Scott Gorsuch Date: Mon, 22 Sep 2025 16:07:02 -0400 Subject: [PATCH] Adds support for short-user-agent via okta.yaml --- README.md | 2 ++ internal/config/config.go | 1 + 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 2f20471..f45e842 100644 --- a/README.md +++ b/README.md @@ -657,6 +657,7 @@ awscli: aws-iam-role: "arn:aws:iam::123:role/S3_Read" write-aws-credentials: true open-browser: true + short-user-agent: true production: oidc-client-id: "0opabc" org-domain: "org-prd.okata.com" @@ -664,6 +665,7 @@ awscli: aws-iam-role: "arn:aws:iam::456:role/S3_Read" write-aws-credentials: true open-browser: true + short-user-agent: false ``` ## Debug okta.yaml diff --git a/internal/config/config.go b/internal/config/config.go index b724936..ad70acc 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -258,6 +258,7 @@ type OktaYamlConfigProfile struct { LegacyAWSVariables string `yaml:"legacy-aws-variables"` ExpiryAWSVariables string `yaml:"expiry-aws-variables"` CacheAccessToken string `yaml:"cache-access-token"` + ShortUserAgent string `yaml:"short-user-agent"` Username string `yaml:"username"` Password string `yaml:"password"` }