Skip to content

Commit

Permalink
Reordered the Get started section, spit initial setup intop topics
Browse files Browse the repository at this point in the history
  • Loading branch information
nastena1606 committed Nov 8, 2023
1 parent 4c90364 commit ca43cbd
Show file tree
Hide file tree
Showing 16 changed files with 489 additions and 469 deletions.
8 changes: 4 additions & 4 deletions docs/details/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ etc. as the `mongo` shell or `mongodump` command does.

The `pbm-agent` processes should connect to their localhost `mongod` with a standalone type of connection.

```sh
```{.bash data-prompt="$"}
pbm-agent --mongodb-uri "mongodb://pbmuser:secretpwd@localhost:27017/?authSource=admin"
```

Alternatively:

```sh
```{.bash data-prompt="$"}
export PBM_MONGODB_URI="mongodb://pbmuser:secretpwd@localhost:27017/?authSource=admin"
pbm-agent
```
Expand All @@ -32,13 +32,13 @@ etc. as the `mongo` shell or `mongodump` command does.

=== "The `pbm` CLI connection string"

```sh
```{.bash data-prompt="$"}
pbm list --mongodb-uri "mongodb://pbmuser:secretpwd@mongocsvr1:27017,mongocsvr2:27017,mongocsvr3:27017/?replicaSet=configrs&authSource=admin"
```

Alternatively:

```sh
```{.bash data-prompt="$"}
export PBM_MONGODB_URI="mongodb://pbmuser:secretpwd@mongocsvr1:27017,mongocsvr2:27017,mongocsvr3:27017/?replicaSet=configrs&authSource=admin"
$ pbm list
```
Expand Down
3 changes: 1 addition & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Percona Backup for MongoDB Documentation


Percona Backup for MongoDB (PBM) is an open source and distributed solution for consistent backups and restore of [MongoDB sharded clusters and replica sets](details/deployments.md). There is no notable performance nor operating degradation associated with PBM.

You can make backups on a running server and restore your database to a specific point in time using the PBM command line interface. To do these tasks from a user interface, [use PBM with Percona Monitoring and Management](https://docs.percona.com/percona-monitoring-and-management/get-started/backup/index.html). Read more [how PBM works :material-arrow-top-right:](intro.md).
Expand All @@ -22,7 +21,7 @@ You can make backups on a running server and restore your database to a specific

Ready to try out PBM? Get started quickly with the step-by-step installation instructions.

[Quickstart Guides :material-arrow-right:](#){ .md-button }
[Quickstart Guides :material-arrow-right:](installation.md){ .md-button }

</div><div data-banner markdown>

Expand Down
64 changes: 64 additions & 0 deletions docs/install/backup-storage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Configure remote backup storage

Check warning on line 1 in docs/install/backup-storage.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/backup-storage.md#L1

[Google.Headings] 'Configure remote backup storage' should use sentence-style capitalization.
Raw output
{"message": "[Google.Headings] 'Configure remote backup storage' should use sentence-style capitalization.", "location": {"path": "docs/install/backup-storage.md", "range": {"start": {"line": 1, "column": 3}}}, "severity": "WARNING"}

The easiest way to provide remote backup storage configuration is to specify it in a YAML config file and upload this file to Percona Backup for MongoDB using `pbm` CLI.

The storage configuration itself is out of scope of the present document. We assume that you have configured one of the supported remote backup storages.

Check warning on line 5 in docs/install/backup-storage.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/backup-storage.md#L5

[Google.We] Try to avoid using first-person plural like 'We'.
Raw output
{"message": "[Google.We] Try to avoid using first-person plural like 'We'.", "location": {"path": "docs/install/backup-storage.md", "range": {"start": {"line": 5, "column": 75}}}, "severity": "WARNING"}

Check failure on line 5 in docs/install/backup-storage.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/backup-storage.md#L5

[Vale.Spelling] Did you really mean 'storages'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'storages'?", "location": {"path": "docs/install/backup-storage.md", "range": {"start": {"line": 5, "column": 145}}}, "severity": "ERROR"}
{.power-number}

1. Create a config file (e.g. `pbm_config.yaml`).

Check notice on line 8 in docs/install/backup-storage.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/backup-storage.md#L8

[Google.Parens] Use parentheses judiciously.
Raw output
{"message": "[Google.Parens] Use parentheses judiciously.", "location": {"path": "docs/install/backup-storage.md", "range": {"start": {"line": 8, "column": 1}}}, "severity": "INFO"}

Check failure on line 8 in docs/install/backup-storage.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/backup-storage.md#L8

[Google.Latin] Use 'for example' instead of 'e.g.'.
Raw output
{"message": "[Google.Latin] Use 'for example' instead of 'e.g.'.", "location": {"path": "docs/install/backup-storage.md", "range": {"start": {"line": 8, "column": 26}}}, "severity": "ERROR"}

2. Specify the storage information within.

The following is the sample configuration for Amazon AWS:

Check notice on line 12 in docs/install/backup-storage.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/backup-storage.md#L12

[Google.Acronyms] Spell out 'AWS', if it's unfamiliar to the audience.
Raw output
{"message": "[Google.Acronyms] Spell out 'AWS', if it's unfamiliar to the audience.", "location": {"path": "docs/install/backup-storage.md", "range": {"start": {"line": 12, "column": 58}}}, "severity": "INFO"}

```yaml
storage:
type: s3
s3:
region: us-west-2
bucket: pbm-test-bucket
prefix: data/pbm/backup
credentials:
access-key-id: <your-access-key-id-here>
secret-access-key: <your-secret-key-here>
serverSideEncryption:
sseAlgorithm: aws:kms
kmsKeyID: <your-kms-key-here>
```
This is the sample configuration for Microsoft Azure Blob storage:
```yaml
storage:
type: azure
azure:
account: <your-account>
container: <your-container>
prefix: pbm
credentials:
key: <your-access-key>
```
This is the sample configuration for filesystem storage:
```yaml
storage:
type: filesystem
filesystem:
path: /data/local_backups
```
See more examples in [Configuration file examples](../details/storage-config-example.md).
3. Insert the config file
```{.bash data-prompt="$"}
$ pbm config --file pbm_config.yaml
```

To learn more about Percona Backup for MongoDB configuration, see [Percona Backup for MongoDB configuration in a cluster (or non-sharded replica set)](../reference/config.md).

Check notice on line 60 in docs/install/backup-storage.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/backup-storage.md#L60

[Google.Parens] Use parentheses judiciously.
Raw output
{"message": "[Google.Parens] Use parentheses judiciously.", "location": {"path": "docs/install/backup-storage.md", "range": {"start": {"line": 60, "column": 122}}}, "severity": "INFO"}

## Next steps

[Start `pbm-agent` :material-arrow-right:](start-pbm-agent.md){.md-button}
7 changes: 0 additions & 7 deletions docs/install/cloud.md

This file was deleted.

185 changes: 185 additions & 0 deletions docs/install/configure-authentication.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
# Configure authentication in MongoDB

Check warning on line 1 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L1

[Google.Headings] 'Configure authentication in MongoDB' should use sentence-style capitalization.
Raw output
{"message": "[Google.Headings] 'Configure authentication in MongoDB' should use sentence-style capitalization.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 1, "column": 3}}}, "severity": "WARNING"}

Percona Backup for MongoDB uses the authentication and authorization subsystem of MongoDB. This means that to authenticate Percona Backup for MongoDB, you need to:

* [Create a corresponding `pbm` user](#create-the-pbm-user) in the `admin` database
* [Set a valid MongoDB connection URI string for **pbm-agent**](#set-the-mongodb-connection-uri-for-pbm-agent)
* [Set a valid MongoDB connection URI string for `pbm` CLI](#set-the-mongodb-connection-uri-for-pbm-cli)

## Create the `pbm` user

<i info>:material-information: Info:</i> Execute this step on a primary node of each replica set. In a sharded cluster, this means on every shard replica set and the config server replica set.

Check warning on line 11 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L11

[Google.Colons] ': I' should be in lowercase.
Raw output
{"message": "[Google.Colons] ': I' should be in lowercase.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 11, "column": 30}}}, "severity": "WARNING"}
{.power-number}

1. Create the role that allows any action on any resource.

```javascript
db.getSiblingDB("admin").createRole({ "role": "pbmAnyAction",
"privileges": [
{ "resource": { "anyResource": true },
"actions": [ "anyAction" ]
}
],
"roles": []
});
```

2. Create the user and assign the role you created to it.

```javascript
db.getSiblingDB("admin").createUser({user: "pbmuser",
"pwd": "secretpwd",
"roles" : [
{ "db" : "admin", "role" : "readWrite", "collection": "" },
{ "db" : "admin", "role" : "backup" },
{ "db" : "admin", "role" : "clusterMonitor" },
{ "db" : "admin", "role" : "restore" },
{ "db" : "admin", "role" : "pbmAnyAction" }
]
});
```

You can specify the `username` and `password` values and other options of the `createUser` command as you require so long as the roles shown above are granted.

Check warning on line 42 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L42

[Google.WordList] Use 'preceding' instead of 'above'.
Raw output
{"message": "[Google.WordList] Use 'preceding' instead of 'above'.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 42, "column": 142}}}, "severity": "WARNING"}

Check notice on line 42 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L42

[Google.Passive] In general, use active voice instead of passive voice ('are granted').
Raw output
{"message": "[Google.Passive] In general, use active voice instead of passive voice ('are granted').", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 42, "column": 148}}}, "severity": "INFO"}


!!! tip

To list all the host+port lists for the shard replica sets in a cluster, run the following command:

```javascript
db.getSiblingDB(“config”).shards.find({}, {“host”: true, “_id”: false})
```

The replica set name at the *front* of these “host” strings will have to be placed as a “/?replicaSet=xxxx” argument in the parameters part of the connection URI (see below).

## Set the MongoDB connection URI for `pbm-agent`

<i info>:material-information: Info:</i> Execute this step needs on each node where `pbm-agent` is installed.

Check warning on line 57 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L57

[Google.Colons] ': I' should be in lowercase.
Raw output
{"message": "[Google.Colons] ': I' should be in lowercase.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 57, "column": 30}}}, "severity": "WARNING"}

Check notice on line 57 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L57

[Google.Passive] In general, use active voice instead of passive voice ('is installed').
Raw output
{"message": "[Google.Passive] In general, use active voice instead of passive voice ('is installed').", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 57, "column": 97}}}, "severity": "INFO"}

A **pbm-agent** process connects to its localhost `mongod` node with a standalone type of connection.

To set the MongoDB URI connection string means to configure a service init script (`pbm-agent.service` systemd unit file) that runs a **pbm-agent**.

Check notice on line 61 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L61

[Google.Parens] Use parentheses judiciously.
Raw output
{"message": "[Google.Parens] Use parentheses judiciously.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 61, "column": 1}}}, "severity": "INFO"}

Check failure on line 61 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L61

[Vale.Spelling] Did you really mean 'systemd'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'systemd'?", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 61, "column": 104}}}, "severity": "ERROR"}

The `pbm-agent.service` systemd unit file includes the environment file. You set the MongoDB URI connection string for the `PBM_MONGODB_URI` variable within the environment file for every **pbm-agent**.

Check failure on line 63 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L63

[Vale.Spelling] Did you really mean 'systemd'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'systemd'?", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 63, "column": 25}}}, "severity": "ERROR"}

??? tip "How to find the environment file"

The path to the environment file is specified in the `pbm-agent.service` systemd unit file.

In Ubuntu and Debian, the pbm-agent.service systemd unit file is at the path `/lib/systemd/system/pbm-agent.service`.

In Red Hat and CentOS, the path to this file is `/usr/lib/systemd/system/pbm-agent.service`.

**Example of pbm-agent.service systemd unit file**

```init
[Unit]
Description=pbm-agent
After=time-sync.target network.target
[Service]
EnvironmentFile=-/etc/default/pbm-agent
Type=simple
User=pbm
Group=pbm
PermissionsStartOnly=true
ExecStart=/usr/bin/pbm-agent
[Install]
WantedBy=multi-user.target
```

=== "On Debian and Ubuntu Linux"

Edit the environment file `/etc/default/pbm-agent` and specify the MongoDB connection URI string for the `pbm` user to the local `mongod` node.

For example, if `mongod` node listens on port 27017, the MongoDB connection URI string will be the following:

```
PBM_MONGODB_URI="mongodb://pbmuser:secretpwd@localhost:27017/?authSource=admin"
```

=== "On Red Hat Enterprise Linux and derivatives"

Edit the environment file `/etc/sysconfig/pbm-agent` and specify the MongoDB connection URI string for the `pbm` user to the local `mongod` node.

For example, if `mongod` node listens on port 27017, the MongoDB connection URI string will be the following:

```
PBM_MONGODB_URI="mongodb://pbmuser:secretpwd@localhost:27017/?authSource=admin"
```

### Passwords with special characters

If the password includes special characters like `#`, `@`, `/` and so on, you must convert these characters using the [percent-encoding mechanism](https://datatracker.ietf.org/doc/html/rfc3986#section-2.1) when passing them to Percona Backup for MongoDB. For example, the password `secret#pwd` should be passed as follows in `PBM_MONGODB_URI`:

Check notice on line 114 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L114

[Google.Passive] In general, use active voice instead of passive voice ('be passed').
Raw output
{"message": "[Google.Passive] In general, use active voice instead of passive voice ('be passed').", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 114, "column": 302}}}, "severity": "INFO"}

```
PBM_MONGODB_URI="mongodb://pbmuser:secret%23pwd@localhost:27017/?authSource=admin"
```

## Set the MongoDB connection URI for `pbm CLI`

<i info>:material-information: Info:</i> Execute this step only on a host at which you will use `pbm` CLI.

Check warning on line 122 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L122

[Google.Colons] ': I' should be in lowercase.
Raw output
{"message": "[Google.Colons] ': I' should be in lowercase.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 122, "column": 30}}}, "severity": "WARNING"}

Check warning on line 122 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L122

[Google.Will] Avoid using 'will'.
Raw output
{"message": "[Google.Will] Avoid using 'will'.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 122, "column": 88}}}, "severity": "WARNING"}

Set the MongoDB URI connection string for `pbm` CLI in your shell. This allows you to call `pbm` commands without the `--mongodb-uri` flag.

Use the following command:

```
export PBM_MONGODB_URI="mongodb://pbmuser:secretpwd@localhost:27017/?authSource=admin&replSetName=xxxx"
```

For more information about what connection string to specify, refer to the [pbm connection string](../details/authentication.md#mongodb-connection-strings-a-reminder-or-primer) section.

## External authentication support in Percona Backup for MongoDB

In addition to SCRAM, Percona Backup for MongoDB supports other [authentication methods](https://docs.percona.com/percona-server-for-mongodb/latest/authentication.html) that you use in MongoDB or Percona Server for MongoDB.

Check notice on line 136 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L136

[Google.Acronyms] Spell out 'SCRAM', if it's unfamiliar to the audience.
Raw output
{"message": "[Google.Acronyms] Spell out 'SCRAM', if it's unfamiliar to the audience.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 136, "column": 16}}}, "severity": "INFO"}

For external authentication, you create the `pbm` user in the format used by the authentication system and set the MongoDB connection URI string to include both the authentication method and authentication source.

For example, for [Kerberos authentication](https://docs.percona.com/percona-server-for-mongodb/6.0/authentication.html#kerberos-authentication), create the `pbm` user in the `$external` database in the format `<username@KERBEROS_REALM>` (e.g. [[email protected]](mailto:[email protected])).

Check failure on line 140 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L140

[Google.Latin] Use 'for example' instead of 'e.g.'.
Raw output
{"message": "[Google.Latin] Use 'for example' instead of 'e.g.'.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 140, "column": 239}}}, "severity": "ERROR"}

Check notice on line 140 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L140

[Google.Acronyms] Spell out 'COM', if it's unfamiliar to the audience.
Raw output
{"message": "[Google.Acronyms] Spell out 'COM', if it's unfamiliar to the audience.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 140, "column": 261}}}, "severity": "INFO"}

Specify the following string for MongoDB connection URI:

```
PBM_MONGODB_URI="mongodb://<username>%40<KERBEROS_REALM>@<hostname>:27018/?authMechanism=GSSAPI&authSource=%24external&replSetName=xxxx"
```

Note that you must first obtain the ticket for the `pbm` user with the `kinit` command before you start the **pbm-agent**:

```{.bash data-prompt="$"}
$ sudo -u {USER} kinit pbm
```

Note that the `{USER}` is the user that you will run the `pbm-agent` process.

Check warning on line 154 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L154

[Google.Will] Avoid using 'will'.
Raw output
{"message": "[Google.Will] Avoid using 'will'.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 154, "column": 45}}}, "severity": "WARNING"}

For [authentication and authorization via Native LDAP](https://docs.percona.com/percona-server-for-mongodb/6.0/authorization.html#authentication-and-authorization-with-direct-binding-to-ldap), you only create roles for LDAP groups in MongoDB as the users are stored and managed on the LDAP server. However, you still define the `$external` database as your authentication source:

Check notice on line 156 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L156

[Google.Acronyms] Spell out 'LDAP', if it's unfamiliar to the audience.
Raw output
{"message": "[Google.Acronyms] Spell out 'LDAP', if it's unfamiliar to the audience.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 156, "column": 50}}}, "severity": "INFO"}

Check notice on line 156 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L156

[Google.Acronyms] Spell out 'LDAP', if it's unfamiliar to the audience.
Raw output
{"message": "[Google.Acronyms] Spell out 'LDAP', if it's unfamiliar to the audience.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 156, "column": 220}}}, "severity": "INFO"}

Check notice on line 156 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L156

[Google.Passive] In general, use active voice instead of passive voice ('are stored').
Raw output
{"message": "[Google.Passive] In general, use active voice instead of passive voice ('are stored').", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 156, "column": 256}}}, "severity": "INFO"}

Check notice on line 156 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L156

[Google.Acronyms] Spell out 'LDAP', if it's unfamiliar to the audience.
Raw output
{"message": "[Google.Acronyms] Spell out 'LDAP', if it's unfamiliar to the audience.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 156, "column": 286}}}, "severity": "INFO"}

```
PBM_MONGODB_URI="mongodb://<user>:<password>@<hostname>:27017/?authMechanism=PLAIN&authSource=%24external&replSetName=xxxx"
```

When using [AWS IAM authentication](), create the `pbm` user in the `$external` database with the username that contains the ARN of the IAM user/role.

Check notice on line 162 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L162

[Google.Acronyms] Spell out 'AWS', if it's unfamiliar to the audience.
Raw output
{"message": "[Google.Acronyms] Spell out 'AWS', if it's unfamiliar to the audience.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 162, "column": 13}}}, "severity": "INFO"}

Check notice on line 162 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L162

[Google.Acronyms] Spell out 'IAM', if it's unfamiliar to the audience.
Raw output
{"message": "[Google.Acronyms] Spell out 'IAM', if it's unfamiliar to the audience.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 162, "column": 17}}}, "severity": "INFO"}

Check notice on line 162 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L162

[Google.Acronyms] Spell out 'ARN', if it's unfamiliar to the audience.
Raw output
{"message": "[Google.Acronyms] Spell out 'ARN', if it's unfamiliar to the audience.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 162, "column": 126}}}, "severity": "INFO"}

Check notice on line 162 in docs/install/configure-authentication.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/install/configure-authentication.md#L162

[Google.Acronyms] Spell out 'IAM', if it's unfamiliar to the audience.
Raw output
{"message": "[Google.Acronyms] Spell out 'IAM', if it's unfamiliar to the audience.", "location": {"path": "docs/install/configure-authentication.md", "range": {"start": {"line": 162, "column": 137}}}, "severity": "INFO"}


=== "User authentication"

```
arn:aws:iam::<ARN>:user/<user_name>
```

=== "Role authentication"

```
arn:aws:iam::<ARN>:role/<role_name>
```

The MongoDB connection URI string then looks like the following:

```
PBM_MONGODB_URI="mongodb://<aws_access_key_id>:<aws_secret_access_key>@<hostname>:27017/?authMechanism=MONGODB-AWS&authSource=%24external&replSetName=xxxx"
```

## Next steps

[Configure backup storage :material-arrow-right:](backup-storage.md){.md-button}
2 changes: 1 addition & 1 deletion docs/install/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ In the same way you can run other pbm commands. Find the full list of available

## Next steps

[List backups](../usage/list-backup.md)
[List backups :material-arrow-right:](../usage/list-backup.md){.md-button}
Loading

0 comments on commit ca43cbd

Please sign in to comment.