Repository Secret
Definition of a Secret
on repository level, the following properties are supported:
Key | Value | Description | Note |
---|---|---|---|
name | string | The name of the secret | |
value | string | The secret value |
The secret value can be resolved via a credential provider. The supported format is <credential_provider>:<provider specific data>
.
-
Bitwarden:
bitwarden:<bitwarden item id>@<custom_field_key>
-
Pass:
pass:<path/to/secret>
Note
After executing an import
operation, the secret will be set to ********
as GitHub will not disclose the
secret value anymore via its API. You will need to update the configuration with the real secret value, either
by entering the secret value (not advised), or referencing it via a credential provider.
Secrets which have a redacted value defined will be skipped during processing.
Jsonnet Function¶
Validation rules¶
- redacted secret values (
********
) trigger a validation info and will skip the secret during processing