Skip to content

Commit

Permalink
Merge branch 'docs-release-updates-2024-02-07' of https://github.com/…
Browse files Browse the repository at this point in the history
…neondatabase/website into docs-release-updates-2024-02-07
  • Loading branch information
danieltprice committed Feb 7, 2025
2 parents 1207ebf + 62ab445 commit a8b2eb7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion content/docs/manage/database-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ To create a read-write role:
CREATE ROLE readwrite PASSWORD '<password>';
```

The password should have at least 12 characters with a mix of lowercase, uppercase, number, and symbol characters. For detailed password guidelines, see [Manage roles with SQL](/docs/manage/roles#manage-roles-with-sql).
The password should have at least 12 characters with a mix of lowercase, uppercase, number, and symbol characters. For detailed password guidelines, see [Manage roles with SQL](/docs/manage/roles#manage-roles-with-sql).

3. Grant the `readwrite` role read-write privileges on the schema. Replace `<database>` and `<schema>` with actual database and schema names, respectively.

Expand Down
14 changes: 7 additions & 7 deletions content/docs/manage/roles.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,16 +395,16 @@ For role creation and access management examples, refer to the [Manage database

Neon supports creating Postgres roles with the `NOLOGIN` attribute. This allows you to define roles that cannot authenticate but can be granted privileges.

```sql
CREATE ROLE my_role NOLOGIN;
```
```sql
CREATE ROLE my_role NOLOGIN;
```

Roles with `NOLOGIN` are commonly used for permission management.
Roles with `NOLOGIN` are commonly used for permission management.

The Neon API and CLI also support creating `NOLOGIN` roles:
The Neon API and CLI also support creating `NOLOGIN` roles:

- The Neon API [Create role](https://api-docs.neon.tech/reference/createprojectbranchrole) endpoint supports a `no_login` attribute.
- The Neon CLI [`neon roles create`](/docs/reference/cli-roles#create) command supports a `--no-login` option.
- The Neon API [Create role](https://api-docs.neon.tech/reference/createprojectbranchrole) endpoint supports a `no_login` attribute.
- The Neon CLI [`neon roles create`](/docs/reference/cli-roles#create) command supports a `--no-login` option.

## Protected role names

Expand Down

0 comments on commit a8b2eb7

Please sign in to comment.