Commit Graph

20 Commits

Author SHA1 Message Date
Nathan Herring
d55ef6cc03 Fix inverted logic for --call_creds=none.
Fixes #16622. Follow up to change 6e3938c. Thanks to @bluecmd for pointing it out.
2018-10-01 10:13:04 +02:00
Nathan Herring
916a686ef3 Revert "Use grpc_slice_unref_internal"
This reverts commit 147826a909.
2018-09-11 09:32:06 +02:00
Nathan Herring
2d8c682cac Revert "Missing #include"
This reverts commit 234fdc6fbf.
2018-09-11 09:31:39 +02:00
Nathan Herring
0cf90ae506 Merge branch 'master' into cli-client-cert 2018-09-10 10:54:30 +02:00
Nathan Herring
234fdc6fbf Missing #include 2018-08-21 23:28:45 +02:00
Nathan Herring
147826a909 Use grpc_slice_unref_internal 2018-08-21 23:16:22 +02:00
Nathan Herring
c173b196d6 Add flags to use client certs for cli.
This allows `grpc_cli` to act with the specific client identity when using SSL. It does _not_ however set the cert when using Google Default Credentials, as it does not have the necessary options to provide a client cert and key.
2018-08-09 11:29:05 -05:00
Nathan Herring
6e3938c829 This replaces mutually-exclusive flags for a single selector flag which defines the call credentials to composite over any channel credentials. It is the call credentials version of #16204.
Fixes issue #16205.
2018-08-09 11:11:37 -05:00
Nathan Herring
e1a0f235e1 Shorten flag value to gdc. 2018-08-07 15:27:40 -07:00
Nathan Herring
3b2b237b3b Make google_default_credentials be an additional channel type. 2018-08-07 09:22:33 -07:00
Nathan Herring
9ddb23442b Clang format. 2018-08-01 13:08:03 +02:00
Nathan Herring
ab8b628b31 Create a --channel_creds_type flag for grpc_cli.
This replaces several mutually-exclusive flags for a single selector flag which defines
the base channel type. It also allows child classes to selectively override the defaults
and provide additional channel types (e.g., LOAS in the mono repo).

Fixes issue #16060.
2018-08-01 12:41:37 +02:00
Nathan Herring
0fee91e002 More clang format 2018-07-21 08:21:18 +02:00
Nathan Herring
6f1604b1eb Fixup: Use a more exact logic for google default credentials. 2018-07-20 15:23:04 +02:00
Nathan Herring
e1d94dfe60 GoogleDefaultCredentials use SSL under the covers; include that case. 2018-07-19 21:32:11 +02:00
Nathan Herring
3ed81c8d65 Introduce --ssl_target flag to grpc_cli.
This allows the client to specify the host name of the remote server for the purposes of TLS certificate validation, useful for test certificates and machines with ephemeral IP
addresses with no associated DNS entries that have been assigned TLS certificates.
2018-07-19 18:30:27 +02:00
Yuchen Zeng
487ee31b9e Address review comments 2017-12-14 14:57:38 -08:00
Yuchen Zeng
243505060a Support access token credential in grpc_cli 2017-12-14 11:42:16 -08:00
Jan Tattermusch
7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Yuchen Zeng
02139a05dc Add CliCredentials, config_grpc_cli.h 2016-08-15 11:34:21 -07:00