-
Notifications
You must be signed in to change notification settings - Fork 89
docs: Update configuration docs to redirect to module configuration #387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -86,20 +86,10 @@ The following table shows the built-in secrets that Serverpod uses for its core | |
|
|
||
| #### Secrets for First Party Packages | ||
|
|
||
| The following secrets are used by official Serverpod packages: | ||
| For secrets related to first-party Serverpod packages, see their respective documentation: | ||
|
|
||
| - [serverpod_cloud_storage_gcp](https://pub.dev/packages/serverpod_cloud_storage_gcp): Google Cloud Storage | ||
| - [serverpod_cloud_storage_s3](https://pub.dev/packages/serverpod_cloud_storage_s3): Amazon S3 | ||
| - [serverpod_auth_server](https://pub.dev/packages/serverpod_auth_server): Serverpod Auth Server | ||
|
|
||
| | Environment variable | Passwords file | Default | Description | | ||
| | ----------------------------------------------------------- | ---------------------------------------- | ------- | ----------------------------------------------------------------------------- | | ||
| | SERVERPOD_PASSWORD_HMACAccessKeyId | HMACAccessKeyId | - | The access key ID for HMAC authentication for serverpod_cloud_storage_gcp | | ||
| | SERVERPOD_PASSWORD_HMACSecretKey | HMACSecretKey | - | The secret key for HMAC authentication for serverpod_cloud_storage_gcp | | ||
| | SERVERPOD_PASSWORD_AWSAccessKeyId | AWSAccessKeyId | - | The access key ID for AWS authentication for serverpod_cloud_storage_s3 | | ||
| | SERVERPOD_PASSWORD_AWSSecretKey | AWSSecretKey | - | The secret key for AWS authentication for serverpod_cloud_storage_s3 | | ||
| | SERVERPOD_PASSWORD_serverpod_auth_googleClientSecret | serverpod_auth_googleClientSecret | - | The client secret for Google authentication for serverpod_auth_server | | ||
| | SERVERPOD_PASSWORD_serverpod_auth_firebaseServiceAccountKey | serverpod_auth_firebaseServiceAccountKey | - | The service account key for Firebase authentication for serverpod_auth_server | | ||
| - **Cloud storage (GCP/S3)**: [Uploading files](file-uploads) | ||
| - **Authentication**: [Authentication Setup](authentication/setup#storing-secrets) | ||
|
|
||
| #### Custom Secrets | ||
|
|
||
|
|
@@ -329,13 +319,13 @@ Declare module dependencies and optionally assign nicknames for easier reference | |
|
|
||
| ```yaml | ||
| modules: | ||
| serverpod_auth: | ||
| serverpod_auth_idp: | ||
| nickname: auth | ||
| my_custom_module: | ||
| nickname: custom | ||
| ``` | ||
|
|
||
| This allows you to reference module classes as `module:auth:UserInfo` in your model files. See the [modules documentation](modules) for more information. | ||
| This allows you to reference module classes as `module:auth:AuthUser` in your model files. See the [modules documentation](modules) for more information. | ||
|
Comment on lines
+322
to
+328
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Question: Will this work? Since If this is true, we should also update the reference in the authentication docs to use
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Above a nickname is given so it's pointing to
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should change the module referenced here to |
||
|
|
||
| ### Custom serializable classes | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: two small adjustments to the bullet. The file-uploads page also documents Cloudflare R2, so naming it makes the pointer accurate. Matching the link text to the actual heading on the auth page ("Storing Secrets") reads more cleanly than "Authentication Setup".