You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/book/src/cli/convert-kubeconfig.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@ Flags:
34
34
--password string password forropc login flow. It may be specifiedin AAD_USER_PRINCIPAL_PASSWORD or AZURE_PASSWORD environment variable
35
35
--pop-claims key=val,key2=val2 contains a comma-separated list of claims to attach to the pop token in the format key=val,key2=val2. At minimum, specify the ARM ID of the cluster as `u=ARM_ID`
36
36
--pop-enabled set to true to use a PoP token for authentication or false to use a regular bearer token
37
+
--redirect-url string The URL Microsoft Entra ID will redirect to with the access token. This is only used for interactive login. This is an optional parameter.
37
38
--server-id string AAD server application ID
38
39
-t, --tenant-id string AAD tenant ID. It may be specified in AZURE_TENANT_ID environment variable
39
40
--timeout duration Timeout duration forAzure CLI token requests. It may be specifiedin AZURE_CLI_TIMEOUT environment variable (default 30s)
Copy file name to clipboardExpand all lines: docs/book/src/cli/get-token.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ Flags:
29
29
--password string password forropc login flow. It may be specifiedin AAD_USER_PRINCIPAL_PASSWORD or AZURE_PASSWORD environment variable
30
30
--pop-claims key=val,key2=val2 contains a comma-separated list of claims to attach to the pop token in the format key=val,key2=val2. At minimum, specify the ARM ID of the cluster as `u=ARM_ID`
31
31
--pop-enabled set to true to use a PoP token for authentication or false to use a regular bearer token
32
+
--redirect-url string The URL Microsoft Entra ID will redirect to with the access token. This is only used for interactive login. This is an optional parameter.
32
33
--server-id string AAD server application ID
33
34
-t, --tenant-id string AAD tenant ID. It may be specified in AZURE_TENANT_ID environment variable
34
35
--timeout duration Timeout duration forAzure CLI token requests. It may be specifiedin AZURE_CLI_TIMEOUT environment variable (default 30s)
Copy file name to clipboardExpand all lines: pkg/internal/token/options.go
+19-13Lines changed: 19 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,7 @@ type Options struct {
41
41
UsePersistentCachebool
42
42
DisableInstanceDiscoverybool
43
43
httpClient*http.Client
44
+
RedirectURLstring
44
45
}
45
46
46
47
const (
@@ -119,6 +120,7 @@ func (o *Options) AddFlags(fs *pflag.FlagSet) {
119
120
fs.StringVar(&o.PoPTokenClaims, "pop-claims", o.PoPTokenClaims, "contains a comma-separated list of claims to attach to the pop token in the format `key=val,key2=val2`. At minimum, specify the ARM ID of the cluster as `u=ARM_ID`")
120
121
fs.BoolVar(&o.DisableEnvironmentOverride, "disable-environment-override", o.DisableEnvironmentOverride, "Enable or disable the use of env-variables. Default false")
121
122
fs.BoolVar(&o.DisableInstanceDiscovery, "disable-instance-discovery", o.DisableInstanceDiscovery, "set to true to disable instance discovery in environments with their own simple Identity Provider (not AAD) that do not have instance metadata discovery endpoint. Default false")
123
+
fs.StringVar(&o.RedirectURL, "redirect-url", o.RedirectURL, "The URL Microsoft Entra ID will redirect to with the access token. This is only used for interactive login. This is an optional parameter.")
122
124
}
123
125
124
126
func (o*Options) Validate() error {
@@ -275,19 +277,23 @@ func (o *Options) GetCloudConfiguration() cloud.Configuration {
0 commit comments