Skip to content

Comments

DMD-189 Support private key#211

Merged
jirkasemmler merged 5 commits intomainfrom
jirka/dmd-189-support-keypair
Jun 30, 2025
Merged

DMD-189 Support private key#211
jirkasemmler merged 5 commits intomainfrom
jirka/dmd-189-support-keypair

Conversation

@jirkasemmler
Copy link
Contributor

@jirkasemmler jirkasemmler commented Jun 26, 2025

Jira: DMD-189
Connection PR: https://github.com/keboola/connection/pull/6022/files
SAPI PR: -


support private key if the value looks like private key

@jirkasemmler jirkasemmler force-pushed the jirka/dmd-189-support-keypair branch 2 times, most recently from b143d6f to 4128f41 Compare June 27, 2025 10:50
@jirkasemmler jirkasemmler force-pushed the jirka/dmd-189-support-keypair branch from 0c2d5fd to 2ad93ac Compare June 27, 2025 21:08
CREATE USER "KEBOOLA_CI_PHP_STORAGE_DRIVER_SNOWFLAKE"
PASSWORD = 'ewC@B3.6UyWVLxe*MZMdN7xYEnX6ZV_P'
DEFAULT_ROLE = "KEBOOLA_CI_PHP_STORAGE_DRIVER_SNOWFLAKE";
PASSWORD = ''
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nechavam tady password a neresim TYPE, protoze to se odstrani az s https://github.com/keboola/storage-backend/pull/212/files

protected function getSnowflakeConnection(): Connection
{
$this->connection = SnowflakeConnectionFactory::getConnection(
$this->connection = SnowflakeConnectionFactory::getConnectionWithCert(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

defaultne se k tomu uz chovam jako ke keypairu. BC pro heslo je tady jen docasna, opet odstranena pak v #212

"Keboola\\StorageDriver\\": "packages/php-storage-driver-common/generated/Keboola/StorageDriver",
"Keboola\\StorageDriver\\Contract\\": "packages/php-storage-driver-common/contract/",
"Keboola\\StorageDriver\\Shared\\": "packages/php-storage-driver-common/Shared/",
"Keboola\\StorageDriver\\Snowflake\\": "packages/php-storage-driver-snowflake/src/",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

protoze to tady chybelo z initu repa

@jirkasemmler jirkasemmler requested a review from martinsifra June 30, 2025 08:32
@jirkasemmler jirkasemmler requested a review from martinsifra June 30, 2025 12:17
@jirkasemmler jirkasemmler merged commit 788c7c8 into main Jun 30, 2025
21 checks passed
@jirkasemmler jirkasemmler deleted the jirka/dmd-189-support-keypair branch June 30, 2025 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants