auth/gcp: adds note on custom endpoints to configuration section (#15990)

This commit is contained in:
Austin Gebauer 2022-06-15 10:06:58 -07:00 committed by GitHub
parent 5841875fe3
commit c6173f64bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 9 deletions

View File

@ -32,6 +32,3 @@ determine these.
- `jwt_exp` `(string or int: optional)` - The number of minutes a generated JWT - `jwt_exp` `(string or int: optional)` - The number of minutes a generated JWT
should be valid for when using the `iam` method; defaults to 15 minutes should be valid for when using the `iam` method; defaults to 15 minutes
-> **Note:** The `project` parameter has been removed in Vault 1.5.9+, 1.6.5+, and 1.7.2+.
It is no longer needed for configuration and will be ignored if provided.

View File

@ -26,7 +26,7 @@ but is automatically bundled in Vault releases. Please file all feature
requests, bugs, and pull requests specific to the GCP plugin under that requests, bugs, and pull requests specific to the GCP plugin under that
repository. repository.
## Authenticate ## Authentication
### Via the CLI Helper ### Via the CLI Helper
@ -43,9 +43,6 @@ $ vault login -method=gcp \
For more usage information, run `vault auth help gcp`. For more usage information, run `vault auth help gcp`.
-> **Note:** The `project` parameter has been removed in Vault 1.5.9+, 1.6.5+, and 1.7.2+.
It is no longer needed for configuration and will be ignored if provided.
### Via the CLI ### Via the CLI
```shell-session ```shell-session
@ -88,7 +85,11 @@ management tool.
If you are using instance credentials or want to specify credentials via If you are using instance credentials or want to specify credentials via
an environment variable, you can skip this step. To learn more, see the an environment variable, you can skip this step. To learn more, see the
[Google Cloud Authentication](#authentication) section below. [Google Cloud Credentials](#gcp-credentials) section below.
-> **Note**: If you're using a [Private Google Access](https://cloud.google.com/vpc/docs/configure-private-google-access)
environment, you will additionally need to configure your environments custom endpoints
via the [custom_endpoint](/api-docs/auth/gcp#custom_endpoint) configuration parameter.
1. Create a named role: 1. Create a named role:
@ -118,7 +119,7 @@ management tool.
For the complete list of configuration options for each type, please see the For the complete list of configuration options for each type, please see the
[API documentation][api-docs]. [API documentation][api-docs].
## Authentication ## GCP Credentials
The Google Cloud Vault auth method uses the official Google Cloud Golang SDK. The Google Cloud Vault auth method uses the official Google Cloud Golang SDK.
This means it supports the common ways of [providing credentials to Google This means it supports the common ways of [providing credentials to Google