Endpoints in the Outpost REST API
This version of BMC Discovery Outpost supports versions 1.8 of the REST API. Higher versions are always backwards compatible with earlier versions.
The base URL for the latest API version is:
credentials
Manage credentials. Index is used to order credentials, lower to higher.
{{status subtle="false" colour="Blue" title="GET"/}}
/vault/credential_types
Click here to expand...
Description
Get a list of all credential types and filter by group and/or category.
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
group | query | Filter credential types by group | string | |
category | query | Filter credential types by category | string |
Responses
Code | Description | Schema |
---|---|---|
200 | successful operation | [ |
{{status subtle="false" colour="Blue" title="GET"/}}
/vault/credential_types/{cred_type_name}
Click here to expand...
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
cred_type_name | path | Name of the credential type | string* |
Responses
Code | Description | Schema |
---|---|---|
200 | successful operation | credentialType { |
{{status subtle="false" colour="Blue" title="GET"/}}
/vault/credentials
Click here to expand...
Responses
Code | Description | Schema |
---|---|---|
200 | successful operation | [ |
{{status subtle="false" colour="Green" title="POST"/}}
/vault/credentials
Click here to expand...
Description
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
body | body | Credential to be added. Note that a default label is generated if no label is provided. If no ip_range is provided, the credential will be created to match all IPs (0.0.0.0/0,::/0). | credentialInput { |
Responses
Code | Description | Schema |
---|---|---|
200 | successful operation | { |
{{status subtle="false" colour="Blue" title="GET"/}}
/vault/credentials/{cred_id}
Click here to expand...
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
cred_id | path | ID of the credential | string* |
Responses
Code | Description | Schema |
---|---|---|
200 | successful operation | credential { |
{{status subtle="false" colour="Yellow" title="PUT"/}}
/vault/credentials/{cred_id}
Click here to expand...
Description
Replaces a single credential. All required credential properties must be present. Optional properties that are missing will be reset to their defaults.
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
cred_id | path | ID of the credential | string* | |
body | body | Credential properties | credentialInput { |
Responses
Code | Description | Schema |
---|---|---|
200 | successful operation |
{{status subtle="false" colour="Yellow" title="PATCH"/}}
/vault/credentials/{cred_id}
Click here to expand...
Description
Updates partial resources of a credential. Missing properties are left unchanged.
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
cred_id | path | ID of the credential | string* | |
body | body | Credential properties | credentialInput { |
Responses
Code | Description | Schema |
---|---|---|
200 | successful operation |
{{status subtle="false" colour="Red" title="DELETE"/}}
/vault/credentials/{cred_id}
Click here to expand...
Description
Deletes a specific credential.
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
cred_id | path | ID of the credential | string* |
Responses
Code | Description | Schema |
---|---|---|
200 | successful operation |
kerberos
Manage Kerberos resources
{{status subtle="false" colour="Blue" title="GET"/}}
/vault/kerberos/realms
Click here to expand...
Description
Retrieve all available realms
Responses
Code | Description | Schema |
---|---|---|
200 | A list of all available realms | realmsResponse { |
{{status subtle="false" colour="Blue" title="GET"/}}
/vault/kerberos/realms/{realm_name}
Click here to expand...
Description
Retrieve a Kerberos realm by name
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
realm_name | path | The name of the realm | string* |
Responses
Code | Description | Schema |
---|---|---|
200 | A list of realms | [ |
{{status subtle="false" colour="Green" title="POST"/}}
/vault/kerberos/realms/{realm_name}
Click here to expand...
Description
Create a Kerberos realm
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
realm_name | path | The name of the realm | string* | |
body | body | Values to create a new realm | KerberosInput { |
Responses
Code | Description | Schema |
---|---|---|
200 | Successful operation | realmResponse { |
{{status subtle="false" colour="Yellow" title="PATCH"/}}
/vault/kerberos/realms/{realm_name}
Click here to expand...
Description
Update a Kerberos realm
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
realm_name | path | The name of the realm | string* | |
body | body | Values to update a realm | KerberosInput { |
Responses
Code | Description | Schema |
---|---|---|
200 | Successful operation | realmResponse { |
{{status subtle="false" colour="Red" title="DELETE"/}}
/vault/kerberos/realms/{realm_name}
Click here to expand...
Description
Delete a Kerberos realm
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
realm_name | path | The name of the realm | string* |
Responses
Code | Description | Schema |
---|---|---|
200 | Successful operation |
{{status subtle="false" colour="Green" title="POST"/}}
/vault/kerberos/realms/{realm_name}/test
Click here to expand...
Description
Test user credentials by attempting to acquire a new Kerberos Ticket Granting Ticket (TGT)
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
realm_name | path | The name of the realm | string* | |
body | body | kuser credentials to get a Kerberos ticket | KerberosUserInput { |
Responses
Code | Description | Schema |
---|---|---|
200 | Successful operation |
{{status subtle="false" colour="Blue" title="GET"/}}
/vault/kerberos/realms/{realm_name}/keytabs
Click here to expand...
Description
Return a list of users with a Kerberos keytab file
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
realm_name | path | The name of the realm | string* |
Responses
Code | Description | Schema |
---|---|---|
200 | A list of users with keytabs | [ |
{{status subtle="false" colour="Green" title="POST"/}}
/vault/kerberos/realms/{realm_name}/keytabs
Click here to expand...
Description
Upload a Kerberos keytab file
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
realm_name | path | The name of the realm | string* | |
username | formData | name of the user | string* | |
keytab | formData | file* |
Responses
Code | Description | Schema |
---|---|---|
200 | Successful operation |
{{status subtle="false" colour="Red" title="DELETE"/}}
/vault/kerberos/realms/{realm_name}/keytabs/{username}
Click here to expand...
Description
Delete the keytab file for a user
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
realm_name | path | The name of the realm | string* | |
username | path | The user name | string* |
Responses
Code | Description | Schema |
---|---|---|
200 | successful operation |
{{status subtle="false" colour="Blue" title="GET"/}}
/vault/kerberos/realms/{realm_name}/ccaches
Click here to expand...
Description
Return a list of users with a Kerberos credential cache file
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
realm_name | path | The name of the realm | string* |
Responses
Code | Description | Schema |
---|---|---|
200 | A list of users with ccaches | [ |
{{status subtle="false" colour="Green" title="POST"/}}
/vault/kerberos/realms/{realm_name}/ccaches
Click here to expand...
Description
Upload a Kerberos credential cache file
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
realm_name | path | The name of the realm | string* | |
username | formData | name of the user | string* | |
ccache | formData | file* |
Responses
Code | Description | Schema |
---|---|---|
200 | Successful operation |
{{status subtle="false" colour="Red" title="DELETE"/}}
/vault/kerberos/realms/{realm_name}/ccaches/{username}
Click here to expand...
Description
Deletes the credential cache file for a user
Parameters
Name | Located in | Description | Default | Schema |
---|---|---|---|---|
realm_name | path | The name of the realm | string* | |
username | path | The user name | string* |
Responses
Code | Description | Schema |
---|---|---|
200 | successful operation |