Skip to content

Commit 5560ad9

Browse files
committed
feat: added support for custom headers and insecure tls
1 parent 8e625d9 commit 5560ad9

File tree

7 files changed

+133
-70
lines changed

7 files changed

+133
-70
lines changed

docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ provider "zitadel" {
5555

5656
- `access_token` (String, Sensitive) Personal Access Token to connect to ZITADEL. Either 'access_token', 'jwt_file', 'jwt_profile_file' or 'jwt_profile_json' is required
5757
- `insecure` (Boolean) Use insecure connection
58+
- `insecure_skip_verify_tls` (Boolean) Disable TLS certificate verification. Only use in development/testing environments with self-signed certificates.
5859
- `jwt_file` (String) Path to the file containing presigned JWT to connect to ZITADEL. Either 'access_token', 'jwt_file', 'jwt_profile_file' or 'jwt_profile_json' is required
5960
- `jwt_profile_file` (String) Path to the file containing credentials to connect to ZITADEL. Either 'access_token', 'jwt_file', 'jwt_profile_file' or 'jwt_profile_json' is required
6061
- `jwt_profile_json` (String) JSON value of credentials to connect to ZITADEL. Either 'access_token', 'jwt_file', 'jwt_profile_file' or 'jwt_profile_json' is required
6162
- `port` (String) Used port if not the default ports 80 or 443 are configured
6263
- `token` (String) Path to the file containing credentials to connect to ZITADEL
64+
- `transport_headers` (Map of String) Custom headers to add to both HTTP (authentication) and gRPC (API) requests. Useful for proxy authentication (e.g., GCP IAP with Proxy-Authorization header).

go.mod

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ module github.com/zitadel/terraform-provider-zitadel/v2
33
go 1.24.0
44

55
require (
6-
github.com/envoyproxy/protoc-gen-validate v1.2.1
6+
github.com/envoyproxy/protoc-gen-validate v1.3.0
77
github.com/gabriel-vasile/mimetype v1.4.1
88
github.com/gogo/protobuf v1.3.2
9-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.1
9+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.4
1010
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320
1111
github.com/hashicorp/hcl/v2 v2.16.2
1212
github.com/hashicorp/terraform-plugin-framework v0.15.0
@@ -15,18 +15,18 @@ require (
1515
github.com/hashicorp/terraform-plugin-mux v0.7.0
1616
github.com/hashicorp/terraform-plugin-sdk/v2 v2.26.1
1717
github.com/zclconf/go-cty v1.13.1
18-
github.com/zitadel/oidc/v3 v3.44.0
19-
github.com/zitadel/zitadel-go/v3 v3.19.0
20-
golang.org/x/oauth2 v0.30.0
21-
google.golang.org/grpc v1.74.2
22-
google.golang.org/protobuf v1.36.7
18+
github.com/zitadel/oidc/v3 v3.45.1
19+
github.com/zitadel/zitadel-go/v3 v3.21.0
20+
golang.org/x/oauth2 v0.34.0
21+
google.golang.org/grpc v1.78.0
22+
google.golang.org/protobuf v1.36.11
2323
)
2424

2525
require (
2626
github.com/agext/levenshtein v1.2.3 // indirect
2727
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
2828
github.com/fatih/color v1.15.0 // indirect
29-
github.com/go-jose/go-jose/v4 v4.1.2 // indirect
29+
github.com/go-jose/go-jose/v4 v4.1.3 // indirect
3030
github.com/go-logr/logr v1.4.3 // indirect
3131
github.com/go-logr/stdr v1.2.2 // indirect
3232
github.com/go-test/deep v1.0.7 // indirect
@@ -64,16 +64,16 @@ require (
6464
github.com/vmihailenco/tagparser v0.1.1 // indirect
6565
github.com/zitadel/logging v0.6.2 // indirect
6666
github.com/zitadel/schema v1.3.1 // indirect
67-
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
68-
go.opentelemetry.io/otel v1.37.0 // indirect
69-
go.opentelemetry.io/otel/metric v1.37.0 // indirect
70-
go.opentelemetry.io/otel/trace v1.37.0 // indirect
67+
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
68+
go.opentelemetry.io/otel v1.38.0 // indirect
69+
go.opentelemetry.io/otel/metric v1.38.0 // indirect
70+
go.opentelemetry.io/otel/trace v1.38.0 // indirect
7171
golang.org/x/crypto v0.45.0 // indirect
72-
golang.org/x/mod v0.29.0 // indirect
72+
golang.org/x/mod v0.30.0 // indirect
7373
golang.org/x/net v0.47.0 // indirect
7474
golang.org/x/sys v0.38.0 // indirect
75-
golang.org/x/text v0.31.0 // indirect
75+
golang.org/x/text v0.32.0 // indirect
7676
google.golang.org/appengine v1.6.8 // indirect
77-
google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822 // indirect
78-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822 // indirect
77+
google.golang.org/genproto/googleapis/api v0.0.0-20251222181119-0a764e51fe1b // indirect
78+
google.golang.org/genproto/googleapis/rpc v0.0.0-20251222181119-0a764e51fe1b // indirect
7979
)

0 commit comments

Comments
 (0)