Skip to content

Commit 92f5ee1

Browse files
author
Bjarne Schröder
committed
Dremio: Removing service account info from example.
1 parent 91a6417 commit 92f5ee1

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

examples/dremio/dremio.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@ import (
1313
)
1414

1515
func main() {
16-
region := "eu01" // Region where the resources will be created
17-
projectId := "PROJECT_ID" // Your STACKIT project ID
18-
serviceAccountKeyPath := "sa-key-path.json" // Path to your STACKIT service account json
16+
region := "eu01" // Region where the resources will be created
17+
projectId := "PROJECT_ID" // Your STACKIT project ID
1918

2019
ctx := context.Background()
2120

2221
dremioClient, err := dremio.NewAPIClient(
2322
config.WithRegion(region),
24-
config.WithServiceAccountKeyPath(serviceAccountKeyPath),
2523
)
2624
if err != nil {
2725
fmt.Fprintf(os.Stderr, "[Dremio] Creating API client: %v\n", err)

0 commit comments

Comments
 (0)