prefect_stitch.credentials
Stitch credentials block
StitchCredentials
Block used to manage authentication with Stitch.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
access_token |
SecretStr
|
The Access token to use to connect to Stitch. |
required |
Example
Load stored Stitch credentials
from prefect_stitch.credentials import StitchCredentials
stitch_credentials_block = StitchCredentials.load("BLOCK_NAME")
Source code in prefect_stitch/credentials.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
|