[enh] Use static method to load private key file

5 jobs for dev in 3 minutes and 30 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Github Sync
passed #16441
github
push_to_github

00:00:28

 
  Build
passed #16442
redshift-docker-python
build

00:00:34

 
  Test
passed #16444
redshift-docker-python
mypy

00:01:47

passed #16443
redshift-docker-python
test

00:00:40

 
  Release
manual #16445
redshift-docker-python allowed to fail manual
releases