Citrix

Produktdokumentation



Ganzes Dokument herunterladen

tacacs_servers

Oct. 21, 2015

Configuration of TACACS server. This NITRO resource is applicable for CloudBridge 400, 800, 1000, 2000, 2000WS, 3000, 4000, and 5000 platforms only.

Properties

Name Data Type Read-Only? Description
port
<String>
No

TACACS server port

tacacskey
<String>
No

TACACS server's shared secret key.

name
<String>
No

Name of TACACS server.

accounting
<String>
No

Enable accounting in the tacacs server.

Possible values = [true, false]

authtimeout
<String>
No

The maximum number of seconds the system will wait for a response from the TACACS server.

ip
<String>
No

TACACS server IP address.

Operations

Note:

Mandatory parameters are marked in red and placeholder content is marked in <green>.

ADD

Use this operation to add a TACACS server

HTTP Method: POST

URL: https://<cb_ip_address>/cb/nitro/v1/config/tacacs_servers

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Content-Type: application/vnd.com.citrix.cloudbridge.tacacs_servers+json

Request Payload: JSON

{"tacacs_servers":{
"port": <string_value>,
"tacacskey": <string_value>,
"name": <string_value>,
"accounting": <string_value>,
"authtimeout": <string_value>,
"ip": <string_value>
}}

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.tacacs_servers+json

Response Payload: JSON

{"tacacs_servers":{
"port": <string_value>,
"tacacskey": <string_value>,
"name": <string_value>,
"accounting": <string_value>,
"authtimeout": <string_value>,
"ip": <string_value>
}}

DELETE

Use this operation to delete a TACACS server

HTTP Method: DELETE

URL: https://<cb_ip_address>/cb/nitro/v1/config/tacacs_servers/<name>

Request Headers:

Authorization: Basic <base64 encoded(username:password)>

Response Payload: EMPTY

GET (ALL)

Use this operation to get TACACS configuration details

HTTP Method: GET

URL: https://<cb_ip_address>/cb/nitro/v1/config/tacacs_servers

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Accept: application/vnd.com.citrix.cloudbridge.tacacs_servers_list+json

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.tacacs_servers_list+json

Response Payload: JSON

{"tacacs_servers": [{
"port": <string_value>,
"tacacskey": <string_value>,
"name": <string_value>,
"accounting": <string_value>,
"authtimeout": <string_value>,
"ip": <string_value>
}, ...]}

GET

Use this operation to get TACACS configuration details

HTTP Method: GET

URL: https://<cb_ip_address>/cb/nitro/v1/config/tacacs_servers/<name>

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Accept: application/vnd.com.citrix.cloudbridge.tacacs_servers+json

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.tacacs_servers+json

Response Payload: JSON

{"tacacs_servers":{
"port": <string_value>,
"tacacskey": <string_value>,
"name": <string_value>,
"accounting": <string_value>,
"authtimeout": <string_value>,
"ip": <string_value>
}}

MODIFY

Use this operation to modify TACACS configuration

HTTP Method: PUT

URL: https://<cb_ip_address>/cb/nitro/v1/config/tacacs_servers/<name>

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Content-Type: application/vnd.com.citrix.cloudbridge.tacacs_servers+json

Request Payload: JSON

{"tacacs_servers":{
"port": <string_value>,
"tacacskey": <string_value>,
"name": <string_value>,
"accounting": <string_value>,
"authtimeout": <string_value>,
"ip": <string_value>
}}

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.tacacs_servers+json

Response Payload: JSON

{"tacacs_servers":{
"port": <string_value>,
"tacacskey": <string_value>,
"name": <string_value>,
"accounting": <string_value>,
"authtimeout": <string_value>,
"ip": <string_value>
}}
Back to Top