Skip to content

Commit

Permalink
Remove unused experimental cache file flag
Browse files Browse the repository at this point in the history
  • Loading branch information
banikharbanda committed Aug 15, 2024
1 parent 7a76f17 commit fe5b71e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions go/pkg/credshelper/credshelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ const (
CredshelperPathFlag = "credentials_helper"
// CredshelperArgsFlag is the flag used to pass in the arguments to the credentials helper binary.
CredshelperArgsFlag = "credentials_helper_args"
// ExperimentalCredsCachePathFlag is the flag used to pass in the path of the file where credentials should be cached.
ExperimentalCredsCachePathFlag = "experimental_creds_cache_file"

expiryBuffer = 5 * time.Minute
)
Expand Down
2 changes: 0 additions & 2 deletions go/pkg/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ var (
CredentialsHelper = flag.String(credshelper.CredshelperPathFlag, "", "Path to the credentials helper binary. If given execrell://, looks for the `credshelper` binary in the same folder as the current executable.")
// CredentialsHelperArgs specifies arguments for the credentials helper binary,
CredentialsHelperArgs = flag.String(credshelper.CredshelperArgsFlag, "", "Arguments for the credentials helper, separated by space.")
// CredsCache specifies the file path where credentials recieved from the credentials helper are cached. If no file is provided then no credentials are cached.
CredsCache = flag.String(credshelper.ExperimentalCredsCachePathFlag, "", "Path of the file where credentials should be cached. Credentials are not cached if no file path is provided.")
// UseRPCCredentials can be set to false to disable all per-RPC credentials.
UseRPCCredentials = flag.Bool("use_rpc_credentials", true, "If false, no per-RPC credentials will be used (disables --credential_file, --use_application_default_credentials, and --use_gce_credentials.")
// UseExternalAuthToken specifies whether to use an externally provided auth token, given via PerRPCCreds dial option, should be used.
Expand Down

0 comments on commit fe5b71e

Please sign in to comment.