make it clear we expect pem format not some other formate (#8344)

This commit is contained in:
Megan Marsh 2019-11-07 01:30:51 -08:00 committed by Adrien Delorme
parent d4a58f59e5
commit d5ba530b26
2 changed files with 4 additions and 2 deletions

View File

@ -36,7 +36,8 @@ type Config struct {
ClientID string `mapstructure:"client_id"`
// A password/secret registered for the AAD SP.
ClientSecret string `mapstructure:"client_secret"`
// The path to a certificate that will be used to authenticate as the specified AAD SP.
// The path to a pem-encoded certificate that will be used to authenticate
// as the specified AAD SP.
ClientCertPath string `mapstructure:"client_cert_path"`
// A JWT bearer token for client auth (RFC 7523, Sec. 2.2) that will be used
// to authenticate the AAD SP. Provides more control over token the expiration

View File

@ -9,7 +9,8 @@
- `client_secret` (string) - A password/secret registered for the AAD SP.
- `client_cert_path` (string) - The path to a certificate that will be used to authenticate as the specified AAD SP.
- `client_cert_path` (string) - The path to a pem-encoded certificate that will be used to authenticate
as the specified AAD SP.
- `client_jwt` (string) - A JWT bearer token for client auth (RFC 7523, Sec. 2.2) that will be used
to authenticate the AAD SP. Provides more control over token the expiration