GCP Authenticator
This topic describes the GCP Authenticator API.
Use the GCP Authenticator API to send an authentication request from a Google Cloud service to Conjur.
For more information about GCP authentication, see GCP Authenticator.
URI
|
URI Parameters
account |
The organization's account name |
Request
Header |
|
||
Body |
The body must include the Google JWT identity token for the Google Cloud service, for example:
|
Example REST request
|
Response
Code |
Description |
---|---|
200 |
The response body is the access token |
401 |
The request lacks valid authentication credentials |
Response 200 example
Header
|
Body
Returns a base 64 access token of the application on the Google Cloud service whose Google token is provided in the input:
|
For more information about using the access token, see How to use the access token.
Troubleshooting the GCP Authenticator API
This section lists issues that may arise and recommended solutions:
Issue: The following error appears in the logs:
Authentication Error: #<NoMethodError: undefined method `<some_method>' for #<String:0x0000560784713130>> |
Possible solution:
Run the request again without the host ID in the URL. The host ID is concluded by the token provided to the request.