published on Wednesday, Jul 8, 2026 by Pulumi
published on Wednesday, Jul 8, 2026 by Pulumi
Caution: Preview Feature This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to
previewFeaturesEnabledfield in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
Resource used to manage API integration Git Repository OAuth2 objects. For more information, check api integration documentation.
Example Usage
Note Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
import * as pulumi from "@pulumi/pulumi";
import * as snowflake from "@pulumi/snowflake";
// basic resource
const basic = new snowflake.ApiIntegrationGitRepositoryOauth2("basic", {
name: "git_repository_oauth2_integration",
oauthAuthorizationEndpoint: "https://gitlab.com/oauth/authorize",
oauthTokenEndpoint: "https://gitlab.com/oauth/token",
oauthClientId: "my-client-id",
oauthClientSecret: "my-client-secret",
apiAllowedPrefixes: ["https://gitlab.com/my-org/"],
enabled: true,
});
// complete resource
const complete = new snowflake.ApiIntegrationGitRepositoryOauth2("complete", {
name: "git_repository_oauth2_integration_complete",
oauthAuthorizationEndpoint: "https://gitlab.com/oauth/authorize",
oauthTokenEndpoint: "https://gitlab.com/oauth/token",
oauthClientId: "my-client-id",
oauthClientSecret: "my-client-secret",
oauthAccessTokenValidity: 3600,
oauthRefreshTokenValidity: 86400,
oauthAllowedScopes: ["read_repository"],
oauthUsername: "my-git-user",
apiAllowedPrefixes: ["https://gitlab.com/my-org/"],
apiBlockedPrefixes: ["https://gitlab.com/my-org/private-repo/"],
enabled: true,
comment: "Example Git Repository OAuth2 integration",
});
import pulumi
import pulumi_snowflake as snowflake
# basic resource
basic = snowflake.ApiIntegrationGitRepositoryOauth2("basic",
name="git_repository_oauth2_integration",
oauth_authorization_endpoint="https://gitlab.com/oauth/authorize",
oauth_token_endpoint="https://gitlab.com/oauth/token",
oauth_client_id="my-client-id",
oauth_client_secret="my-client-secret",
api_allowed_prefixes=["https://gitlab.com/my-org/"],
enabled=True)
# complete resource
complete = snowflake.ApiIntegrationGitRepositoryOauth2("complete",
name="git_repository_oauth2_integration_complete",
oauth_authorization_endpoint="https://gitlab.com/oauth/authorize",
oauth_token_endpoint="https://gitlab.com/oauth/token",
oauth_client_id="my-client-id",
oauth_client_secret="my-client-secret",
oauth_access_token_validity=3600,
oauth_refresh_token_validity=86400,
oauth_allowed_scopes=["read_repository"],
oauth_username="my-git-user",
api_allowed_prefixes=["https://gitlab.com/my-org/"],
api_blocked_prefixes=["https://gitlab.com/my-org/private-repo/"],
enabled=True,
comment="Example Git Repository OAuth2 integration")
package main
import (
"github.com/pulumi/pulumi-snowflake/sdk/v2/go/snowflake"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// basic resource
_, err := snowflake.NewApiIntegrationGitRepositoryOauth2(ctx, "basic", &snowflake.ApiIntegrationGitRepositoryOauth2Args{
Name: pulumi.String("git_repository_oauth2_integration"),
OauthAuthorizationEndpoint: pulumi.String("https://gitlab.com/oauth/authorize"),
OauthTokenEndpoint: pulumi.String("https://gitlab.com/oauth/token"),
OauthClientId: pulumi.String("my-client-id"),
OauthClientSecret: pulumi.String("my-client-secret"),
ApiAllowedPrefixes: pulumi.StringArray{
pulumi.String("https://gitlab.com/my-org/"),
},
Enabled: pulumi.Bool(true),
})
if err != nil {
return err
}
// complete resource
_, err = snowflake.NewApiIntegrationGitRepositoryOauth2(ctx, "complete", &snowflake.ApiIntegrationGitRepositoryOauth2Args{
Name: pulumi.String("git_repository_oauth2_integration_complete"),
OauthAuthorizationEndpoint: pulumi.String("https://gitlab.com/oauth/authorize"),
OauthTokenEndpoint: pulumi.String("https://gitlab.com/oauth/token"),
OauthClientId: pulumi.String("my-client-id"),
OauthClientSecret: pulumi.String("my-client-secret"),
OauthAccessTokenValidity: pulumi.Int(3600),
OauthRefreshTokenValidity: pulumi.Int(86400),
OauthAllowedScopes: pulumi.StringArray{
pulumi.String("read_repository"),
},
OauthUsername: pulumi.String("my-git-user"),
ApiAllowedPrefixes: pulumi.StringArray{
pulumi.String("https://gitlab.com/my-org/"),
},
ApiBlockedPrefixes: pulumi.StringArray{
pulumi.String("https://gitlab.com/my-org/private-repo/"),
},
Enabled: pulumi.Bool(true),
Comment: pulumi.String("Example Git Repository OAuth2 integration"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Snowflake = Pulumi.Snowflake;
return await Deployment.RunAsync(() =>
{
// basic resource
var basic = new Snowflake.ApiIntegrationGitRepositoryOauth2("basic", new()
{
Name = "git_repository_oauth2_integration",
OauthAuthorizationEndpoint = "https://gitlab.com/oauth/authorize",
OauthTokenEndpoint = "https://gitlab.com/oauth/token",
OauthClientId = "my-client-id",
OauthClientSecret = "my-client-secret",
ApiAllowedPrefixes = new[]
{
"https://gitlab.com/my-org/",
},
Enabled = true,
});
// complete resource
var complete = new Snowflake.ApiIntegrationGitRepositoryOauth2("complete", new()
{
Name = "git_repository_oauth2_integration_complete",
OauthAuthorizationEndpoint = "https://gitlab.com/oauth/authorize",
OauthTokenEndpoint = "https://gitlab.com/oauth/token",
OauthClientId = "my-client-id",
OauthClientSecret = "my-client-secret",
OauthAccessTokenValidity = 3600,
OauthRefreshTokenValidity = 86400,
OauthAllowedScopes = new[]
{
"read_repository",
},
OauthUsername = "my-git-user",
ApiAllowedPrefixes = new[]
{
"https://gitlab.com/my-org/",
},
ApiBlockedPrefixes = new[]
{
"https://gitlab.com/my-org/private-repo/",
},
Enabled = true,
Comment = "Example Git Repository OAuth2 integration",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.snowflake.ApiIntegrationGitRepositoryOauth2;
import com.pulumi.snowflake.ApiIntegrationGitRepositoryOauth2Args;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// basic resource
var basic = new ApiIntegrationGitRepositoryOauth2("basic", ApiIntegrationGitRepositoryOauth2Args.builder()
.name("git_repository_oauth2_integration")
.oauthAuthorizationEndpoint("https://gitlab.com/oauth/authorize")
.oauthTokenEndpoint("https://gitlab.com/oauth/token")
.oauthClientId("my-client-id")
.oauthClientSecret("my-client-secret")
.apiAllowedPrefixes("https://gitlab.com/my-org/")
.enabled(true)
.build());
// complete resource
var complete = new ApiIntegrationGitRepositoryOauth2("complete", ApiIntegrationGitRepositoryOauth2Args.builder()
.name("git_repository_oauth2_integration_complete")
.oauthAuthorizationEndpoint("https://gitlab.com/oauth/authorize")
.oauthTokenEndpoint("https://gitlab.com/oauth/token")
.oauthClientId("my-client-id")
.oauthClientSecret("my-client-secret")
.oauthAccessTokenValidity(3600)
.oauthRefreshTokenValidity(86400)
.oauthAllowedScopes("read_repository")
.oauthUsername("my-git-user")
.apiAllowedPrefixes("https://gitlab.com/my-org/")
.apiBlockedPrefixes("https://gitlab.com/my-org/private-repo/")
.enabled(true)
.comment("Example Git Repository OAuth2 integration")
.build());
}
}
resources:
# basic resource
basic:
type: snowflake:ApiIntegrationGitRepositoryOauth2
properties:
name: git_repository_oauth2_integration
oauthAuthorizationEndpoint: https://gitlab.com/oauth/authorize
oauthTokenEndpoint: https://gitlab.com/oauth/token
oauthClientId: my-client-id
oauthClientSecret: my-client-secret
apiAllowedPrefixes:
- https://gitlab.com/my-org/
enabled: true
# complete resource
complete:
type: snowflake:ApiIntegrationGitRepositoryOauth2
properties:
name: git_repository_oauth2_integration_complete
oauthAuthorizationEndpoint: https://gitlab.com/oauth/authorize
oauthTokenEndpoint: https://gitlab.com/oauth/token
oauthClientId: my-client-id
oauthClientSecret: my-client-secret
oauthAccessTokenValidity: 3600
oauthRefreshTokenValidity: 86400
oauthAllowedScopes:
- read_repository
oauthUsername: my-git-user
apiAllowedPrefixes:
- https://gitlab.com/my-org/
apiBlockedPrefixes:
- https://gitlab.com/my-org/private-repo/
enabled: true
comment: Example Git Repository OAuth2 integration
pulumi {
required_providers {
snowflake = {
source = "pulumi/snowflake"
}
}
}
# basic resource
resource "snowflake_apiintegrationgitrepositoryoauth2" "basic" {
name = "git_repository_oauth2_integration"
oauth_authorization_endpoint = "https://gitlab.com/oauth/authorize"
oauth_token_endpoint = "https://gitlab.com/oauth/token"
oauth_client_id = "my-client-id"
oauth_client_secret = "my-client-secret"
api_allowed_prefixes = ["https://gitlab.com/my-org/"]
enabled = true
}
# complete resource
resource "snowflake_apiintegrationgitrepositoryoauth2" "complete" {
name = "git_repository_oauth2_integration_complete"
oauth_authorization_endpoint = "https://gitlab.com/oauth/authorize"
oauth_token_endpoint = "https://gitlab.com/oauth/token"
oauth_client_id = "my-client-id"
oauth_client_secret = "my-client-secret"
oauth_access_token_validity = 3600
oauth_refresh_token_validity = 86400
oauth_allowed_scopes = ["read_repository"]
oauth_username = "my-git-user"
api_allowed_prefixes = ["https://gitlab.com/my-org/"]
api_blocked_prefixes = ["https://gitlab.com/my-org/private-repo/"]
enabled = true
comment = "Example Git Repository OAuth2 integration"
}
Note If a field has a default value, it is shown next to the type in the schema.
Create ApiIntegrationGitRepositoryOauth2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApiIntegrationGitRepositoryOauth2(name: string, args: ApiIntegrationGitRepositoryOauth2Args, opts?: CustomResourceOptions);@overload
def ApiIntegrationGitRepositoryOauth2(resource_name: str,
args: ApiIntegrationGitRepositoryOauth2Args,
opts: Optional[ResourceOptions] = None)
@overload
def ApiIntegrationGitRepositoryOauth2(resource_name: str,
opts: Optional[ResourceOptions] = None,
oauth_client_secret: Optional[str] = None,
enabled: Optional[bool] = None,
oauth_authorization_endpoint: Optional[str] = None,
oauth_client_id: Optional[str] = None,
api_allowed_prefixes: Optional[Sequence[str]] = None,
oauth_token_endpoint: Optional[str] = None,
api_blocked_prefixes: Optional[Sequence[str]] = None,
comment: Optional[str] = None,
name: Optional[str] = None,
oauth_access_token_validity: Optional[int] = None,
oauth_allowed_scopes: Optional[Sequence[str]] = None,
oauth_refresh_token_validity: Optional[int] = None,
oauth_username: Optional[str] = None)func NewApiIntegrationGitRepositoryOauth2(ctx *Context, name string, args ApiIntegrationGitRepositoryOauth2Args, opts ...ResourceOption) (*ApiIntegrationGitRepositoryOauth2, error)public ApiIntegrationGitRepositoryOauth2(string name, ApiIntegrationGitRepositoryOauth2Args args, CustomResourceOptions? opts = null)
public ApiIntegrationGitRepositoryOauth2(String name, ApiIntegrationGitRepositoryOauth2Args args)
public ApiIntegrationGitRepositoryOauth2(String name, ApiIntegrationGitRepositoryOauth2Args args, CustomResourceOptions options)
type: snowflake:ApiIntegrationGitRepositoryOauth2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "snowflake_api_integration_git_repository_oauth2" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ApiIntegrationGitRepositoryOauth2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ApiIntegrationGitRepositoryOauth2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ApiIntegrationGitRepositoryOauth2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApiIntegrationGitRepositoryOauth2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApiIntegrationGitRepositoryOauth2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var apiIntegrationGitRepositoryOauth2Resource = new Snowflake.ApiIntegrationGitRepositoryOauth2("apiIntegrationGitRepositoryOauth2Resource", new()
{
OauthClientSecret = "string",
Enabled = false,
OauthAuthorizationEndpoint = "string",
OauthClientId = "string",
ApiAllowedPrefixes = new[]
{
"string",
},
OauthTokenEndpoint = "string",
ApiBlockedPrefixes = new[]
{
"string",
},
Comment = "string",
Name = "string",
OauthAccessTokenValidity = 0,
OauthAllowedScopes = new[]
{
"string",
},
OauthRefreshTokenValidity = 0,
OauthUsername = "string",
});
example, err := snowflake.NewApiIntegrationGitRepositoryOauth2(ctx, "apiIntegrationGitRepositoryOauth2Resource", &snowflake.ApiIntegrationGitRepositoryOauth2Args{
OauthClientSecret: pulumi.String("string"),
Enabled: pulumi.Bool(false),
OauthAuthorizationEndpoint: pulumi.String("string"),
OauthClientId: pulumi.String("string"),
ApiAllowedPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
OauthTokenEndpoint: pulumi.String("string"),
ApiBlockedPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
Comment: pulumi.String("string"),
Name: pulumi.String("string"),
OauthAccessTokenValidity: pulumi.Int(0),
OauthAllowedScopes: pulumi.StringArray{
pulumi.String("string"),
},
OauthRefreshTokenValidity: pulumi.Int(0),
OauthUsername: pulumi.String("string"),
})
resource "snowflake_api_integration_git_repository_oauth2" "apiIntegrationGitRepositoryOauth2Resource" {
lifecycle {
create_before_destroy = true
}
oauth_client_secret = "string"
enabled = false
oauth_authorization_endpoint = "string"
oauth_client_id = "string"
api_allowed_prefixes = ["string"]
oauth_token_endpoint = "string"
api_blocked_prefixes = ["string"]
comment = "string"
name = "string"
oauth_access_token_validity = 0
oauth_allowed_scopes = ["string"]
oauth_refresh_token_validity = 0
oauth_username = "string"
}
var apiIntegrationGitRepositoryOauth2Resource = new ApiIntegrationGitRepositoryOauth2("apiIntegrationGitRepositoryOauth2Resource", ApiIntegrationGitRepositoryOauth2Args.builder()
.oauthClientSecret("string")
.enabled(false)
.oauthAuthorizationEndpoint("string")
.oauthClientId("string")
.apiAllowedPrefixes("string")
.oauthTokenEndpoint("string")
.apiBlockedPrefixes("string")
.comment("string")
.name("string")
.oauthAccessTokenValidity(0)
.oauthAllowedScopes("string")
.oauthRefreshTokenValidity(0)
.oauthUsername("string")
.build());
api_integration_git_repository_oauth2_resource = snowflake.ApiIntegrationGitRepositoryOauth2("apiIntegrationGitRepositoryOauth2Resource",
oauth_client_secret="string",
enabled=False,
oauth_authorization_endpoint="string",
oauth_client_id="string",
api_allowed_prefixes=["string"],
oauth_token_endpoint="string",
api_blocked_prefixes=["string"],
comment="string",
name="string",
oauth_access_token_validity=0,
oauth_allowed_scopes=["string"],
oauth_refresh_token_validity=0,
oauth_username="string")
const apiIntegrationGitRepositoryOauth2Resource = new snowflake.ApiIntegrationGitRepositoryOauth2("apiIntegrationGitRepositoryOauth2Resource", {
oauthClientSecret: "string",
enabled: false,
oauthAuthorizationEndpoint: "string",
oauthClientId: "string",
apiAllowedPrefixes: ["string"],
oauthTokenEndpoint: "string",
apiBlockedPrefixes: ["string"],
comment: "string",
name: "string",
oauthAccessTokenValidity: 0,
oauthAllowedScopes: ["string"],
oauthRefreshTokenValidity: 0,
oauthUsername: "string",
});
type: snowflake:ApiIntegrationGitRepositoryOauth2
properties:
apiAllowedPrefixes:
- string
apiBlockedPrefixes:
- string
comment: string
enabled: false
name: string
oauthAccessTokenValidity: 0
oauthAllowedScopes:
- string
oauthAuthorizationEndpoint: string
oauthClientId: string
oauthClientSecret: string
oauthRefreshTokenValidity: 0
oauthTokenEndpoint: string
oauthUsername: string
ApiIntegrationGitRepositoryOauth2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ApiIntegrationGitRepositoryOauth2 resource accepts the following input properties:
- Api
Allowed List<string>Prefixes - Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
- Enabled bool
- Specifies whether this API integration is enabled or disabled.
- string
- The OAuth 2.0 authorization endpoint for the Git repository.
- Oauth
Client stringId - The client ID for the OAuth 2.0 application.
- Oauth
Client stringSecret - The client secret for the OAuth 2.0 application. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
- Oauth
Token stringEndpoint - The OAuth 2.0 token endpoint for the Git repository.
- Api
Blocked List<string>Prefixes - Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
- Comment string
- Specifies a comment for the integration.
- Name string
- Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Oauth
Access intToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 access token.
- Oauth
Allowed List<string>Scopes - Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive):
readApi|readRepository|writeRepository. - Oauth
Refresh intToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
- Oauth
Username string - Specifies the username to authenticate with the Git repository using OAuth 2.0.
- Api
Allowed []stringPrefixes - Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
- Enabled bool
- Specifies whether this API integration is enabled or disabled.
- string
- The OAuth 2.0 authorization endpoint for the Git repository.
- Oauth
Client stringId - The client ID for the OAuth 2.0 application.
- Oauth
Client stringSecret - The client secret for the OAuth 2.0 application. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
- Oauth
Token stringEndpoint - The OAuth 2.0 token endpoint for the Git repository.
- Api
Blocked []stringPrefixes - Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
- Comment string
- Specifies a comment for the integration.
- Name string
- Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Oauth
Access intToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 access token.
- Oauth
Allowed []stringScopes - Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive):
readApi|readRepository|writeRepository. - Oauth
Refresh intToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
- Oauth
Username string - Specifies the username to authenticate with the Git repository using OAuth 2.0.
- api_
allowed_ list(string)prefixes - Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
- enabled bool
- Specifies whether this API integration is enabled or disabled.
- string
- The OAuth 2.0 authorization endpoint for the Git repository.
- oauth_
client_ stringid - The client ID for the OAuth 2.0 application.
- oauth_
client_ stringsecret - The client secret for the OAuth 2.0 application. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
- oauth_
token_ stringendpoint - The OAuth 2.0 token endpoint for the Git repository.
- api_
blocked_ list(string)prefixes - Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
- comment string
- Specifies a comment for the integration.
- name string
- Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - oauth_
access_ numbertoken_ validity - Specifies the validity period (in seconds) for the OAuth 2.0 access token.
- oauth_
allowed_ list(string)scopes - Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive):
readApi|readRepository|writeRepository. - oauth_
refresh_ numbertoken_ validity - Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
- oauth_
username string - Specifies the username to authenticate with the Git repository using OAuth 2.0.
- api
Allowed List<String>Prefixes - Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
- enabled Boolean
- Specifies whether this API integration is enabled or disabled.
- String
- The OAuth 2.0 authorization endpoint for the Git repository.
- oauth
Client StringId - The client ID for the OAuth 2.0 application.
- oauth
Client StringSecret - The client secret for the OAuth 2.0 application. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
- oauth
Token StringEndpoint - The OAuth 2.0 token endpoint for the Git repository.
- api
Blocked List<String>Prefixes - Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
- comment String
- Specifies a comment for the integration.
- name String
- Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - oauth
Access IntegerToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 access token.
- oauth
Allowed List<String>Scopes - Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive):
readApi|readRepository|writeRepository. - oauth
Refresh IntegerToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
- oauth
Username String - Specifies the username to authenticate with the Git repository using OAuth 2.0.
- api
Allowed string[]Prefixes - Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
- enabled boolean
- Specifies whether this API integration is enabled or disabled.
- string
- The OAuth 2.0 authorization endpoint for the Git repository.
- oauth
Client stringId - The client ID for the OAuth 2.0 application.
- oauth
Client stringSecret - The client secret for the OAuth 2.0 application. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
- oauth
Token stringEndpoint - The OAuth 2.0 token endpoint for the Git repository.
- api
Blocked string[]Prefixes - Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
- comment string
- Specifies a comment for the integration.
- name string
- Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - oauth
Access numberToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 access token.
- oauth
Allowed string[]Scopes - Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive):
readApi|readRepository|writeRepository. - oauth
Refresh numberToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
- oauth
Username string - Specifies the username to authenticate with the Git repository using OAuth 2.0.
- api_
allowed_ Sequence[str]prefixes - Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
- enabled bool
- Specifies whether this API integration is enabled or disabled.
- str
- The OAuth 2.0 authorization endpoint for the Git repository.
- oauth_
client_ strid - The client ID for the OAuth 2.0 application.
- oauth_
client_ strsecret - The client secret for the OAuth 2.0 application. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
- oauth_
token_ strendpoint - The OAuth 2.0 token endpoint for the Git repository.
- api_
blocked_ Sequence[str]prefixes - Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
- comment str
- Specifies a comment for the integration.
- name str
- Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - oauth_
access_ inttoken_ validity - Specifies the validity period (in seconds) for the OAuth 2.0 access token.
- oauth_
allowed_ Sequence[str]scopes - Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive):
readApi|readRepository|writeRepository. - oauth_
refresh_ inttoken_ validity - Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
- oauth_
username str - Specifies the username to authenticate with the Git repository using OAuth 2.0.
- api
Allowed List<String>Prefixes - Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
- enabled Boolean
- Specifies whether this API integration is enabled or disabled.
- String
- The OAuth 2.0 authorization endpoint for the Git repository.
- oauth
Client StringId - The client ID for the OAuth 2.0 application.
- oauth
Client StringSecret - The client secret for the OAuth 2.0 application. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
- oauth
Token StringEndpoint - The OAuth 2.0 token endpoint for the Git repository.
- api
Blocked List<String>Prefixes - Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
- comment String
- Specifies a comment for the integration.
- name String
- Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - oauth
Access NumberToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 access token.
- oauth
Allowed List<String>Scopes - Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive):
readApi|readRepository|writeRepository. - oauth
Refresh NumberToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
- oauth
Username String - Specifies the username to authenticate with the Git repository using OAuth 2.0.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApiIntegrationGitRepositoryOauth2 resource produces the following output properties:
- Describe
Outputs List<ApiIntegration Git Repository Oauth2Describe Output> - Outputs the result of
DESCRIBE API INTEGRATIONfor the given integration. - Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- Show
Outputs List<ApiIntegration Git Repository Oauth2Show Output> - Outputs the result of
SHOW API INTEGRATIONSfor the given integration.
- Describe
Outputs []ApiIntegration Git Repository Oauth2Describe Output - Outputs the result of
DESCRIBE API INTEGRATIONfor the given integration. - Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- Show
Outputs []ApiIntegration Git Repository Oauth2Show Output - Outputs the result of
SHOW API INTEGRATIONSfor the given integration.
- describe_
outputs list(object) - Outputs the result of
DESCRIBE API INTEGRATIONfor the given integration. - fully_
qualified_ stringname - Fully qualified name of the resource. For more information, see object name resolution.
- id string
- The provider-assigned unique ID for this managed resource.
- show_
outputs list(object) - Outputs the result of
SHOW API INTEGRATIONSfor the given integration.
- describe
Outputs List<ApiIntegration Git Repository Oauth2Describe Output> - Outputs the result of
DESCRIBE API INTEGRATIONfor the given integration. - fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- show
Outputs List<ApiIntegration Git Repository Oauth2Show Output> - Outputs the result of
SHOW API INTEGRATIONSfor the given integration.
- describe
Outputs ApiIntegration Git Repository Oauth2Describe Output[] - Outputs the result of
DESCRIBE API INTEGRATIONfor the given integration. - fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- id string
- The provider-assigned unique ID for this managed resource.
- show
Outputs ApiIntegration Git Repository Oauth2Show Output[] - Outputs the result of
SHOW API INTEGRATIONSfor the given integration.
- describe_
outputs Sequence[ApiIntegration Git Repository Oauth2Describe Output] - Outputs the result of
DESCRIBE API INTEGRATIONfor the given integration. - fully_
qualified_ strname - Fully qualified name of the resource. For more information, see object name resolution.
- id str
- The provider-assigned unique ID for this managed resource.
- show_
outputs Sequence[ApiIntegration Git Repository Oauth2Show Output] - Outputs the result of
SHOW API INTEGRATIONSfor the given integration.
- describe
Outputs List<Property Map> - Outputs the result of
DESCRIBE API INTEGRATIONfor the given integration. - fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- show
Outputs List<Property Map> - Outputs the result of
SHOW API INTEGRATIONSfor the given integration.
Look up Existing ApiIntegrationGitRepositoryOauth2 Resource
Get an existing ApiIntegrationGitRepositoryOauth2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ApiIntegrationGitRepositoryOauth2State, opts?: CustomResourceOptions): ApiIntegrationGitRepositoryOauth2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_allowed_prefixes: Optional[Sequence[str]] = None,
api_blocked_prefixes: Optional[Sequence[str]] = None,
comment: Optional[str] = None,
describe_outputs: Optional[Sequence[ApiIntegrationGitRepositoryOauth2DescribeOutputArgs]] = None,
enabled: Optional[bool] = None,
fully_qualified_name: Optional[str] = None,
name: Optional[str] = None,
oauth_access_token_validity: Optional[int] = None,
oauth_allowed_scopes: Optional[Sequence[str]] = None,
oauth_authorization_endpoint: Optional[str] = None,
oauth_client_id: Optional[str] = None,
oauth_client_secret: Optional[str] = None,
oauth_refresh_token_validity: Optional[int] = None,
oauth_token_endpoint: Optional[str] = None,
oauth_username: Optional[str] = None,
show_outputs: Optional[Sequence[ApiIntegrationGitRepositoryOauth2ShowOutputArgs]] = None) -> ApiIntegrationGitRepositoryOauth2func GetApiIntegrationGitRepositoryOauth2(ctx *Context, name string, id IDInput, state *ApiIntegrationGitRepositoryOauth2State, opts ...ResourceOption) (*ApiIntegrationGitRepositoryOauth2, error)public static ApiIntegrationGitRepositoryOauth2 Get(string name, Input<string> id, ApiIntegrationGitRepositoryOauth2State? state, CustomResourceOptions? opts = null)public static ApiIntegrationGitRepositoryOauth2 get(String name, Output<String> id, ApiIntegrationGitRepositoryOauth2State state, CustomResourceOptions options)resources: _: type: snowflake:ApiIntegrationGitRepositoryOauth2 get: id: ${id}import {
to = snowflake_api_integration_git_repository_oauth2.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Api
Allowed List<string>Prefixes - Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
- Api
Blocked List<string>Prefixes - Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
- Comment string
- Specifies a comment for the integration.
- Describe
Outputs List<ApiIntegration Git Repository Oauth2Describe Output> - Outputs the result of
DESCRIBE API INTEGRATIONfor the given integration. - Enabled bool
- Specifies whether this API integration is enabled or disabled.
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Name string
- Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Oauth
Access intToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 access token.
- Oauth
Allowed List<string>Scopes - Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive):
readApi|readRepository|writeRepository. - string
- The OAuth 2.0 authorization endpoint for the Git repository.
- Oauth
Client stringId - The client ID for the OAuth 2.0 application.
- Oauth
Client stringSecret - The client secret for the OAuth 2.0 application. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
- Oauth
Refresh intToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
- Oauth
Token stringEndpoint - The OAuth 2.0 token endpoint for the Git repository.
- Oauth
Username string - Specifies the username to authenticate with the Git repository using OAuth 2.0.
- Show
Outputs List<ApiIntegration Git Repository Oauth2Show Output> - Outputs the result of
SHOW API INTEGRATIONSfor the given integration.
- Api
Allowed []stringPrefixes - Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
- Api
Blocked []stringPrefixes - Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
- Comment string
- Specifies a comment for the integration.
- Describe
Outputs []ApiIntegration Git Repository Oauth2Describe Output Args - Outputs the result of
DESCRIBE API INTEGRATIONfor the given integration. - Enabled bool
- Specifies whether this API integration is enabled or disabled.
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Name string
- Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Oauth
Access intToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 access token.
- Oauth
Allowed []stringScopes - Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive):
readApi|readRepository|writeRepository. - string
- The OAuth 2.0 authorization endpoint for the Git repository.
- Oauth
Client stringId - The client ID for the OAuth 2.0 application.
- Oauth
Client stringSecret - The client secret for the OAuth 2.0 application. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
- Oauth
Refresh intToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
- Oauth
Token stringEndpoint - The OAuth 2.0 token endpoint for the Git repository.
- Oauth
Username string - Specifies the username to authenticate with the Git repository using OAuth 2.0.
- Show
Outputs []ApiIntegration Git Repository Oauth2Show Output Args - Outputs the result of
SHOW API INTEGRATIONSfor the given integration.
- api_
allowed_ list(string)prefixes - Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
- api_
blocked_ list(string)prefixes - Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
- comment string
- Specifies a comment for the integration.
- describe_
outputs list(object) - Outputs the result of
DESCRIBE API INTEGRATIONfor the given integration. - enabled bool
- Specifies whether this API integration is enabled or disabled.
- fully_
qualified_ stringname - Fully qualified name of the resource. For more information, see object name resolution.
- name string
- Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - oauth_
access_ numbertoken_ validity - Specifies the validity period (in seconds) for the OAuth 2.0 access token.
- oauth_
allowed_ list(string)scopes - Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive):
readApi|readRepository|writeRepository. - string
- The OAuth 2.0 authorization endpoint for the Git repository.
- oauth_
client_ stringid - The client ID for the OAuth 2.0 application.
- oauth_
client_ stringsecret - The client secret for the OAuth 2.0 application. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
- oauth_
refresh_ numbertoken_ validity - Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
- oauth_
token_ stringendpoint - The OAuth 2.0 token endpoint for the Git repository.
- oauth_
username string - Specifies the username to authenticate with the Git repository using OAuth 2.0.
- show_
outputs list(object) - Outputs the result of
SHOW API INTEGRATIONSfor the given integration.
- api
Allowed List<String>Prefixes - Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
- api
Blocked List<String>Prefixes - Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
- comment String
- Specifies a comment for the integration.
- describe
Outputs List<ApiIntegration Git Repository Oauth2Describe Output> - Outputs the result of
DESCRIBE API INTEGRATIONfor the given integration. - enabled Boolean
- Specifies whether this API integration is enabled or disabled.
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- name String
- Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - oauth
Access IntegerToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 access token.
- oauth
Allowed List<String>Scopes - Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive):
readApi|readRepository|writeRepository. - String
- The OAuth 2.0 authorization endpoint for the Git repository.
- oauth
Client StringId - The client ID for the OAuth 2.0 application.
- oauth
Client StringSecret - The client secret for the OAuth 2.0 application. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
- oauth
Refresh IntegerToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
- oauth
Token StringEndpoint - The OAuth 2.0 token endpoint for the Git repository.
- oauth
Username String - Specifies the username to authenticate with the Git repository using OAuth 2.0.
- show
Outputs List<ApiIntegration Git Repository Oauth2Show Output> - Outputs the result of
SHOW API INTEGRATIONSfor the given integration.
- api
Allowed string[]Prefixes - Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
- api
Blocked string[]Prefixes - Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
- comment string
- Specifies a comment for the integration.
- describe
Outputs ApiIntegration Git Repository Oauth2Describe Output[] - Outputs the result of
DESCRIBE API INTEGRATIONfor the given integration. - enabled boolean
- Specifies whether this API integration is enabled or disabled.
- fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- name string
- Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - oauth
Access numberToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 access token.
- oauth
Allowed string[]Scopes - Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive):
readApi|readRepository|writeRepository. - string
- The OAuth 2.0 authorization endpoint for the Git repository.
- oauth
Client stringId - The client ID for the OAuth 2.0 application.
- oauth
Client stringSecret - The client secret for the OAuth 2.0 application. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
- oauth
Refresh numberToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
- oauth
Token stringEndpoint - The OAuth 2.0 token endpoint for the Git repository.
- oauth
Username string - Specifies the username to authenticate with the Git repository using OAuth 2.0.
- show
Outputs ApiIntegration Git Repository Oauth2Show Output[] - Outputs the result of
SHOW API INTEGRATIONSfor the given integration.
- api_
allowed_ Sequence[str]prefixes - Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
- api_
blocked_ Sequence[str]prefixes - Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
- comment str
- Specifies a comment for the integration.
- describe_
outputs Sequence[ApiIntegration Git Repository Oauth2Describe Output Args] - Outputs the result of
DESCRIBE API INTEGRATIONfor the given integration. - enabled bool
- Specifies whether this API integration is enabled or disabled.
- fully_
qualified_ strname - Fully qualified name of the resource. For more information, see object name resolution.
- name str
- Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - oauth_
access_ inttoken_ validity - Specifies the validity period (in seconds) for the OAuth 2.0 access token.
- oauth_
allowed_ Sequence[str]scopes - Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive):
readApi|readRepository|writeRepository. - str
- The OAuth 2.0 authorization endpoint for the Git repository.
- oauth_
client_ strid - The client ID for the OAuth 2.0 application.
- oauth_
client_ strsecret - The client secret for the OAuth 2.0 application. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
- oauth_
refresh_ inttoken_ validity - Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
- oauth_
token_ strendpoint - The OAuth 2.0 token endpoint for the Git repository.
- oauth_
username str - Specifies the username to authenticate with the Git repository using OAuth 2.0.
- show_
outputs Sequence[ApiIntegration Git Repository Oauth2Show Output Args] - Outputs the result of
SHOW API INTEGRATIONSfor the given integration.
- api
Allowed List<String>Prefixes - Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service and remote service endpoints and resources.
- api
Blocked List<String>Prefixes - Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
- comment String
- Specifies a comment for the integration.
- describe
Outputs List<Property Map> - Outputs the result of
DESCRIBE API INTEGRATIONfor the given integration. - enabled Boolean
- Specifies whether this API integration is enabled or disabled.
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- name String
- Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - oauth
Access NumberToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 access token.
- oauth
Allowed List<String>Scopes - Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration. Valid values are (case-insensitive):
readApi|readRepository|writeRepository. - String
- The OAuth 2.0 authorization endpoint for the Git repository.
- oauth
Client StringId - The client ID for the OAuth 2.0 application.
- oauth
Client StringSecret - The client secret for the OAuth 2.0 application. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
- oauth
Refresh NumberToken Validity - Specifies the validity period (in seconds) for the OAuth 2.0 refresh token.
- oauth
Token StringEndpoint - The OAuth 2.0 token endpoint for the Git repository.
- oauth
Username String - Specifies the username to authenticate with the Git repository using OAuth 2.0.
- show
Outputs List<Property Map> - Outputs the result of
SHOW API INTEGRATIONSfor the given integration.
Supporting Types
ApiIntegrationGitRepositoryOauth2DescribeOutput, ApiIntegrationGitRepositoryOauth2DescribeOutputArgs
- Allowed
Prefixes List<string> - Blocked
Prefixes List<string> - Comment string
- Enabled bool
- Oauth
Access intToken Validity - Oauth
Allowed List<string>Scopes - string
- Oauth
Client stringId - Oauth
Refresh intToken Validity - Oauth
Token stringEndpoint - Oauth
Username string - User
Auth stringType
- Allowed
Prefixes []string - Blocked
Prefixes []string - Comment string
- Enabled bool
- Oauth
Access intToken Validity - Oauth
Allowed []stringScopes - string
- Oauth
Client stringId - Oauth
Refresh intToken Validity - Oauth
Token stringEndpoint - Oauth
Username string - User
Auth stringType
- allowed_
prefixes list(string) - blocked_
prefixes list(string) - comment string
- enabled bool
- oauth_
access_ numbertoken_ validity - oauth_
allowed_ list(string)scopes - string
- oauth_
client_ stringid - oauth_
refresh_ numbertoken_ validity - oauth_
token_ stringendpoint - oauth_
username string - user_
auth_ stringtype
- allowed
Prefixes List<String> - blocked
Prefixes List<String> - comment String
- enabled Boolean
- oauth
Access IntegerToken Validity - oauth
Allowed List<String>Scopes - String
- oauth
Client StringId - oauth
Refresh IntegerToken Validity - oauth
Token StringEndpoint - oauth
Username String - user
Auth StringType
- allowed
Prefixes string[] - blocked
Prefixes string[] - comment string
- enabled boolean
- oauth
Access numberToken Validity - oauth
Allowed string[]Scopes - string
- oauth
Client stringId - oauth
Refresh numberToken Validity - oauth
Token stringEndpoint - oauth
Username string - user
Auth stringType
- allowed_
prefixes Sequence[str] - blocked_
prefixes Sequence[str] - comment str
- enabled bool
- oauth_
access_ inttoken_ validity - oauth_
allowed_ Sequence[str]scopes - str
- oauth_
client_ strid - oauth_
refresh_ inttoken_ validity - oauth_
token_ strendpoint - oauth_
username str - user_
auth_ strtype
- allowed
Prefixes List<String> - blocked
Prefixes List<String> - comment String
- enabled Boolean
- oauth
Access NumberToken Validity - oauth
Allowed List<String>Scopes - String
- oauth
Client StringId - oauth
Refresh NumberToken Validity - oauth
Token StringEndpoint - oauth
Username String - user
Auth StringType
ApiIntegrationGitRepositoryOauth2ShowOutput, ApiIntegrationGitRepositoryOauth2ShowOutputArgs
Import
$ pulumi import snowflake:index/apiIntegrationGitRepositoryOauth2:ApiIntegrationGitRepositoryOauth2 example '"<name>"'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
snowflakeTerraform Provider.
published on Wednesday, Jul 8, 2026 by Pulumi