Docs Menu
Docs Home
/ /
Atlas CLI
/ / / /

atlas federatedAuthentication federationSettings identityProvider list

List the identity providers from your federation settings.

Public Preview: The atlas api sub-command, automatically generated from the MongoDB Atlas Admin API, offers full coverage of the Admin API and is currently in Public Preview (please provide feedback at https://feedback.mongodb.com/forums/930808-atlas-cli). Admin API capabilities have their own release lifecycle, which you can check via the provided API endpoint documentation link.

To use this command, you must authenticate with a user account or an API key with the Org Owner role.

Command Syntax
atlas federatedAuthentication federationSettings identityProvider list [options]
Name
Type
Required
Description

--federationSettingsId

string

true

Unique 24-hexadecimal digit string that identifies the federation settings.

-h, --help

false

help for list

--idpType

string

false

Type of Identity Provider. Valid values are WORKFORCE or WORKLOAD. This value defaults to "WORKFORCE".

--limit

int

false

Number of items per results page, up to a maximum of 500. If you have more than 500 results, specify the --page option to change the results page. This value defaults to 100.

-o, --output

string

false

Output format. Valid values are json, json-path, go-template, or go-template-file. To see the full output, use the -o json option.

--page

int

false

Page number that specifies a page of results. This value defaults to 1.

--protocol

string

false

Protocol used to authenticate the user. Valid value is OIDC or SAML. This value defaults to "OIDC".

Name
Type
Required
Description

-P, --profile

string

false

If the command succeeds, the CLI returns output similar to the following sample. Values in brackets represent your values.

ID DISPLAY NAME ISSUER URI CLIENT ID IDP TYPE
<Id> <DisplayName> <IssuerUri> <ClientId> <IdpType>
# List the identity providers from your federation settings with federationSettingsId 5d1113b25a115342acc2d1aa and idpType WORKLOAD
atlas federatedAuthentication federationSettings identityProvider list --federationSettingsId 5d1113b25a115342acc2d1aa --idpType WORKLOAD

Back

describe

On this page