Create directory
This method creates a directory in the Vault. Any user who is a member of the Vault Admins group can run this web service.
Creating a new directory in the Vault sets up an automated process that obtains user identification and security information via LDAP, and that automatically provisions Vault users based on the external user account, group membership, and attributes.
URL
The Groups category is created automatically when the directory is created. If there is a failure in its creation, no error will be returned, as this is an internal function. Make sure there are no spaces in the URL. |
|
Resource Information
HTTP method |
POST |
Content type |
application/json |
Header parameter
Parameter |
Authorization |
Type |
String |
Description |
The token that identifies the session. |
Valid values |
A session token that was returned from the “Logon” method. |
Body parameters
|
Parameter |
Description |
---|---|
DirectoryType |
The name of the directory profile file that the Vault will use when working with the specified LDAP directory. Choose from a list of predefined directory profiles. Type: string Mandatory: yes |
DomainName |
The address of the domain. Type: string Mandatory: yes |
DCList |
A list of host servers for External Directory. Each item in the list includes the following:
|
BindUsername |
The user that will authenticate to the directory server. Type: string Mandatory: yes |
BindPassword |
The password for the user specified in the Bind User field. Type: string Mandatory: yes |
DomainBaseContext |
The base context of the External Directory. Type: string Mandatory: yes |
Port |
The port that will be used to access the specified server. The standard port for SSL LDAP connections is 636, and for non-SSL LDAP connections is 389. Type: int Mandatory: no Default Value: 636 |
Result
|
Parameter |
Description |
---|---|
DomainName |
The address of the domain. Type: string |
DirectoryType |
The name of the directory profile file that the Vault will use when working with the specified LDAP directory. Choose from a list of predefined directory profiles. Type: string |
DCList |
A list of host servers for External Directory. Each item in the list includes the following:
|
BindUsername |
The user that will authenticate to the directory server. Type: string |
DomainBaseContext |
The base context of the External Directory. Type: string |
Port |
The port that will be used to access the specified server. The standard port for SSL LDAP connections is 636, and for non-SSL LDAP connections is 389. Type: int |
Return codes
For a complete list of return codes, see Return Codes.