#include "test/cpp/util/cli_credentials.h"#include "absl/flags/flag.h"#include <grpc/slice.h>#include <grpc/support/log.h>#include <grpcpp/impl/codegen/slice.h>#include "src/core/lib/iomgr/load_file.h"
Go to the source code of this file.
Namespaces | |
| grpc | |
| grpc::testing | |
Functions | |
| ABSL_FLAG (std::string, call_creds, "", "Call credentials to use: none (default), or access_token=<token>. If " "provided, the call creds are composited on top of channel creds.") | |
| ABSL_FLAG (std::string, channel_creds_type, "", "The channel creds type: insecure, ssl, gdc (Google Default Credentials), " "alts, or local.") | |
| ABSL_FLAG (std::string, local_connect_type, "local_tcp", "The type of local connections for which local channel credentials will " "be applied. Should be local_tcp or uds.") | |
| ABSL_FLAG (std::string, ssl_client_cert, "", "If not empty, load this PEM formatted client certificate file. Requires " "use of --ssl_client_key.") | |
| ABSL_FLAG (std::string, ssl_client_key, "", "If not empty, load this PEM formatted private key. Requires use of " "--ssl_client_cert") | |
| ABSL_FLAG (std::string, ssl_target, "", "If not empty, treat the server host name as this for ssl/tls certificate " "validation.") | |
| ABSL_RETIRED_FLAG (bool, enable_ssl, false, "Replaced by --channel_creds_type=ssl.") | |
| ABSL_RETIRED_FLAG (bool, use_auth, false, "Replaced by --channel_creds_type=gdc.") | |
| ABSL_RETIRED_FLAG (std::string, access_token, "", "Replaced by --call_creds=access_token=<token>.") | |
| ABSL_FLAG | ( | std::string | , |
| call_creds | , | ||
| "" | , | ||
| "Call credentials to use: none | default, | ||
| or | access_token = <token>. If " "provided, |
||
| the call creds are composited on top of channel creds." | |||
| ) |
| ABSL_FLAG | ( | std::string | , |
| channel_creds_type | , | ||
| "" | , | ||
| "The channel creds type: | insecure, | ||
| ssl | , | ||
| gdc(Google Default Credentials) | , | ||
| " " | alts, | ||
| or local." | |||
| ) |
| ABSL_FLAG | ( | std::string | , |
| local_connect_type | , | ||
| "local_tcp" | , | ||
| "The type of local connections for which local channel credentials will " "be applied. Should be local_tcp or uds." | |||
| ) |
| ABSL_FLAG | ( | std::string | , |
| ssl_client_cert | , | ||
| "" | , | ||
| "If not | empty, | ||
| load this PEM formatted client certificate file. Requires " "use of --ssl_client_key." | |||
| ) |
| ABSL_FLAG | ( | std::string | , |
| ssl_client_key | , | ||
| "" | , | ||
| "If not | empty, | ||
| load this PEM formatted private key. Requires use of " "--ssl_client_cert" | |||
| ) |
| ABSL_FLAG | ( | std::string | , |
| ssl_target | , | ||
| "" | , | ||
| "If not | empty, | ||
| treat the server host name as this for ssl/tls certificate " "validation." | |||
| ) |
| ABSL_RETIRED_FLAG | ( | std::string | , |
| access_token | , | ||
| "" | |||
| ) |