Documentation ¶
Index ¶
- func GetAccount(ctx *pulumi.Context) string
- func GetBrowserAuth(ctx *pulumi.Context) bool
- func GetHost(ctx *pulumi.Context) string
- func GetOauthAccessToken(ctx *pulumi.Context) string
- func GetOauthClientId(ctx *pulumi.Context) string
- func GetOauthClientSecret(ctx *pulumi.Context) string
- func GetOauthEndpoint(ctx *pulumi.Context) string
- func GetOauthRedirectUrl(ctx *pulumi.Context) string
- func GetOauthRefreshToken(ctx *pulumi.Context) string
- func GetPassword(ctx *pulumi.Context) string
- func GetPort(ctx *pulumi.Context) int
- func GetPrivateKey(ctx *pulumi.Context) string
- func GetPrivateKeyPassphrase(ctx *pulumi.Context) string
- func GetPrivateKeyPath(ctx *pulumi.Context) string
- func GetProtocol(ctx *pulumi.Context) string
- func GetRegion(ctx *pulumi.Context) string
- func GetRole(ctx *pulumi.Context) string
- func GetUsername(ctx *pulumi.Context) string
- func GetWarehouse(ctx *pulumi.Context) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccount ¶
The name of the Snowflake account. Can also come from the `SNOWFLAKE_ACCOUNT` environment variable.
func GetBrowserAuth ¶
Required when `oauth_refresh_token` is used. Can be sourced from `SNOWFLAKE_USE_BROWSER_AUTH` environment variable.
func GetHost ¶
Supports passing in a custom host value to the snowflake go driver for use with privatelink.
func GetOauthAccessToken ¶
Token for use with OAuth. Generating the token is left to other tools. Cannot be used with `browser_auth`, `private_key_path`, `oauth_refresh_token` or `password`. Can be sourced from `SNOWFLAKE_OAUTH_ACCESS_TOKEN` environment variable.
func GetOauthClientId ¶
Required when `oauth_refresh_token` is used. Can be sourced from `SNOWFLAKE_OAUTH_CLIENT_ID` environment variable.
func GetOauthClientSecret ¶
Required when `oauth_refresh_token` is used. Can be sourced from `SNOWFLAKE_OAUTH_CLIENT_SECRET` environment variable.
func GetOauthEndpoint ¶
Required when `oauth_refresh_token` is used. Can be sourced from `SNOWFLAKE_OAUTH_ENDPOINT` environment variable.
func GetOauthRedirectUrl ¶
Required when `oauth_refresh_token` is used. Can be sourced from `SNOWFLAKE_OAUTH_REDIRECT_URL` environment variable.
func GetOauthRefreshToken ¶
Token for use with OAuth. Setup and generation of the token is left to other tools. Should be used in conjunction with `oauth_client_id`, `oauth_client_secret`, `oauth_endpoint`, `oauth_redirect_url`. Cannot be used with `browser_auth`, `private_key_path`, `oauth_access_token` or `password`. Can be sourced from `SNOWFLAKE_OAUTH_REFRESH_TOKEN` environment variable.
func GetPassword ¶
Password for username+password auth. Cannot be used with `browser_auth` or `private_key_path`. Can be source from `SNOWFLAKE_PASSWORD` environment variable.
func GetPort ¶
Support custom port values to snowflake go driver for use with privatelink. Can be sourced from `SNOWFLAKE_PORT` environment variable.
func GetPrivateKey ¶
Private Key for username+private-key auth. Cannot be used with `browser_auth` or `password`. Can be source from `SNOWFLAKE_PRIVATE_KEY` environment variable.
func GetPrivateKeyPassphrase ¶
Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and des-ede3-cbc
func GetPrivateKeyPath ¶
Path to a private key for using keypair authentication. Cannot be used with `browser_auth`, `oauth_access_token` or `password`. Can be source from `SNOWFLAKE_PRIVATE_KEY_PATH` environment variable.
func GetProtocol ¶
Support custom protocols to snowflake go driver. Can be sourced from `SNOWFLAKE_PROTOCOL` environment variable.
func GetRegion ¶
[Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use. Can be source from the `SNOWFLAKE_REGION` environment variable.
func GetRole ¶
Snowflake role to use for operations. If left unset, default role for user will be used. Can come from the `SNOWFLAKE_ROLE` environment variable.
func GetUsername ¶
Username for username+password authentication. Can come from the `SNOWFLAKE_USER` environment variable.
func GetWarehouse ¶
Sets the default warehouse. Optional. Can be sourced from SNOWFLAKE_WAREHOUSE environment variable.
Types ¶
This section is empty.