Hello! Is there a reason the <credentials> impleme...
# ask-community
a
Hello! Is there a reason the credentials implementation in prefect-github is a Python dataclass and not a Prefect block (as it is in prefect-aws.credentials, for instance)?
k
Credentials implementation in prefect-github is created before the concept of Prefect block is introduced. Do you prefer to specify the credentials through s block?
a
Well it seems as though that is the preferred mechanism for storing configuration or secrets in 2.0. Is that not the case?
k
yes that is correct
a
Hey @aaron! As a matter of fact, we have a PR open to convert
GitHubCredentials
into a block! I expect we’ll have a release for
prefect-github
introducing this new functionality it a couple of days!
upvote 1
🙌 2
a
thank you!