|
11 | 11 | .. contents:: On this page
|
12 | 12 | :local:
|
13 | 13 | :backlinks: none
|
14 |
| - :depth: 1 |
| 14 | + :depth: 2 |
15 | 15 | :class: singlecol
|
16 | 16 |
|
17 |
| -The |cloudgov| |api| functions in the same way as the |service| |api|. |
18 |
| -To learn more about using the |api|, see the |
19 |
| -:atlas:`Atlas API </api/>` documentation. |
| 17 | +The |cloudgov| |api| functions in the same way as the |service| |api|, |
| 18 | +except that it uses the following base URL: |
| 19 | + |
| 20 | +.. code-block:: shell |
| 21 | + |
| 22 | + https://cloud.mongodbgov.com/api/atlas/v1.0 |
| 23 | + |
| 24 | +|cloudgov-short| authenticates |api| requests with ``SHA-256`` using |
| 25 | +:atlas:`HTTP Digest Authentication </api/#std-label-api-authentication>`. |
| 26 | + |
| 27 | +Example Usage |
| 28 | +------------- |
| 29 | + |
| 30 | +This ``curl`` example retrieves database users for a project: |
| 31 | + |
| 32 | +.. code-block:: shell |
| 33 | + |
| 34 | + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" --digest \ |
| 35 | + --header "Accept: application/json" \ |
| 36 | + --header "Content-Type: application/json" \ |
| 37 | + --include \ |
| 38 | + --request GET "https://cloud.mongodbgov.com/api/atlas/v1.0/groups/{PROJECT-ID}/databaseUsers?pretty=true" |
| 39 | + |
| 40 | +- You can find your ``PROJECT-ID`` in your :guilabel:`Project Settings`. |
| 41 | + |
| 42 | +- You can generate an |api| key pair in your organization's |
| 43 | + :guilabel:`Access Manager`, under the :guilabel:`API Keys` tab. |
| 44 | + |
| 45 | +See the Atlas Documentation |
| 46 | +--------------------------- |
| 47 | + |
| 48 | +- To learn more about using the |api|, see the |
| 49 | + :atlas:`Atlas API </api/>`. |
| 50 | + |
| 51 | +- To configure the API, see |
| 52 | + :atlas:`Configure Atlas API Access </configure-api-access/>`. |
| 53 | + |
| 54 | +- For a list of possible errors, see |
| 55 | + :atlas:`Atlas API Error Codes </reference/api/api-errors/>`. |
20 | 56 |
|
21 | 57 | {+gov-considerations+}
|
22 | 58 | -----------------------------------
|
23 | 59 |
|
| 60 | +The following cloud providers, MongoDB products, and features are |
| 61 | +unavailable for all |api| resources: |
| 62 | + |
| 63 | +- |azure| |
| 64 | + |
| 65 | +- |gcp| |
| 66 | + |
| 67 | +- |service| Data Lake |
| 68 | + |
| 69 | +- |service| Online Archives |
| 70 | + |
| 71 | +- |service| Triggers |
| 72 | + |
| 73 | +- MongoDB Charts |
| 74 | + |
| 75 | +- MongoDB Realm |
| 76 | + |
| 77 | +- Free, shared, and ``M10`` clusters |
| 78 | + |
24 | 79 | Many of the commercial |service| |api| resources are limited or
|
25 |
| -unavailable. |
| 80 | +unavailable: |
26 | 81 |
|
27 |
| -You must authenticate |api| requests with ``SHA-256`` in the |
28 |
| -|http| Digest Access Authentication. |
| 82 | +Database Users |
| 83 | +~~~~~~~~~~~~~~ |
29 | 84 |
|
30 |
| -Security |
| 85 | +Database users who authenticate with |
| 86 | +:manual:`SCRAM </core/security-scram/>` must use ``SCRAM-SHA-256``. |
| 87 | + |
| 88 | +Clusters |
31 | 89 | ~~~~~~~~
|
32 | 90 |
|
33 |
| -- You cannot create |cloudgov-short| users. |
| 91 | +|cloudgov-short| clusters must be tier ``M20`` or higher. Free and |
| 92 | +shared-tier clusters are not supported. |
34 | 93 |
|
35 |
| -- |api| keys generated in standard region-only projects cannot be used |
36 |
| - to make requests to government region-only projects. |
| 94 | +Alerts |
| 95 | +~~~~~~ |
37 | 96 |
|
38 |
| -Features |
39 |
| -~~~~~~~~ |
| 97 | +- Alerts related to payment methods are unavailable. |
40 | 98 |
|
41 |
| -The following MongoDB products and features are unavailable: |
| 99 | +- Alerts can come from several different email addresses. For more |
| 100 | + information, see :ref:`alert-emails`. |
42 | 101 |
|
43 |
| -- Cloud Manager |
| 102 | +Third-Party Integration Settings |
| 103 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
44 | 104 |
|
45 |
| -- Charts |
| 105 | +You must have the :authrole:`Project Owner` role to |
| 106 | +configure a third-party monitoring integration. |
46 | 107 |
|
47 |
| -- Realm |
| 108 | +Atlas Search |
| 109 | +~~~~~~~~~~~~ |
48 | 110 |
|
49 |
| -- Atlas Data Lake |
| 111 | +|service| Search is unavailable in |cloudgov-short|. |
50 | 112 |
|
51 |
| -- Online Archives |
| 113 | +Cloud Backups |
| 114 | +~~~~~~~~~~~~~ |
52 | 115 |
|
53 |
| -- Atlas Triggers |
| 116 | +|aws-fr-moderate| and |aws-fr-high| backups are not compatible |
| 117 | +with one another. If you create a backup from a |aws-fr-high| |
| 118 | +region-only project, you can only restore that data to a |aws-fr-high| |
| 119 | +region-only project. The same is true for |aws-fr-moderate| region-only |
| 120 | +projects. |
54 | 121 |
|
55 |
| -Configuration Options |
56 |
| -~~~~~~~~~~~~~~~~~~~~~ |
| 122 | +Shared-Tier Snapshots and Restore Jobs |
| 123 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
57 | 124 |
|
58 |
| -- Free, shared, and ``M10`` clusters unavailable. |
| 125 | +Shared-tier clusters are unavailable in |cloudgov-short|. |
59 | 126 |
|
60 |
| -- The |azure| and |gcp| cloud providers are unavailable. |
| 127 | +Online Archive |
| 128 | +~~~~~~~~~~~~~~ |
61 | 129 |
|
62 |
| -Alerts |
63 |
| -~~~~~~~ |
| 130 | +Online Archives are unavailable in |cloudgov-short|. |
| 131 | + |
| 132 | +Network Peering |
| 133 | +~~~~~~~~~~~~~~~ |
| 134 | + |
| 135 | +- You can only peer |aws-fr-high| regions with MongoDB clusters in |
| 136 | + |aws-fr-high| regions. You can only peer |aws-fr-moderate| regions |
| 137 | + with MongoDB clusters in |aws-fr-moderate| regions. |
| 138 | + |
| 139 | +- |aws| is the only supported cloud provider for |cloudgov-short|. |
| 140 | + |
| 141 | +Private Endpoints |
| 142 | +~~~~~~~~~~~~~~~~~ |
| 143 | + |
| 144 | +- You can only link |aws-fr-high| regions with MongoDB clusters in |
| 145 | + |aws-fr-high| regions. You can only link |aws-fr-moderate| regions |
| 146 | + with MongoDB clusters in |aws-fr-moderate| regions. |
| 147 | + |
| 148 | +- |aws| is the only supported cloud provider for |cloudgov-short|. |
64 | 149 |
|
65 |
| -- Alerts related to payment methods are not available. |
| 150 | +Monitoring and Logs |
| 151 | +~~~~~~~~~~~~~~~~~~~ |
66 | 152 |
|
67 |
| -.. toctree:: |
68 |
| - :titlesonly: |
| 153 | +In addition to the standard Atlas logging, |
| 154 | +|cloudgov-short| logs the username and IP address associated with all |
| 155 | +failed login attempts, temporary lockouts and failed |api| digest |
| 156 | +authentications. |
| 157 | + |
| 158 | +Encryption at Rest using Customer Key Management |
| 159 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 160 | + |
| 161 | +- You must use KMS keys in |aws-fr-high| regions to encrypt data in |
| 162 | + |aws-fr-high| region-only projects. You must use KMS keys in |
| 163 | + |aws-fr-moderate| regions to encrypt data in |aws-fr-moderate| |
| 164 | + region-only projects. |
| 165 | + |
| 166 | +- |aws| is the only supported cloud provider for |cloudgov-short|. |
| 167 | + |
| 168 | +Atlas Users |
| 169 | +~~~~~~~~~~~ |
| 170 | + |
| 171 | +You cannot create |cloudgov| users. |cloudgov| is available by |
| 172 | +invitation only. |
| 173 | + |
| 174 | +Cloud Provider Access |
| 175 | +~~~~~~~~~~~~~~~~~~~~~ |
| 176 | + |
| 177 | +|aws| is the only supported cloud provider for |cloudgov-short|. |
| 178 | + |
| 179 | +Triggers |
| 180 | +~~~~~~~~ |
69 | 181 |
|
70 |
| - /api/configure |
71 |
| - /api/resources |
| 182 | +Triggers are unavailable in |cloudgov-short|. |
0 commit comments