Skip to content

Commit

Permalink
remove use_tls attribute (#12)
Browse files Browse the repository at this point in the history
* remove use_tls property

* update document
  • Loading branch information
hkobayash authored Apr 1, 2021
1 parent 7b53ea1 commit c5259df
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ EOF
provider "ldap" {
ldap_host = "ldap.example.org"
ldap_port = 389
use_tls = true
bind_user = "cn=admin,dc=example,dc=com"
bind_password = "admin"
}
Expand Down
1 change: 0 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@ provider "ldap" {
- **start_tls** (Boolean) Upgrade TLS to secure the connection (default: false).
- **tls** (Boolean) Enable TLS encryption for LDAP (LDAPS) (default: false).
- **tls_insecure** (Boolean) Don't verify server TLS certificate (default: false).
- **use_tls** (Boolean, Deprecated) Use TLS to secure the connection (default: true).
6 changes: 0 additions & 6 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ func Provider() *schema.Provider {
DefaultFunc: schema.EnvDefaultFunc("LDAP_PORT", 389),
Description: "The LDAP protocol port (default: 389).",
},
"use_tls": {
Type: schema.TypeBool,
Optional: true,
Description: "Use TLS to secure the connection (default: true).",
Deprecated: "use_tls attribute has been rename to start_tls.",
},
"bind_user": {
Type: schema.TypeString,
Required: true,
Expand Down

0 comments on commit c5259df

Please sign in to comment.