2b5d29ef67
Scripts, flows, apps, resources and resource types from the Windmill workspace. API token excluded via .gitignore (config/).
50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
description: GPG Key for signing git commits.
|
|
format_extension: null
|
|
is_fileset: false
|
|
schema:
|
|
$schema: https://json-schema.org/draft/2020-12/schema
|
|
type: object
|
|
order:
|
|
- email
|
|
- private_key
|
|
- passphrase
|
|
properties:
|
|
email:
|
|
type: string
|
|
description: Make sure the email address matches both the address set in the gpg
|
|
key and the corresponding git users gpg public key.
|
|
default: ''
|
|
format: email
|
|
nullable: false
|
|
pattern: ^[\w-+.]+@([\w-]+\.)+[\w-]{2,4}$
|
|
passphrase:
|
|
type: string
|
|
description: >-
|
|
Please add a passphrase if the private key is protected by a passphrase.
|
|
|
|
|
|
NOTE: the private key is obfuscated in the input field but is currently
|
|
not encrypted. We recommend to create a new gpg key pair without a
|
|
passphrase for git_sync
|
|
default: ''
|
|
password: true
|
|
private_key:
|
|
type: string
|
|
description: >-
|
|
GPG private key of the corresponding public key added to git for commit
|
|
signing.
|
|
|
|
|
|
Use `gpg --armor --export-secret-keys <key_id>` to extract the private
|
|
key
|
|
customErrorMessage: invalid private key format
|
|
default: ''
|
|
minRows: 20
|
|
nullable: false
|
|
password: true
|
|
pattern: ^-----BEGIN PGP PRIVATE KEY BLOCK-----[\s\S]*?-----END PGP PRIVATE KEY
|
|
BLOCK-----$
|
|
required:
|
|
- email
|
|
- private_key
|