Skip to content

Commit 7b74af4

Browse files
authored
(DOCSP-17189) API, invitations (#24)
* (DOCSP-17189) API, invitations
1 parent eb0fcf8 commit 7b74af4

15 files changed

+296
-115
lines changed

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "cloudgov"
22
title = "MongoDB Atlas for Government"
33

4-
intersphinx = ["https://docs.mongodb.com/manual/objects.inv","https://docs.atlas.mongodb.com/objects.inv"]
4+
intersphinx = ["https://docs.atlas.mongodb.com/objects.inv", "https://docs.mongodb.com/manual/objects.inv"]
55

66
toc_landing_pages = [
77
"/tutorial/getting-started",

source/api.txt

Lines changed: 142 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -11,61 +11,172 @@ API
1111
.. contents:: On this page
1212
:local:
1313
:backlinks: none
14-
:depth: 1
14+
:depth: 2
1515
:class: singlecol
1616

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/>`.
2056

2157
{+gov-considerations+}
2258
-----------------------------------
2359

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+
2479
Many of the commercial |service| |api| resources are limited or
25-
unavailable.
80+
unavailable:
2681

27-
You must authenticate |api| requests with ``SHA-256`` in the
28-
|http| Digest Access Authentication.
82+
Database Users
83+
~~~~~~~~~~~~~~
2984

30-
Security
85+
Database users who authenticate with
86+
:manual:`SCRAM </core/security-scram/>` must use ``SCRAM-SHA-256``.
87+
88+
Clusters
3189
~~~~~~~~
3290

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.
3493

35-
- |api| keys generated in standard region-only projects cannot be used
36-
to make requests to government region-only projects.
94+
Alerts
95+
~~~~~~
3796

38-
Features
39-
~~~~~~~~
97+
- Alerts related to payment methods are unavailable.
4098

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`.
42101

43-
- Cloud Manager
102+
Third-Party Integration Settings
103+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44104

45-
- Charts
105+
You must have the :authrole:`Project Owner` role to
106+
configure a third-party monitoring integration.
46107

47-
- Realm
108+
Atlas Search
109+
~~~~~~~~~~~~
48110

49-
- Atlas Data Lake
111+
|service| Search is unavailable in |cloudgov-short|.
50112

51-
- Online Archives
113+
Cloud Backups
114+
~~~~~~~~~~~~~
52115

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.
54121

55-
Configuration Options
56-
~~~~~~~~~~~~~~~~~~~~~
122+
Shared-Tier Snapshots and Restore Jobs
123+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
57124

58-
- Free, shared, and ``M10`` clusters unavailable.
125+
Shared-tier clusters are unavailable in |cloudgov-short|.
59126

60-
- The |azure| and |gcp| cloud providers are unavailable.
127+
Online Archive
128+
~~~~~~~~~~~~~~
61129

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|.
64149

65-
- Alerts related to payment methods are not available.
150+
Monitoring and Logs
151+
~~~~~~~~~~~~~~~~~~~
66152

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+
~~~~~~~~
69181

70-
/api/configure
71-
/api/resources
182+
Triggers are unavailable in |cloudgov-short|.

source/atlas-access.txt

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,24 @@ Purchase and Activate a Subscription
3636
To purchase and activate a |cloudgov-short| subscription, see
3737
:ref:`billing`.
3838

39-
Accept an Invitation
40-
~~~~~~~~~~~~~~~~~~~~
39+
Accept an Invitation to an Organization
40+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4141

4242
|cloudgov-short| invitations are sent by email. To accept an invitation
43-
to an organization, follow the instructions in the |cloudgov-short|
44-
email you receive.
43+
to an organization:
44+
45+
.. include:: /includes/steps/accept-invite.rst
46+
47+
Invite a New User to an Organization
48+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49+
50+
.. note::
51+
You must be an :authrole:`Organization Owner` to invite users to
52+
your organization.
53+
54+
To invite a user to your organization:
55+
56+
.. include:: /includes/steps/invite-user.rst
4557

4658
Account Limitations
4759
-------------------
@@ -68,11 +80,8 @@ Passwords
6880

6981
- |cloudgov-short| requires that passwords contain:
7082

71-
- At least 15 characters,
72-
- An upper case letter,
73-
- A lower case letter,
74-
- A number, and
75-
- A special character.
83+
- At least 8 characters
84+
- Unique characters, numbers, or symbols
7685

7786
Account
7887
~~~~~~~
@@ -89,9 +98,9 @@ Account
8998
User Sessions
9099
~~~~~~~~~~~~~
91100

92-
- |cloudgov-short| ends your session after 15 minutes of
93-
inactivity, requiring you to log in again. You are prompted to
94-
continue your current session after 10 minutes of inactivity.
101+
|cloudgov-short| ends your session after 15 minutes of
102+
inactivity, requiring you to log in again. You are prompted to
103+
continue your current session after 10 minutes of inactivity.
95104

96105
Organizations and Projects
97106
--------------------------

source/billing.txt

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,29 @@ You must purchase a subscription to pay for |cloudgov|.
1717
Purchase a Subscription
1818
-----------------------
1919

20-
You can purchase a |cloudgov| subscription from the following
21-
sources:
20+
You can purchase a |cloudgov| subscription from:
2221

23-
- The |aws| Marketplace
22+
- The |aws| Marketplace, or
2423

25-
- :website:`MongoDB Sales </contact/atlas>`
24+
- :website:`MongoDB Sales </contact/atlas>`.
2625

2726
Activate Your Subscription
2827
--------------------------
2928

30-
Activate your subscription by accepting the email invitation sent to
31-
you by the |aws| Marketplace or MongoDB Sales.
29+
Activate your subscription by first accepting the email invitation sent
30+
to you by the |aws| Marketplace or MongoDB Sales.
3231

3332
When you accept an invitation to register for a new account, your
3433
activation code is applied to the first organization you create.
3534

35+
For a complete tutorial on creating an account, activating your
36+
subscription and getting started with |cloudgov|, see
37+
:ref:`Getting Started <create-account>`.
38+
3639
Limitations
3740
-----------
3841

39-
- Elastic invoicing is not available.
42+
- Elastic invoicing is not currently available.
4043

4144
- You cannot use a credit card or PayPal to pay for |cloudgov-short|.
4245
Credit card alerts are disabled.

source/billing/subscriptions.txt

Lines changed: 0 additions & 35 deletions
This file was deleted.

source/clusters.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ either a :term:`replica set` or a :term:`sharded cluster`.
1818
{+gov-considerations+}
1919
-----------------------------------
2020

21-
- When you create a project, you may designate it as a government
22-
region-only project. If you do not, that project is a standard
23-
region-only project. You may only deploy clusters to the type of
24-
region that your project supports.
21+
- When you create a project, you can designate it as an |aws-fr-high|
22+
region-only project. If you do not, that project is an
23+
|aws-fr-moderate| region-only project. You may only deploy clusters
24+
to the type of region that your project supports.
2525

26-
- You may only create clusters tier ``M20`` and above. Free and shared
26+
- You can only create clusters tier ``M20`` and above. Free and shared
2727
tier clusters are not available.
2828

2929
See the |service| documentation to

source/clusters/backup-restore-data.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ backup to clusters in that project.
2525
|cloudgov-short| user roles are the same as
2626
:atlas:`Atlas User Roles </reference/user-roles/>`.
2727

28-
Standard and government cloud provider backups are not compatible
29-
with one another. If you create a backup from a government region-only
30-
project, you may only restore that data to a government region-only
31-
project. The same is true for standard region-only projects.
28+
|aws-fr-moderate| and |aws-fr-high| backups are not compatible
29+
with one another. If you create a backup from a |aws-fr-high|
30+
region-only project, you can only restore that data to a |aws-fr-high|
31+
region-only project. The same is true for |aws-fr-moderate| region-only
32+
projects.
3233

3334
For a list of regions by cloud provider, see :ref:`<supported-regions>`.
3435

source/clusters/monitoring.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ authentications.
3737
See the |service| documentation to
3838
:atlas:`View and Download MongoDB Logs </mongodb-logs/>`
3939

40+
.. _alert-emails:
41+
4042
Alerts and Communications
4143
-------------------------
4244

source/images/cloudgov-indicator.png

9.93 KB
Loading

0 commit comments

Comments
 (0)