Creates a certificate at a specified OU for a customer.
HTTP request
POST https://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies/networks:defineCertificate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customer |
Required. The customer for which the certificate will apply. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"targetResource": string,
"ceritificateName": string,
"certificate": string,
"settings": [
{
object ( |
Fields | |
---|---|
targetResource |
Required. The target resource on which this certificate is applied. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}") |
ceritificateName |
Optional. The optional name of the certificate. If not specified, the certificate issuer will be used as the name. |
certificate |
Required. The raw contents of the .PEM, .CRT, or .CER file. |
settings[] |
Optional. Certificate settings within the chrome.networks.certificates namespace. |
Response body
Response object for creating a certificate.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"settings": [
{
object ( |
Fields | |
---|---|
settings[] |
the affiliated settings of the certificate (NOT IMPLEMENTED) |
networkId |
The guid of the certificate created by the action. |
targetResource |
the resource at which the certificate is defined. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/chrome.management.policy