Skip to content

Commit afc1d41

Browse files
Merge pull request #4986 from nachoalonsoportillo/patch-1
Change ALTER DATABASE syntax for encryption key
2 parents 85fb9f9 + 06852c6 commit afc1d41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

articles/postgresql/extensions/how-to-configure-azure-storage-extension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ To initialize the encryption key with which all sensitive credentials used to au
210210
> Make sure you change `<strong passphrase>` with your own strong secret.
211211
212212
```sql
213-
ALTER DATABASE <database_with_created_extension> azure_storage.credential_encryption_key = '<strong_passphrase>';
213+
ALTER DATABASE <database_with_created_extension> SET azure_storage.credential_encryption_key = '<strong_passphrase>';
214214
```
215215

216216
Note that if you create the extension in multiple databases, you must initialize the value of `azure_storage.credential_encryption_key` at the database level, so all sensitive credentials kept in that database are encrypted using the same key.

0 commit comments

Comments
 (0)