settings interface — VMware Salt API
settings interface
The LoadedMod class allows for the module loaded onto the sub to return custom sequencing, for instance it can be iterated over to return all functions
Delete the authentication configuration by the provided name
Parameters
| name: | The name of the authentication configuration to delete. |
|---|
Get SSO configuration settings
Parameters
| slug: | SSO Slug ID. |
|---|
Clears out the Redis cache entry for this particular preview job. This does not stop the background task, to stop a background Celery task is somewhat ugly, we can revisit this later if it appears we really need to make sure the task is dead.
Return access metadata for this authentication configuration.
Parameters
| config_uuid: | UUID referencing desired authentication configuration. |
|---|
Return the authentication configuration by the provided name, or all authentication configurations if name is not specified.
Parameters
| config_name: | Name of the configuration to retrieve. Retrieve all if config_name is None. |
|---|---|
| include_preview: | Include any auth_configs that are marked Preview. Defaults to False. Only matters if config_name is None, if a config_name is passed, always return the config whether it is a preview config or not. |
Get info for the login banner
Return the records retrieved from the LDAP directory as collected so far. The return payload will contain the LDAP records under the entries key as well as the status of the background job that is querying the directory. The status will appear in the status key of the return payload.
Return a status for the background LDAP query job.
Get backend field definitions
Parameters
| backend: | SSO backend ID |
|---|
Get SSO configuration settings
Parameters
| slug: | SSO Slug ID. |
|---|
Return the status of telemetry collection and reporting to VMware. True means telemetry is being sent to VMware. False means no telemetry data is transmitted.
Save access metadata for this authentication configuration.
Parameters
| config_uuid: | UUID referencing desired authentication configuration. |
|---|---|
| access_payload: | Dictionary containing role names as keys and a list of allowed access types as values |
Create or update the authentication configuration by the provided config_name.
Parameters
| config_name: | Name of the auth configuration |
|---|---|
| **: | Dictionary with details defining this authentication configuration. |
| skip_job_scheduling: | If False, no scheduler jobs which maintain synchronization with the Active Directory/LDAP backend are created. |
Save SSO configuration settings
Parameters
| name: | Name of the SSO. |
|---|---|
| backend: | SSO backend. |
| config: | Configuration settings. |
Set the status of telemetry permission. This API is should be called by LCM with the value of the CEIP opt-in checkbox, or in the SaaS deployments with the value of the SUDP checkbox whenever the customer changes it.
Execute a background task that will return a set of example records from the defined LDAP or Active Directory. Returns a task_id that can be used to check on the status of the preview. LDAP records are cached in Redis and can be retrieved with get_directory_preview_records().
Get updated information from the LDAP backend on users currently in use in SSE.
Parameters
| config_name: | Name of the configuration to synchronize. |
|---|
Test Active Directory/LDAP connectability and credentials for the provided authentication configuration details
Parameters
| details: | Connection details for the AD/LDAP backend. |
|---|
Returns a dictionary with at least one key, validation_passed, for which the value is True or False depending on the outcome of the validation routines. If validation failed, an extra key, details is also included with an explanation on what failed..