File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ import (
1515
1616const (
1717 clientIDEnv = "STACKIT_SERVICE_ACCOUNT_EMAIL"
18- FederatedTokenFileEnv = "STACKIT_FEDERATED_TOKEN_FILE" //nolint:gosec // This is not a secret, just the env variable name
19- wifTokenEndpointEnv = "STACKIT_IDP_ENDPOINT " //nolint:gosec // This is not a secret, just the env variable name
20- wifTokenExpirationEnv = "STACKIT_IDP_EXPIRATION_SECONDS " //nolint:gosec // This is not a secret, just the env variable name
18+ FederatedTokenFileEnv = "STACKIT_FEDERATED_TOKEN_FILE" //nolint:gosec // This is not a secret, just the env variable name
19+ wifTokenEndpointEnv = "STACKIT_IDP_TOKEN_ENDPOINT " //nolint:gosec // This is not a secret, just the env variable name
20+ wifTokenExpirationEnv = "STACKIT_IDP_TOKEN_EXPIRATION_SECONDS " //nolint:gosec // This is not a secret, just the env variable name
2121
2222 wifClientAssertionType = "urn:schwarz:params:oauth:client-assertion-type:workload-jwt"
2323 wifGrantType = "client_credentials"
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ func TestWorkloadIdentityFlowInit(t *testing.T) {
7070 flowConfig := & WorkloadIdentityFederationFlowConfig {}
7171 if tt .customTokenUrl != "" {
7272 if tt .customTokenUrlEnv {
73- t .Setenv ("STACKIT_IDP_ENDPOINT " , tt .customTokenUrl )
73+ t .Setenv ("STACKIT_IDP_TOKEN_ENDPOINT " , tt .customTokenUrl )
7474 } else {
7575 flowConfig .TokenUrl = tt .customTokenUrl
7676 }
You can’t perform that action at this time.
0 commit comments