Skip to content

Commit

Permalink
x_api_key does not conflict with anything.
Browse files Browse the repository at this point in the history
  • Loading branch information
antonysouthworth-halter committed Oct 2, 2024
1 parent 64b7fbb commit e4f0085
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,10 @@ func AirflowProvider() *schema.Provider {
Default: false,
},
"x_api_key": {
Type: schema.TypeString,
Optional: true,
Description: "The API key to use for header (X-Api-Key) authentication",
ConflictsWith: []string{"username", "oauth2_token"},
DefaultFunc: schema.EnvDefaultFunc("AIRFLOW_X_API_KEY", nil),
Type: schema.TypeString,
Optional: true,
Description: "The API key to use for header (X-Api-Key) authentication",
DefaultFunc: schema.EnvDefaultFunc("AIRFLOW_X_API_KEY", nil),
},
},
ResourcesMap: map[string]*schema.Resource{
Expand Down

0 comments on commit e4f0085

Please sign in to comment.