Method: installer.generateSecret
HTTP request
POST https://sasportal.googleapis.com/v1alpha1/installer:generateSecret
The URL uses gRPC Transcoding syntax.
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
JSON representation |
{
"secret": string
} |
Fields |
secret |
string
The secret generated by the string and used by installer.validate .
|
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/sasportal
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-12-05 UTC.
[null,null,["Last updated 2023-12-05 UTC."],[[["Generates a secret used for installer validation via the `installer.validate` method."],["Employs a `POST` request to `https://sasportal.googleapis.com/v1alpha1/installer:generateSecret` with an empty request body."],["The response provides a JSON object containing the generated secret."],["Utilizes gRPC Transcoding for the URL structure and necessitates the `https://www.googleapis.com/auth/sasportal` OAuth scope."]]],["A secret is generated for use with the `installer.validate` function. The HTTP request is a `POST` to `https://sasportal.googleapis.com/v1alpha1/installer:generateSecret`. The request body must be empty. A successful response returns a JSON object containing a `secret` string. This action requires the `https://www.googleapis.com/auth/sasportal` OAuth scope for authorization. The gRPC Transcoding syntax is used to generate this secret.\n"]]