<@ULVA73B9P> is it possible to use block values wh...
# ask-marvin
s
@Marvin is it possible to use block values when setting up notifications in ui? I don't want to expose secret keys in custom webhooks
m
Yes, it is possible to use block values when setting up notifications in the Prefect UI, including custom webhooks. Prefect supports the use of blocks to manage and store sensitive information securely. For instance, you can use the
SecretStr
field type provided by Pydantic to obfuscate sensitive values like API tokens and secret keys. This ensures that sensitive data is encrypted and not exposed in the UI or logs. For more information on how to create and use blocks in Prefect, you can refer to the following documentation: - Prefect Blocks Documentation - Webhook Triggers in Prefect These resources provide guidance on setting up secure webhook endpoints and managing block values effectively.