Navigation

mongocli atlas security ldap verify status

The security ldap verify status command retrieves the status of the most recent verification request submitted using the mongocli atlas security ldap verify command or the Atlas API. You can also retrieve the status of a verification request using the Atlas API.

Note

Atlas returns a HTTP 404 error if you request the status of any request other than the most recent.

mongocli atlas security ldap verify <request-ID>
[ --output|-o <output-format> ]
[ --profile|-P <name-of-profile> ]
[ --projectId <id-of-project> ]
Note

Use -h or --help to view the command-line help for this command.

Argument
Type
Description
Required?
<request-ID>
string
Unique identifier of the most recent request to verify the LDAP over TLS /SSL configuration. Run the mongocli atlas security ldap verify command for the request ID.
yes
Option
Type
Description
Required?
--output, -o
string

Command output format. Valid values are:

  • json for output in JSON format
  • go-template for custom output using the Go template
  • go-template-file for custom output specified using the Go template file

If omitted, the command returns output in the default format.

no
--profile, -P
string
Name of the profile to use for accessing the Atlas project. If omitted, uses the default profile.
no
--projectId
string

Unique identifier of the project. If omitted, uses the project ID in the profile or environment variable.

yes

If the command succeeds, it returns the following output in the default format. If the command returns errors, see Troubleshooting for recommended solutions.

REQUEST ID PROJECT ID STATUS
<verification-request-ID> <atlas-project-ID> <verification-status>

The default output contains a subset of the fields returned by this command. For the complete list of JSON fields returned by the command, see the API reference.

The following example uses the mongocli atlas security ldap verify status command to retrieve the status of the most recent request for verification of an LDAP over TLS configuration. The command uses the default profile to access the Atlas project.

mongocli atlas security ldap verify status 5fa1afa40bcb85015ae356ec

The previous command prints the following to the terminal:

REQUEST ID PROJECT ID STATUS
5fa1afa40bcb85015ae356ec 5e2211c17a3e5a48f5497de3 SUCCESS
Give Feedback