chore: sync code snippets#4820
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| With Custom Roles, you can define granular permissions in Temporal Cloud, giving your team precise control over who can | ||
| perform specific actions within your account. | ||
|
|
||
| ## What are Custom Roles? |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Temporal.Headings] 'What are Custom Roles?' should use sentence-style capitalization.
| ## What are Custom Roles? | ||
|
|
||
| Custom Roles are user-defined collections of permissions that grant access to specific Temporal Cloud resources | ||
| ([Account](/cloud/manage-access#temporal-cloud-accounts), [Namespace](/namespaces), [Nexus Endpoint](/nexus/endpoints), |
There was a problem hiding this comment.
[Temporal.terms] Use 'Temporal Nexus' instead of 'Nexus' when referring to a Temporal term.
| or [Connectivity Rule](/cloud/connectivity#connectivity-rules)). They allow you to define custom permission sets that | ||
| are more granular than the predefined roles, and assign them to any principal (user, group, service account). | ||
|
|
||
| ## Why use Custom Roles? |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Temporal.Headings] 'Why use Custom Roles?' should use sentence-style capitalization.
| - **Service account security**: Create narrowly scoped permissions for automation and integrations, reducing risk if | ||
| credentials are compromised. | ||
|
|
||
| ## Defining Custom Roles |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Temporal.Headings] 'Defining Custom Roles' should use sentence-style capitalization.
| - `cloud.namespace.list`, scoped to the Cloud Account | ||
| - `cloud.namespace.get`, scoped to all Namespace resources | ||
|
|
||
| ## Delegating Custom Roles |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Temporal.Headings] 'Delegating Custom Roles' should use sentence-style capitalization.
| </TabItem> | ||
| <TabItem value="terraform" label="Terraform"> | ||
|
|
||
| To update a Custom Role, modify the `temporalcloud_custom_role` resource in your Terraform configuration and run |
There was a problem hiding this comment.
[Temporal.terms] Use 'Update' instead of 'update' when referring to a Temporal term.
|
|
||
| To update a Custom Role, modify the `temporalcloud_custom_role` resource in your Terraform configuration and run | ||
| `terraform apply`. Updating a Custom Role replaces the full permissions list. Include all permissions you want to | ||
| retain. Any permission omitted from the update will be removed. |
There was a problem hiding this comment.
[Temporal.terms] Use 'Update' instead of 'update' when referring to a Temporal term.
| </TabItem> | ||
| <TabItem value="cloud-cli" label="Cloud CLI"> | ||
|
|
||
| To update a role spec by ID, use `update`: |
There was a problem hiding this comment.
[Temporal.terms] Use 'Update' instead of 'update' when referring to a Temporal term.
| </TabItem> | ||
| </Tabs> | ||
|
|
||
| ## Delete a Custom Role |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Temporal.Headings] 'Delete a Custom Role' should use sentence-style capitalization.
| </TabItem> | ||
| </Tabs> | ||
|
|
||
| ## Custom Roles limits |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Temporal.Headings] 'Custom Roles limits' should use sentence-style capitalization.
📖 Docs PR preview links
|
Automated daily sync of code snippets from source repositories via snipsync.
This PR was generated by the Snipsync workflow.
┆Attachments: EDU-6650 chore: sync code snippets