41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
$schema: "http://json-schema.org/draft-06/schema#"
|
|
|
|
title: networkservices v1alpha1 Secret export schema
|
|
description: A gcloud export/import command YAML validation schema.
|
|
type: object
|
|
required:
|
|
- secretVersion
|
|
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
|
|
secretVersion:
|
|
description: |-
|
|
The name of the secret in Secret Manager. The resource name of the secret
|
|
version must be in the format `projects/*/secrets/*/versions/*` where the
|
|
`*` values are replaced by the name of the secret. The secrets must be at
|
|
least 16 bytes. The recommended secret size depends on the signature
|
|
algorithm that you're using. * If you're using `HMAC-SHA1`, we recommend
|
|
20-byte secrets. * If you're using `HMAC-SHA256`, we recommend 32-byte
|
|
secrets. See RFC 2104, Section 3 for more details on these
|
|
recommendations.
|
|
type: string
|