65 lines
2.0 KiB
YAML
65 lines
2.0 KiB
YAML
$schema: "http://json-schema.org/draft-06/schema#"
|
|
|
|
title: compute beta Jwt export schema
|
|
description: A gcloud export/import command YAML validation schema.
|
|
type: object
|
|
additionalProperties: false
|
|
properties:
|
|
COMMENT:
|
|
type: object
|
|
description: User specified info ignored by gcloud import.
|
|
additionalProperties: false
|
|
properties:
|
|
template-id:
|
|
type: string
|
|
region:
|
|
type: string
|
|
description:
|
|
type: string
|
|
date:
|
|
type: string
|
|
version:
|
|
type: string
|
|
UNKNOWN:
|
|
type: array
|
|
description: Unknown API fields that cannot be imported.
|
|
items:
|
|
type: string
|
|
audiences:
|
|
description: |-
|
|
A JWT containing any of these audiences will be accepted. The service name
|
|
will be accepted if audiences is empty. Examples:
|
|
bookstore_android.apps.googleusercontent.com,
|
|
bookstore_web.apps.googleusercontent.com
|
|
type: array
|
|
items:
|
|
type: string
|
|
issuer:
|
|
description: |-
|
|
Identifies the issuer that issued the JWT, which is usually a URL or
|
|
an email address. Examples: https://securetoken.google.com,
|
|
1234567-compute@developer.gserviceaccount.com
|
|
type: string
|
|
jwksPublicKeys:
|
|
description: |-
|
|
The provider's public key set to validate the signature of the JWT.
|
|
type: string
|
|
jwtHeaders:
|
|
description: |-
|
|
jwt_headers and jwt_params define where to extract the JWT from an
|
|
HTTP request. If no explicit location is specified, the following
|
|
default locations are tried in order: 1. The Authorization header
|
|
using the Bearer schema. See `here `_. Example:
|
|
type: array
|
|
items:
|
|
$ref: JwtHeader.yaml
|
|
jwtParams:
|
|
description: |-
|
|
This field is set if JWT is sent in a query parameter. This field
|
|
specifies the query parameter name. For example, if jwt_params[0]
|
|
is jwt_token, the JWT format in the query parameter is
|
|
/path?jwt_token=.
|
|
type: array
|
|
items:
|
|
type: string
|