Method: installer.generateSecret
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
HTTP 요청
POST https://sasportal.googleapis.com/v1alpha1/installer:generateSecret
URL은 gRPC 트랜스코딩 구문을 사용합니다.
응답 본문
성공하면 응답 본문에 다음과 같은 구조의 데이터가 포함됩니다.
JSON 표현 |
{
"secret": string
} |
필드 |
secret |
string
문자열에 의해 생성되고 installer.validate 에 의해 사용되는 보안 비밀입니다.
|
승인 범위
다음과 같은 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/sasportal
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eGenerates a secret used for installer validation via the \u003ccode\u003einstaller.validate\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eEmploys a \u003ccode\u003ePOST\u003c/code\u003e request to \u003ccode\u003ehttps://sasportal.googleapis.com/v1alpha1/installer:generateSecret\u003c/code\u003e with an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eThe response provides a JSON object containing the generated secret.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes gRPC Transcoding for the URL structure and necessitates the \u003ccode\u003ehttps://www.googleapis.com/auth/sasportal\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["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"],null,["# Method: installer.generateSecret\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.GenerateSecretResponse.SCHEMA_REPRESENTATION)\n- [Authorization Scopes](#body.aspect)\n\nGenerates a secret to be used with the [installer.validate](/spectrum-access-system/reference/rest/v1alpha1/installer/validate#spectrum.sas.portal.v1alpha1.DeviceManager.ValidateInstaller).\n\n### HTTP request\n\n`POST https://sasportal.googleapis.com/v1alpha1/installer:generateSecret`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\nResponse for [installer.generateSecret](/spectrum-access-system/reference/rest/v1alpha1/installer/generateSecret#spectrum.sas.portal.v1alpha1.DeviceManager.GenerateSecret).\n\n| JSON representation |\n|------------------------------|\n| ``` { \"secret\": string } ``` |\n\n| Fields ||\n|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `secret` | `string` The secret generated by the string and used by [installer.validate](/spectrum-access-system/reference/rest/v1alpha1/installer/validate#spectrum.sas.portal.v1alpha1.DeviceManager.ValidateInstaller). |\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/sasportal`"]]